Posts: 15
Threads: 2
Joined: Jul 2024
Reputation:
0
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?
Posts: 6,407
Threads: 830
Joined: Oct 2020
Reputation:
159
you already have created binary sensor in ESPHome, why can't use in home assistant? just add the entity to home assistant dashboard.
Posts: 15
Threads: 2
Joined: Jul 2024
Reputation:
0
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