$5 DIY Wireless MQTT Smart Home Window Sensors

preview_player
Показать описание

**As an Amazon Associate I earn a % of qualifying purchases at no cost to you.**

STL Files:

Support my channel:

Рекомендации по теме
Комментарии
Автор

I’m got a Wyze bridge hooked up to my pi, then I use the custom integration to bring the Wyze sense into HA. With this I can get their motion sensors for $6 each, and their door and window sensors for $5. And their batteries last a year. Mine have been working great so far and update instantly in HA

DriftwoodME
Автор

I just discovered your channel when researching the SONOFF basic, and I love it. Your videos actually make these projects feel achievable for mere mortals like myself. Thanks!

harrison
Автор

It’s a great solution for something that should never be moved or opened. A great way to also make a lock with included alarm if you don’t correctly disable it by moving the magnet with the sensor. Very neat project to build on due to the power disabled normal state. Or have an always ready to go ‘wipe it all’ kill switch handy to purge drives.

romwil
Автор

You should use a static ip address for your esp - it should lower the time to connect to 2s or less

kabturek
Автор

@the hook up I sure wish you'd do a remake on this with a USB C or USB Micro jack for powering. I found this video looking for MQTT sensors to put in refrig & freezer doors. Since I'm doing a powered device with an outlet behind it, I don't really want to replace batteries ever :) Thanks for the video!

russzaccari
Автор

As an electrician, i always suggest clients put in more wiring during building stage !!

ddee
Автор

I've been watching your videos on node red, thanks by the way, and whilst I agree this is an interesting project, I would suggest you look at the CC2351 devices and Zigbee2mqtt software, so far I have bought aqara sensors Windows latch, temp/humidity and a double pole switch. All work brilliantly with MQTT, Home assistant and node red. And NO aqara xiaomi hub required, I also control my idea tradfris with this too no messing with upgrading them or linking to hue.

simon
Автор

Nice video! Another solution are those RF Reed switches on AliExpress and use a sonoff RF bridge to listen for the rf signals and forward them via mqtt to nodered or HA. I used this setup batteries last year's on doors i open and close every day. And the cost is similar. The sonoff bridge was 8 euros i think. I use espurna firmware on the rf bridge. Hope it helps

myounges
Автор

oh, great, an other brand new channel with very interesting tutorials! Thanks :D

squalazzo
Автор

I think this project is brilliant: outside-of-the-box thinking! Very clever.

ericolson
Автор

Thanks for the prompt response.
What I meant was that is it possible to get the sensor status notification when there is no internet access or connectivity.
Waiting for your reply.

yawarsaeed
Автор

You could use the normally closed leed part of the reed switch to determine if the esp should shutdown or not

TecSanento
Автор

Excellent solution Rob I've replicated this in my lab and it works great. Is there a way to adjust the code to stop the chip returning to the default state of closed? I want to use this on some windows which stay open for an hour or two and with the state returning back to close within 50seconds I don't know if my window is still open at the end of the day. I know this will drain the battery faster but I'm okay with that.

nicholasrefalo
Автор

I love these and have them in all my window’s but I’m not sure how to get it in home assistant. I did get it to notify me when a window is open with node red. But I know there’s a way of seeing them in Lovelace. Could you help me. Thanks

deez-nutskroll
Автор

1- use a cheap boost converter (under 1$) to boost the voltage and get much more out of the battery
2- use ESP-Now instead of wifi and make a simple custom esp-now to mqtt bridge for all your modules, you can reduce transmission time from 4s to around 0.1s, also the system would be much more secure
now your batteries would last forever

bm
Автор

You could use the mac Adress for the unique Adress

TecSanento
Автор

Wouldn't the three second delay mean that the alarm would not sound if the window is closed again quickly, cutting off power to the ESP-01? While that time is probably not realistic for someone to pass through the window before slamming it again, it could be feasible to throw some object inside the house, like some nasty gas, surveillance device, or whatever undesirable thing. I'm thinking that transmitting a 433Mhz signal (like from a wireless doorbell) could have a shorter reaction time than connecting to Wifi. It shouldn't add a lot of volume or cost to the window sensor.

Another thing is that a somewhat smart miscreant could bring along a magnet to interfere with the sensor. This could be made harder by adding a second normally-open reed switch just outside the range of the installed magnets.

JohnnieHougaardNielsen
Автор

what if i don't want to do a diy window sensor? can you please make a video about different security system window sensors that won't easily be tripped by somebody who is just a regular guy (for example, somebody can just peel off the simplisafe door and window sensor and come back later and reglue it back on like it didn't happen)...pls feature both wired and wireless versions...also would you have a video on a good setup for whole house security system setup for a new build - really need that right now...thanks and love your channel; just wish i am more of a techy diy type

bamc
Автор

Hmm, the battery limitations is a bummer, any cheap/sane way of hardwiring it to a powersupply of some kind? I'm about to remodel the house sso putting stuff into the walls does not bother the the least, perhaps something over PoE would work in this case? I have a few of those switches.

whatevah
Автор

I know this is a pretty old video but I'm having trouble getting the ESP device programmed. I've failed several times. I'm guessing I may have the wrong board selected. Can you help?

glencindy
visit shbcf.ru