Hi. Didn’t know where to put it, so it goes here. I find the category structure unclear.
Anyway, I want to make my HA to see if I locked the door, the analog way - I want to put a micro-switch into the door frame, so when the door is locked, the lock’s bolt will push ion on the micro-switch closing the circuit. I need two of them (top and bottom lock)
My main problem is, I can’t find any compact input modules for micro-switches. I’ve found some relay modules, but they work the wrong way - I don’t want to control the lock I need to know if the bolt is in the frame or not. I was searching for a ZigBee module but I didn’t find any.
Then I remembered that my HA Yellow has some GPIO pins marked J11 on the board and I’m wondering - can I use them for this? Is there a way to make HA check their status for shorted/open state? If so, how do I do that?