![]() |
How to wire up float switch and use in 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-A8S (https://www.kincony.com/forum/forumdisplay.php?fid=24) +--- Thread: How to wire up float switch and use in ESPHome? (/showthread.php?tid=3189) |
How to wire up float switch and use in ESPHome? - Vendril - 08-23-2023 Hi, Using ESPHOME in Home Assistant. I have 2 of these float sensor switches. How should I be wiring them up to the board and coding in ESPHome to get an "open/closed"? I thought that they would be an analog device but am not getting any readings. Or am I using the wrong input? Code: ##################### Analog Inputs Thanks RE: How to wire up float switch and use in ESPHome? - admin - 08-23-2023 float switch is "binary sensor", so you connect to board's "digital input" port is ok. RE: How to wire up float switch and use in ESPHome? - Vendril - 08-24-2023 Thanks, Got it hooked up and working now. Code: ####### START digital inputs / physical buttons on board RE: How to wire up float switch and use in ESPHome? - admin - 08-24-2023 ok |