Which is the best way to detect presence in a room?

I am trying to get some automation in my home.

My goal now is to find the best way of detecting when somebody is using a room and when there is nobody there.

Motion detection does not seem an option, as you can be reading in the room and thus motion detectors won’t detect your presence.
Systems based in BLE beacons from the mobile don’t seem a good option, as many times we left the mobile in a room and go to another one.

So, which is the best way to detect when sombody is using a room of the house?

I would like an economic system.

I will be happy with a sensor that can be connected to tasmota, too, as there will be a tasmota device in each room to measure temperature and other tasks.

2 Likes

This sparkfun sensor looks promising, but sadly i didn’t find any info regarding compatibility neither with esphome or tasmota.

I’ve gone for a couple of these:-

But its hit and miss if you can get one.

The Aqara FP1 also looks pretty decent, but there are many more, including the cheaper Tuya’s:-

https://www.aliexpress.us/item/3256804518651916.html?spm=a2g0o.productlist.main.1.7f5062a7A7bep0&algo_pvid=b151c7b1-0fa9-4efa-8df2-e6987d03d9f4&aem_p4p_detail=202301160535004488842928010320001329662&algo_exp_id=b151c7b1-0fa9-4efa-8df2-e6987d03d9f4-0&pdp_ext_f={"sku_id"%3A"12000030168767259"}&pdp_npi=2%40dis!GBP!42.03!25.22!!!!!%40212243c016738761006358512d06bf!12000030168767259!sea&curPageLogUid=ILJXUP7bx8KK&ad_pvid=202301160535004488842928010320001329662_1&ad_pvid=202301160535004488842928010320001329662_1

I use Aqara FP1s. They’re not cheap but they get the job done very well.

Aqara are bringing out an FP2 at some point. This will be available internationally rather than just through Ali Express.

There are also DIY projects using mmWavr sensors.

That could be a good DIY replacement for hiome (who have stopped production) if it can be made to work with ESPHome.

I use motion detectors and use a paradigm that works well with the issue of someone not moving (for my use case anyway):

  1. When motion is detected, (re)start a timer (typically 30 - 60 minutes).
  2. When the time is started or restarted, turn the lights on if not already on.
  3. When the timer completes, turn the lights off.

So if the timer is set to 60 minutes, someone can sit in the room for a full hour without moving before the lights go off - but as soon as they move, the 60 minute timer restarts. I put a slider on my dashboards to be able to adjust the timer duration, and a drop-down to enable or disable the related automation.

Thoughts?

1 Like

Biggest issue: It leaves the lights on needlessly long if you only briefly enter a room.

Agreed but that is why I switched all to LED anyway, which also saves power :slight_smile:

I am very open to something better as well - :slight_smile:

1 Like

Thank you.

I have been reading about the proposals.

It seems that the only sensors that can detect a human in the room not moving are those based in radar Mmwave.

But they are not all that simple to configure and calibrate and are quite expensive.
Motion alternatives don’t seem too useful for presence, more for alarm uses.

Bluetooth based sensors seem cheap but they are based on the presencen of a gadget, not the human that owns it.
Not an easy task it seems… may be some kind of combination.

I am not thinking on lights, but on room heating, changing set temp to a lower value when there is nobody in the room and to confort when there comes somebody and stays there.

I recently installed this aliexpress mwave (zigbee) presence sensors and they are very good. Detection time similar to pir and presence is very reliable.
I no longer set timers or any of the other workarounds for pir sensors.
Walk in light stays on. Walk out light goes off.
Highly recommended.

works with zigbee2mqtt

5 Likes

Same here. And the Tuya are not only cheaper, they have a larger detection angle and a longer detection range. (And a cable that can be disconnected).

The FP1 might look better in some places and can be adjusted in 2 axes.

Did you install these into your ceilings or do the wall mount version?

I will try to put a PIR cheap sensor in tasmota device to see how it works (it came with an arduino kit to play electronics).

But the problem with pir is that it only works when you move, good for detecting when somebody comes in an aisle or room but don’t think it would work to detect if you are in your room reading or seeing TV.

MmWave seems the promising technology, but too expensive just to detect whether heating must be on or off, that is the use I have in mind now, to put use a confort temp (day) when somebody is there or a low (night) temp when there is nobody during certain periods of the day.

You need one in each room and that is too much (add it to the valves, bridge etc).

I installed 12 in the ceiling. They are small and they sit flushed against the surface. Almost invisible.

And installed 1 in the wall in a room where there’s a ceiling fan so I could angle it downwards and prevent false triggers. It also works perfect. Moreover I put it behind the curtains, so it’s completely invisible and it detects as if it had uninterrupted line of sight.

Additionally they’re mains powered so they’re also very good zigbee routers (strengthening the mesh)

These devices are really very good and at USD25 they’re a bargain.

1 Like

The ecobee thermostat has presence sensors, but they are meant to not be instantaneous. They don’t trigger on or off instantaneously, but rather, try to detect if the room is in use. If you pair automations with them as a condition, you can maybe tweak the instant/not-so-instant aspects of a room. But you need an ecobee, and the sensors are ridiculously overpriced.

This seems to be the best way to go - I just wish they were smaller and mountable without putting a hole in the wall - and battery powered :slight_smile:

1 Like

I like this a lot btw. Are you using standard US electrical wiring/mains?

The ceiling units come with power supply unit which works 120 /250v so anywhere in the world

Any chance you could share some photos of your installation?

I have bought four of them but haven’t got them yet

1 Like