Wifi Battery Door/Window sensors

Hi

Does anyone know what options are available for door/windows open/shut sensors that are wifi, battery and upgradeable with esphome.

Cheers

Battery powered sensors in general tends to not use WiFi simply because WiFi consumes too much power. With those particular requirements you may need to build them yourself.

I use THIS tuya compatible sensor for my doors.It’s not esphome, though, but it works fine with tuya integration and via wifi. Batteries are still first from March 2024 (2xAAA). Specs says over 1 year, and it seems that it’s true.

Only thing you must take into account is lag - since sensor sleeps when idle toggling it requires some time to wake up, connect and report state into HA - typically a couple of seconds.

I guess self-build is possible, since esphome allows sleep and wake-up, but for 5€ i just didn’t bother, since i only need to monitor open/close. But if i’d need more then i’d build it myself, i guess.

There’s this from Shelly: Shelly BLU Door/Window White – Shelly Europe

It is supposed to not have much lag when waking.

Personally I’d stick with zigbee for battery powered devices. Though that will also require you to have a number of mains powered zigbee devices for a robust mesh network.

I’ve had this shelly before my current wifi model. It does have a bit less lag, but it’s still there, but what’s worse: it didn’t report change each time (and i did have shelly plus plug 1-2m from sensor as BT repeater). Also, if i’ve had beacon mode enabled it was battery hog.

That’s why i looked for alternative and found mentioned wifi model. I didn’t explore why - i guess it could be that i’ve got bad one, but i doubt, since it wasn’t from china (ali) but from official shelly store.

1 Like

As mentioned WiFi might not the greatest solution here (high power draw and reports are delayed). On the other hand you might use a solution that “bridge” with present espHome like RF (433?) or even bluetooth (if such sensor exists). :muscle:

We deployed our sensors 6 years ago and they still report 100% battery with the original ones. Some one calculated the power draw and without taking the battery self-discharge into account they should run about 30 years :grin:

I had the same experience but with an earlier model. I abandoned it for zigbee.

I don’t have any experience with the new model. There’s a long topic here with mostly mixed reviews (other than maxym who must have received a golden version which he is very positive about): Shelly Wifi Door and Window Sensors Review

1 Like

this is excellent advice.

thanks all.

Question - I live in a container home (ie… a steel box) wifi is good but I do have several APs.

I used zwave in my last house which I found excellent but expensive.

I have never used zigbee or 433mhz. Do these frequencies/protocols work better then wifi in my faraday cage :slightly_smiling_face:

Should be ok you just need enough repeater nodes (mains powered devices) to create a good mesh

In theory lower frequencies have better penetration. But it is also about the power budget and both 433/RF and ZigBee are much more power conservative than WiFi. Both zigbee and (legacy) WiFi have the same 2.4GHz frequency… but if I remember correct ZigBee only got 1/4 of the output power than WiFi :warning:

The biggest downside of ZigBee imho is that a new infrastructure needs to be build from ground with ac powered devices. You can expect to need 4 AC ZigBee repeaters to achieve/cover about the same distance/range of one WiFi AP - but in one direction only :grimacing:

On the other hand: If you already have esp32 espHome nodes they can just be extended by software to be a BLE proxy. Their is no need to build a new network/infrastructure from ground as each proxy directly bridges into WiFi. As for 433/RF (or your local frequency) you can ether extend present esphome devices with a ~$2 reciever or get yourself a RF capable espHome device like a RF bridge :signal_strength:

I’m using cheap Sonoff wifi windows/door sensors. I have 2, they are still running on the same couple AA batteries since May. Sure, the batteries will need replacement probably soonish and with Zigbee they might have lasted a year or two, but it’s also not as terrible as people paint it.

And for me both sensors work without any lag.

Can they run esphome? :thinking:

I have no idea about that part. I was just saying that in general WiFi sensors are not necessarily terrible with batteries.

I purchased some Shelly Motion 2 wifi motion sensors to trial.

They have a rechargable lithium in them.

They get used daily (people in the house) for motion/temp/humid etc

Battery life is excellent with 6mths + between charges (even nearing 12mths)

Latency is not what I would call bad but is noticable for automations. For example turn a light on when entering a dark room is fine for me but a guest will feel the need to reach for the light switch because its just that bit to slow.