There’s so many cool little door sensor hacks floating around that I thought it might be useful to have a meta thread? Like this one.. I really like the Aqara ones, which are small, cheap, and reliable in my experience.
I’ll add the one’s I know about, and add one I’m just playing with.
Does it have to be Aqara based? I have an old Qurky tripper that I use as a loss of power to the house sensor and a Zwave sensor attached to my kiddie interconnected smoke alarms.
Both of these could easy be used with an Aqara sensors though.
Power loss sensor setup
Door/window sensor of your choice
5v usb power supply
USB cable you can cut or is damaged
5vdc single pole relay (https://a.co/0C8jUhC)
Maker box or something to hold the relay
Soldered wires to each side of the reed switch of the sensor and attached those to the Normally Closed side of the relay.
Connect postive RED from USB power to DC+ and jumper that over to the IN
Connect negative BLACK to the DC-
@Cbarth3 thanks for sharing this sweet setup. I was thinking about just this same sort of thing in order to get an instant power off trigger in HA, especially for the blips of outage that happen in storms at night.
Kidde smoke alarm interconnect sensor
I made this when I first had Wink, moved it over to SmartThings, and now have it in Home Assistant.
Kidde SM120X Interconnect Accessories Smoke Relay Module https://a.co/hov76Yx
I would imagine there is a first alert version also.
Door/window sensor of your choice
Mine is a Go-control and I have had this setup since I started with Wink in 2016. At the time they didn’t see the external contacts so I removed the reed switch and Soldered wires to the pads.
Drywall box to put the relay in
Blank wall plate to install sensor on
Some wires to connect relay to smoke alarm wires
I added an up close of the relay module as it has the wiring printed on it.
@Cbarth3 just ordered my parts for this project on AliExpress for cheap and will be tackling this when the items arrive. Is there any reason that you didn’t put the door/window sensor inside the project box?
And as occasionally the ir signal from my broadlink ir/rf hub is not received first attempt by the air con, I retry if the door sensor state hasn’t changed to the correct position.
My parts arrived and I finally tackled the build tonight. Got everything added into Z2M/HA and my automation built. This is perfect and will see how my automation works out during the next power outage.
I did end up moving things around slightly in the project box from that picture as the relay and sensor were too thick to be on top of each other. My project box didn’t come with screws so I’ve currently got it kept closed with rubber bands.
I setup a Template Sensor based on the door/window sensor state as a clear way of seeing the “Power Service Status” as either “In Service” or “Outage”.
Hi everyone, since all you guys seem to be gurus at this, though I’d ask here.
I’ve accidentally damaged the reed switch on one of my old Xiaomi contact sensors MCCGQ01LM