Smart Home Automation Forum
433hz how create sensori? - 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: 433hz how create sensori? (/showthread.php?tid=6511)



433hz how create sensori? - ulfgar - 08-28-2024

I connected the 433hz receiver to the sc868-a16 board with esp home from home assistant in the esphome log I see the magnetic sensor code when I close or open it. How do I integrate it into home assistant? How do I create a sensor that indicates if the door is open or closed? Kindly does anyone have the sensor code and know where to insert it?


RE: 433hz how create sensori? - admin - 08-28-2024

you already have created binary sensor in ESPHome, why can't use in home assistant? just add the entity to home assistant dashboard.


RE: 433hz how create sensori? - ulfgar - 08-29-2024

in esphome I have add only
remote_receiver:
pin: GPIO02
dump: all

remote_transmitter:
pin: GPIO15
carrier_duty_percent: 100%

in the log I see the code when I open and close the window but I don't know how to create the sensor and where to insert the code


RE: 433hz how create sensori? - admin - 08-29-2024

here is sample yaml for KC868-A8S , that showed how to use RF remote control a relay. you can check at this link:
https://www.kincony.com/forum/showthread.php?tid=1946