![]() |
|
KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - 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-HA /HA v2 (https://www.kincony.com/forum/forumdisplay.php?fid=55) +--- Thread: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome (/showthread.php?tid=3457) |
RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - admin - 11-29-2023 You have multi MASTER and SLAVE on one RS485-Bus. as modbus standard structure, one device can't both work as SLAVE and MASTER. Sorry, we can't do that auto feedback, it's not suitable for standard modbus structure. RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - NicTheModder - 11-29-2023 (11-29-2023, 12:07 PM)admin Wrote: You have multi MASTER and SLAVE on one RS485-Bus. as modbus standard structure, one device can't both work as SLAVE and MASTER. Sorry, we can't do that auto feedback, it's not suitable for standard modbus structure. We can try ! When two kcs868-Axx boards, connected on the same bus, send commands and feedback to each other with 'modbus-controller', they both work as SLAVE and MASTER . Just have to incorporate delays in the reply. RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - tadam - 03-06-2025 Hey there, Is it possible to detect both rising and falling edge event in Home assistant from KC868? Thanks! RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - admin - 03-06-2025 sure, we already have video tour on our youtube channel. RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - tadam - 03-06-2025 (03-06-2025, 09:02 AM)admin Wrote: sure, we already have video tour on our youtube channel. Can you be more specific? Because in the esphome config only binded to an output, but not the rising or falling edge of that output. Example: Code: - platform: kc868_haWhat I want to implement is the following: Code: - platform: kc868_haIt would be useful to differentiate long and sort button presses on the homeassistant level. RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - admin - 03-06-2025 the input only work as BINARY SENSOR in home assistant. here is video tour: https://youtu.be/s5Htc43HqAc https://youtu.be/S679QX6Hc6I RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - tadam - 03-06-2025 (03-06-2025, 09:21 AM)admin Wrote: the input only work as BINARY SENSOR in home assistant. here is video tour: I understood, I already watch those, thank you. So there is no way to detect falling and rising edges of a same the input in esphome? RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - admin - 03-06-2025 yes, ONLY state for binary. not for falling or rising. RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - tadam - 03-06-2025 (03-06-2025, 12:19 PM)admin Wrote: yes, ONLY state for binary. not for falling or rising. And if I use the modbus firmware? Can I differentiate these events then? RE: KC868-HA RS485 INPUT & OUTPUT plugin for ESPHome - admin - 03-06-2025 no. |