Smart Home Automation Forum

Full Version: 433hz how create sensori?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
you already have created binary sensor in ESPHome, why can't use in home assistant? just add the entity to home assistant dashboard.
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
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