![]() |
RS485 ON A16 - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-A16 (https://www.kincony.com/forum/forumdisplay.php?fid=25) +--- Thread: RS485 ON A16 (/showthread.php?tid=7276) |
RS485 ON A16 - tom_elec - 12-28-2024 Hello everyone, I recently bought a Kincony A16 card with the aim of making it work in RS485 with this Waveshare gateway : https://www.amazon.fr/dp/B09LQMH2S1?ref=ppx_yo2ov_dt_b_fed_asin_title&th=1 I control this gateway from a Loxone Miniserver, however I can't really understand the Kincony Modbus register table : https://kincony.com/forum/attachment.php?aid=2240 The loxone page for modbus communication : https://www.loxone.com/frfr/kb/communication-modbus/ RS485 transmission is enabled in the A16 and gateway parameters. I need the I/O address and the register type. Could someone tell me the requests to send to enable / disable an output and get state of digital / analog input on A16 please ? Thanks in advance for your help, Tom RE: RS485 ON A16 - admin - 12-29-2024 here is KCS firmware modbus protocol document: https://www.kincony.com/forum/showthread.php?tid=2528 the register address begin with 0, you can check with protocol. if you integrate to Loxone Miniserver, suggest use our new controller F16 or B16M, it's very easy for integration by UDP command, they support KCS v3. here is Loxone integration online guide: https://www.kincony.com/forum/showthread.php?tid=7264 RE: RS485 ON A16 - HA_user - 02-12-2025 Hello, I have been trying to start modbus communication between kincony A16 and EastronSDM630 (https://www.eastroneurope.com/products/view/sdm630modbus) via rs485 using espHome for some time, according to the documentation the registers are identical to kincony. Log file shows: [17:53:08][D][modbus_controller:040]: Modbus command to device=1 register=0x64 no response received - removed from send queue I would like to ask if I have something wrong in the .yaml file: esphome: name: md01-kc868-a16-gar friendly_name: md01-kc868-a16-GAR esp32: board: esp32dev framework: type: arduino # Enable logging logger: # Enable Home Assistant API api: encryption: key: "************************************" ################################### ota: - platform: esphome password: "*********************************" wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Optional manual IP manual_ip: static_ip: 192.168.88.21 gateway: 192.168.88.1 subnet: 255.255.255.0 #################################### uart: id: mod_bus tx_pin: 13 rx_pin: 16 baud_rate: 9600 stop_bits: 1 parity: EVEN modbus: id: modbus1 uart_id: mod_bus modbus_controller: - id: a24 address: 0x01 modbus_id: modbus1 setup_priority: -10 update_interval: 5s #################################### sensor: - platform: modbus_controller modbus_controller_id: a24 name: "Voltage" id: modbus_voltage register_type: holding address: 0x64 unit_of_measurement: "V" value_type: FP32 accuracy_decimals: 2 RE: RS485 ON A16 - HA_user - 02-12-2025 Hello, I have been trying to start modbus communication between KinCony A16 and Eastron SDM630 (https://www.eastroneurope.com/products/view/sdm630modbus) via rs485 using espHome for some time, according to the documentation the registers are identical to KinCony Energy Meter RS485 Modbus RTU Monitor Log shows me: [17:53:08][D][modbus_controller:040]: Modbus command to device=1 register=0x64 no response received - removed from send queue I would like to ask if I have something wrong in the .yaml file: esphome: name: md01-kc868-a16-gar friendly_name: md01-kc868-a16-GAR esp32: board: esp32dev framework: type: arduino # Enable logging logger: # Enable Home Assistant API api: encryption: key: "************************************" ################################### ota: - platform: esphome password: "*********************************" wifi: ssid: !secret wifi_ssid password: !secret wifi_password # Optional manual IP manual_ip: static_ip: 192.168.88.21 gateway: 192.168.88.1 subnet: 255.255.255.0 #################################### uart: id: mod_bus tx_pin: 13 rx_pin: 16 baud_rate: 9600 stop_bits: 1 parity: EVEN modbus: id: modbus1 uart_id: mod_bus modbus_controller: - id: a24 address: 0x01 modbus_id: modbus1 setup_priority: -10 update_interval: 5s #################################### sensor: - platform: modbus_controller modbus_controller_id: a24 name: "Voltage" id: modbus_voltage register_type: holding address: 0x64 unit_of_measurement: "V" value_type: FP32 accuracy_decimals: 2 RE: RS485 ON A16 - admin - 02-12-2025 don't post one questions multi times, your question already repied in another thread. |