Smart Home Automation Forum
A16 rs485 problem - 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: A16 rs485 problem (/showthread.php?tid=5933)



A16 rs485 problem - Psix_anp - 06-19-2024

Hi!
Help me pls for a16
not working relay after 8relay on rs485


- platform: modbus_controller
    name: 'modbus-switch2_1'
    address: 0  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_2'
    address: 1  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1
   
  - platform: modbus_controller
    name: 'modbus-switch2_3'
    address: 2  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_4'
    address: 3  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_5'
    address: 4  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1       

  - platform: modbus_controller
    name: 'modbus-switch2_6'
    address: 5  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_7'
    address: 6  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1
   
  - platform: modbus_controller
    name: 'modbus-switch2_8'
    address: 7  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_9'
    address: 8  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_10'
    address: 9  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1   

  - platform: modbus_controller
    name: 'modbus-switch2_11'
    address: 10  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1       

  - platform: modbus_controller
    name: 'modbus-switch2_12'
    address: 11  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_13'
    address: 12  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1
   
  - platform: modbus_controller
    name: 'modbus-switch2_14'
    address: 13  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_15'
    address: 14  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

  - platform: modbus_controller
    name: 'modbus-switch2_16'
    address: 15  # 0:relay1  1:relay2 ......
    register_type: coil
    bitmask: 1

address 10,11 etc not working
I can switch only 8 relays? my hardware A16


RE: A16 rs485 problem - admin - 06-19-2024

do you use KCS firmware? if YES, which version you are using?


RE: A16 rs485 problem - Psix_anp - 06-20-2024

Yes, v 1.0.24. First A16 working on esphome, second on kcs


RE: A16 rs485 problem - admin - 06-20-2024

please use this newest V2 version, here is download link: https://www.kincony.com/forum/showthread.php?tid=3791


RE: A16 rs485 problem - Psix_anp - 06-20-2024

(06-20-2024, 09:50 AM)admin Wrote: please use this newest V2 version, here is download link: https://www.kincony.com/forum/showthread.php?tid=3791

binding input to output not working


RE: A16 rs485 problem - admin - 06-20-2024

V2 firmware use IFTTT command for INPUT link with OUTPUT. my means, you can test V2 firmware, whether you can use modbus command for 9-16 channel output.


RE: A16 rs485 problem - Psix_anp - 06-20-2024

(06-20-2024, 10:31 AM)admin Wrote: V2 firmware use IFTTT command for INPUT link with OUTPUT. my means, you can test V2 firmware, whether you can use modbus command for 9-16 channel output.

OK


RE: A16 rs485 problem - admin - 06-21-2024

i have checked with OUTPUT9 with modbus command, it's OK.
   
can you take a photo how you connect wire with your A16 board? whether you have connect the RED wire as mine?
   


RE: A16 rs485 problem - Psix_anp - 06-22-2024

Ok, i'm tomorrow send video


RE: A16 rs485 problem - Psix_anp - 06-23-2024

Hi, v2 firmware also not working. What address 9-16 relay?
- platform: modbus_controller
name: 'modbus-switch2_13'
address: 12 # 0:relay1 1:relay2 ......
register_type: coil
bitmask: 1

Relay 13 - address 12? Or 0x0B?