I’m using one with an FSR for bed presence detection.
Using a door sensor to detect door bell / chime with mechanical ding-dong strikes:
I reckon whatever brand. I’ve adjusted to title to reflect.
I “kind of” get your examples, but I suspect if you elaborate a little more, others may replicate your success;)
Thanks.
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.
Caution the smoke alarm beeps in this video
@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?
I have a Sonoff SNZB-04 sensor with the magnet mounted on the flap of my dumb Daikin air conditioner to give me a indication that it is on.
Nice. I do the same actually. Forgot about it;)
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.
Another chair occupancy approach.
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 guys,
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
Does anyone know what specs I need to confirm when buying a new reed switch? Looks like there are different diameters
https://www.aliexpress.com/af/reed-switch.html?spm=a2g0o.detail.1000002.0&initiative_id=SB_20230104044913&origin=n&dida=y
I would go for the Aqara door sensor, that’s what I’ve used for my projects, and they work perfectly.
My Rain Gauge is running two years already, on the same battery!
Do you want to replace just the actual glass reed switch?
I would measure the length and diameter of an unbroken one with a caliper if possible?
I suspect you may still be able to solder, fit and position an oversized one in the casing if required?
I’m guessing N/O normally open is what you want?
Yeah great point, I measured with calipers and it’s 2mm x 14mm
I would assume it’s N/O yes
I’m going to try make a pulse counter energy meter with it. Going to solder a photoresistor into it. See how far I can go with it.
Waiting dor door sensor.
Post results later
Thanks for the inspiration I found in this thread.
I’ve built my own project using the ideas expressed hereinY
I’ll be interested to see how this goes as looking to do the same too. I’m not that familiar with the electronics side of things but are you hoping to literally just attach each end of a photoresistor to the reed switch contacts? If so I can say right now that doesn’t work as I have both sat on my desk and just tried it, I’m guessing as it’s not a mechanical switch like a reed so perhaps need some form of current to power itself?
I don’t have any battery contacts but perhaps if you could link up a couple of batteries for the photoresistor power and then connect that to the door sensor for the low power communications aspect before bundling it up into an enclosure…
A photoresistor will probably work with the Aqara sensor so long as the resistance dips below 2K ohms (seems to me like that’s the spot). Trick is simply to find what threshold resistance the sensor accepts. If the photoresistor is (when not lit) infinite resistance (or some very high value) then it might work.
Not sure about battery consumption if the photoresistor has a non-infinite resistance when not lit.