12-23-2023, 11:29 AM
(12-23-2023, 01:54 AM)admin Wrote: use USB-RS485 adapter to monitor whether the ESP32 board have send out the message.
your PC open serial port debug tool , just monitor when home assitant turn ON/OFF switch, the ESP32 board whether truely send out the message.
I connected my USB RS485 adaptor and when monitoring could see communication when I pressed one of the buttons connected to the KC868-HAv2. But when I toggle on the switch in Home Assistant, I dont see any communication.
So, it would appear that the ESP board is receiving communications over RS485, but isnt sending them, despite the log in ESPhome saying it did.
ESPhome log after turning on the switch in HA - " [11:23:56][D][switch:012]: 'switch 6' Turning ON. [11:23:56][D][kc868_ha.component:131]: uart bus send 1:3:12:55:bb:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:20:f0:53 [11:23:56][D][switch:055]: 'switch 6': Sending state ON "
Does it work as expected for you if you set it up the same way? Are you able to turn on the switch LEDs using the KC8680-HAv2 from ESPHome?