I am trying to automate my ducted hvac. we currently have an interface on the wall which uses a small push button and an led to indicate weather the particular zone is on. I opened it and did some probing. Figured that all we need to do is, just short the switch button (5v) with ground for few milli seconds to toggle it. I have soldered all the additional wires and now I need to figure how to actually short them.
The 4 wires you see in the pic are 5v wires for 4 toggles (4 zones). I just need to short them with ground (for which I have soldered another wire as well) to toggle the damper on/off for few milli secs. Is it possible to do it using d1 mini (I have a few of them) using esphome? if not what is the best way to achieve this? thanks for checking.
Yeah I forgot that the open drain outputs of the ESP boards are not technically 5V tolerant and I don’t have time right now to explain how to construct open collector transistor drivers.
Ok, I managed to figure this. I have connected the 5v (4x from the duct control unit) to GPIO pins directly on my d1 mini. so far it is working fine. if it burns out, I will put a 3.3v logic shifter in front of each pins. But since the open_drain seems to be floating the pins while off, hope this works with out any surprises.
I am pasting the config below for posterity. I have ordered a few photoresisters (to know the state of the switch) now and will have to find a way to accomodate them as well. I probably may have to move all this setup to a nodemcu for the sake of additional pins.