So anyone manage to get these fp1 to act reliably as a presence sensor?
If you use the resetting automation every 3 seconds, are the sensors reliable enough that they’ll detect me sitting still within the 3 seconds so that the lights don’t turn off while I’m in the room?
I have four. They worked reliably for the first week or so, but now they don’t seem to be turning off presence when I leave the room.
It’s better to pair them with some other sensor to detect that person left the room. I’m using Hue but the RTCGQ13LM would be better if it weren’t so expensive.
I have aqara IR motion sensors as well as the fp1. I have no problem with the speed of the fp1 detecting motion through event presence, but I have a problem with it not updating presence when I’m not there.
I’m using z2m and all the fp1 is updated to latest firmware.
Yes, that’s the general issue with this device. I said that already a few times: FP1 is great at detecting that someone enters and stays in the area but is really bad when comes to know that someone left. Not only it requires up to 30s to detect that someone left (per documentation) but it has issues when something is moving in the area, like floating towel or curtains. Really anything.
That’s why I’m using it for occupancy and for entering but as for leave event I’m using Hue with door sensor as a trigger (bathroom).
Man, it’s disappointing that fp1still isn’t the answer. I’ve tried espresence, PIR, Frigate, now mmWave and none really work that well for presence detection.
I can’t use door sensors since I’m trying to use the fp1 to automate living room and dining room lights which have no doors (open concept floorplan)
Hopefully someone figures this out. What really sucks is I buy into the youtuber hype that espresence or mmwave would solve the presence problem, but I actually buy the D1 atoms or FP1s and dump hundreds of dollars, I find out they all have pitfalls.
Yeah, it is. I was hyped when I first saw FP1 but then reality came. There’s one thing that I didn’t check for presence detection yet. It’s using camera with AI detection (Frigate + Coral) - I’ve seen examples of it being really good at it. For my case it can’t be used though (bathroom).
You could try to set photocell type of sensors in places where you would like it to trigger, near the floor. So it would trigger when someone would go through. If you would pair it with the enter event from FP1 you’d know if you should turn on or off. Long shot but worth a try.
Just chiming in here, i have 2 of those FP1 sensor, and overall im very dissapointed
So i started looking at other ways to detect presence
For those with deep pockets out there
I am currently testing espresence with my oura ring
I bought a bunch of ATOM-U and its not that bad at detecting presence
It requires alot of tweaking around but the results are acceptable
With some custom rules with node red it can become quite accurate
If you have multiple floors it might be an issue
I’m using Monitor with Pi ZeroW for home presence detection. I know it can be used for room as well but those type of sensors don’t detect people but devices. So they have their share of issues where whole household have to have monitored device with them for this work properly…which won’t the case all the time.
I had the same exact issue. It was working perfectly fine for weeks and out of no where I started having issues with the occupancy staying stuck on detected.
I was messing with it for a couple of hours today. I did a few things and it’s back to working the same way. I don’t know what fixed it but I’ll list everything I did in order…
-Pair to ZHA again (don’t remove from zigbee network. Just re add it)
-multiple times hitting the button to reset occupancy
-disconnect and leave disconnected for about 10 minutes
-reconnect and try to manually reset occupancy again
-move to a dark room with 0 movement. Face device to wall about 2 inches away.
-trigger occupancy by moving by it.
-wait 10 minutes to see if it’ll clear
-manually clear occupancy
-leave undisturbed and untriggered for about 15-30minutes
-trigger occupancy by walking to room.
-leave for 5 minutes and the thing automatically cleared!!
-tested 2 more times and they both worked without having to manually clear the occupancy.
-moved the device back and tested occupancy
-reconsider getting more fp1s…
For those who are using it to turn on some lights etc. and having some false positives e.g. because something else is moving during the night, I want to share an idea how to combine a normal motion sensor with the FP1 by not just adding it to a group:
template:
- trigger:
- platform: state
entity_id: binary_sensor.living_room_motion_occupancy
- platform: state
entity_id: binary_sensor.aqara_fp1_occupancy
binary_sensor:
- name: Living Room Presence
device_class: occupancy
delay_off: 15
state: >
{% if is_state('binary_sensor.living_room_motion_occupancy','on') %}
on
{% else %}
{% if is_state('binary_sensor.aqara_fp1_occupancy','off') %}
off
{% else %}
{{ states('binary_sensor.aqara_fp1_occupancy') and states('binary_sensor.living_room_presence') }}
{% endif %}
{% endif %}
To summarize it: With the delay_off you can control after what time another presence event is
discarded if there was no other motion or presence beforehand.
For those of you having issues with it getting stuck on “detected” see my post on this thread. I ended up disassembling mine and have had much better success with it running with the bare circuit board exposed. I believe that the plastic housing was somehow triggering false detections causing it to constantly stay on “detected.”
When I first got the 4 FP1, I tried pairing them with ZHA and Z2M, keep getting false presence readings.
The problems were solved when I actually connect to the Aqara app via the M1S hub. (HA pick up the M1S via wifi). This way, I can figure the best placement of the sensor and map out the detection area on the app. The important thing is to identify the “interferences” zones in the app.
Since then, I never have any false presence reading.
I received one last week and sadly not good, the presence-detection is below 2.5 m (half the spec) and even when I sit next to it, it stops detecting me after a few minutes. Also (mentioned above too), when I move it may take 2 sec. before it actually shows something. I also removed it from its plastic hull but no change.
Sadly, the Ali-return costs are too high so will keep it and hope to find a solution… or use it in the toilet?
I am actually using it with frigate and coral. Still not fantastic. Frigate isn’t bulletproof either. I actually started out with presence sensing with frigate
The guys from the Home Assistant podcast did an episode on one of their ‘All Things Smart Home’ youtube video (Unboxing and installing the Xiaomi FP1 Presence Sensor | All Things Smart Home - YouTube). Looks like they had similar issues to those in this thread. At the end however they did discover something useful - HA Events when using the FP1 with ZHA integration. Has anybody had any luck with that?
To update the firmware:
I think you’d need to get an Aqara hub, connect it to that, and then use the phone app to update the firmware. Then you can re-pair it to your Home Assistant Zigbee network.
So you define the exclusion zone in the Aqara app? Also, how’s the experience for HA talking to FP1 through the Aqara hub? Is it responsive? I’m thinking to do the same with the Aqara E1 USB stick to map to add the exclusion zone where my swing fan is.
I completely understand the temptation to purchase an Aqara hub like @cdrstevehk did, however I’m also a firm believer of ‘voting with my wallet’ and so fear that the more we accept third party hubs the more we are discouraging companies from helping open source communities integrate with their products.