Smart Home Automation Forum
Analoge input for door sensors? - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1)
+--- Forum: KC868-A series and Uair Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=6)
+--- Thread: Analoge input for door sensors? (/showthread.php?tid=9295)



Analoge input for door sensors? - Elgatoguiri - 04-28-2026

Hi,
I've just noticed that the board has 4 analog input. Can I use those for switches? I have 3 magnetic reed switches (door sensors) that I'd like to connect there.



I use this board with HomeAssistant with esphome. If it's possible to connect the switches to the analog input what is the esphome code for them?

Thanks!


RE: Analoge input for door sensors? - admin - 04-28-2026

suggest you connect with digital input port.
if you MUST want use by analog input , it's ok, just need connect with a extend 5v power supply, because of analog input use by dc 0-5v. Also the cable can't too long. you can config by esphome to read the ADC data. here is video tour: https://www.kincony.com/forum/showthread.php?tid=3499