Any Zigbee motion sensor with fast refresh interval?

Just a quick word first - you’ll need to power it unless you buy the premium version. Premium version – Zigbee Hobbyist. Rock Pi 4 SBC

Thanks, I wasn’t aware of this. I see they kept the Samsung price tag though!

New update here: Any Zigbee motion sensor with fast refresh interval? - #30 by jonatanpradasn

Finally, after several tests, the aqara sensor is the winner :grin:

I hack the sensor using this tutorial: Xiaomi Motion Hack - häufiger Events vom Sensor | haus-automatisierung.com [4K] - YouTube
and liquid silver (transmitter glue) This allows you to join circuits without soldering, you can buy this on aliexpress for a fairly cheap price or in an electronics store.
In my case, I use zigbee2mqtt, so for the hack to take effect, I have to add this line under the device in configuration.yaml:

    friendly_name: SensorAqara2
    occupancy_timeout: 15

And in home assistant, I set it up in such a way, that it shuts down when it stops showing busy.
This is my yaml automation:

alias: Sensor Pasillo
description: ''
trigger:
  - type: motion
    platform: device
    device_id: 3bd748X
    entity_id: binary_sensor.sensoraqara3_occupancy
    domain: binary_sensor
  - type: no_motion
    platform: device
    device_id: 3bd748X
    entity_id: binary_sensor.sensoraqara3_occupancy
    domain: binary_sensor
condition: []
action:
  - choose:
      - conditions:
          - type: is_motion
            condition: device
            device_id: 3bd748X
            entity_id: binary_sensor.sensoraqara3_occupancy
            domain: binary_sensor
        sequence:
          - type: turn_on
            device_id: c93b6dX
            entity_id: light.pasillo2gang_l1
            domain: light
            brightness_pct: 100
      - conditions:
          - type: is_no_motion
            condition: device
            device_id: 3bd748X
            entity_id: binary_sensor.sensoraqara3_occupancy
            domain: binary_sensor
        sequence:
          - type: turn_off
            device_id: c93b6dX
            entity_id: light.pasillo2gang_l1
            domain: light
    default: []
mode: restart

The 5-second counter or the time you have set, will start counting from the last time it detected movement.

I have to add that the range and angle is incredible, it reaches about 5/7 meters without problem (except if you walk towards it, but placing it in a high place should work well)

With the Philips sensor you need to pass very close (about 2/3 meters) and it has a very directional angle.

A cons of the sensor aqara, is the temperature sensor (some have up to 10 degrees of error) The hue sensor is somewhat more accurate for temperature.

Hope this can help someone, regards.

4 Likes

Hue sensors can be adjusted with hacs, even down to 1sn. Am I right ?

Nothing can be adjusted by HACS.

There may be a custom component that is installable via HACS that you are thinking of

In fact the device lets you vary the dead time between 1 and 1440 seconds.

Yes that is what I am talking about. There are some rep on hacks which claims they can do.

I have no idea what you mean. What does rep mean? What does hacks mean in this context?

Perhaps you are looking for this

Sorry for the shortcuts. I was trying to say that there are some repository sources under Hacs in Home Assistant. They claim to shorten the cool down period of hue motrion sensors to 1s.

Good news, Aqara seems to have listened to us and has relaunched its sensor improved.

  • Now can be set to detect motion again from 1 second to 200.
  • Allows you to adjust the sensitivity (perfect for those who have animals at home)
  • Larger battery capacity
    https://www.aqara.com/eu/product/motion-sensor-p1
    It may be a bit difficult to find it in stock and the price is a bit high.
    I will continue to use the previous sensors with the hack since for me 5 seconds is more than enough and the rest of the novelties are not very noticeable in my case.

But without a doubt, Aqara has done a great job and now many people will be able to acquire a quality sensor with all the necessary functions without hacking.

I am happy that they have a better offering, but wouldn’t say they did a great job. Implementation of those Aqara devices rarely follow zigbee standard completely (i.e. claiming zigbee compatible, but in reality only partially…), and as such leaving the zigbee communities to figure those “issues” out.

This one (P1) is no different. A quick search I have found these, and I hope they got addressed soon:

These Aqara sensors might be different - they state they are “zigbee 3.0”. I would be interested in hearing first hand from anyone using them though before buying any, but it seems like a move in the right direction.

FYI, ZHA just recieved support for Aqara P1 and developer is also working on Aqara FP1 support, see:

and

Both of those depend on quirks added to the latest ZHA Device Handlers library, see:

and

1 Like

FYI, Tuya also has several “Zigbee Human Presence Detector” using similar microwave/millimeter wave motion sensor technology.

These are used for either smart human body presence (a.k.a. occupancy/vacancy detection), breathing sensor, or fall-down sensor.

See example Tuya product models: MSA050-Z1, MIR-HE200-ZB, MYQ-ZHFD02, MSA042D-Z1, MSA035-Z1, and MYQ-ZHFD01:

https://expo.tuya.com/smart/sensors/infrared-sensor/occupancy---vacancy-sensor/CT9cn94ki9rh36-CT9cn9la1lzi8j-CT9cndvh3x4xle

https://expo.tuya.com/product/842246

https://expo.tuya.com/product/952001

https://expo.tuya.com/product/1031059

https://expo.tuya.com/product/902056

https://expo.tuya.com/product/804011

https://expo.tuya.com/product/1031058

PS: Note that those are listed for global worldwide sale, unlike this competing Aqara FP1 product.

1 Like

I bought Aqara P1 and it reported everything well, although I have to say that the results have been very bad, it only detects when I am about 10 centimeters away, it also has a reaction time of half a second while its previous model is instantaneous.

Another problem that I discovered with the previous hacked aqara sensor is that after 15 seconds it shows a false positive, so the minimum time in my case should be 16 seconds to avoid the false positive.

maybe the best idea is to use presence sensors like aqara fp1 and i hope they fix the problem of aqara p1 with some firmware update, for now i will return it to amazon, because if it only works at 10cm, it is a nice paperweight.

UPDATE:

@jonatanpradasn did you end up getting the P1 working any better or did you send it back. I’m having a tough time getting the sensor to work as well as the Kasa Motion Switch I was attempting to replace.

Mine was having issues as well. returned to amazon and got a replacement. This one seems to be working perfectly now. Maybe hardware is just hit or miss…

1 Like

Interesting, maybe I’ll have to put in a request for a replacement then.

Yea it was so frustrating and now its just working perfectly. I am actually thinking about buying a few more next time thye are on sale.

@jsdphilly where do you have your sensor placed in the room in relation to where movement would be? Also how do you have you automation setup, if you are using it to turn a light on/off?

I’m trying to get this working so that when someone enters the room it turns the light on and then doesn’t turn the light off on someone if they are still in the room, but turn the light off after some time of inactivity.

Here is what my automation looks like now but I’m still having challenges it seems.

alias: Jacob's Room Motion Light
description: ""
trigger:
  - type: motion
    platform: device
    device_id: nnnn
    entity_id: binary_sensor.jacob_s_room_motion_sensor_occupancy
    domain: binary_sensor
    id: occupancy-detected
  - type: no_motion
    platform: device
    device_id: nnnn
    entity_id: binary_sensor.jacob_s_room_motion_sensor_occupancy
    domain: binary_sensor
    id: occupancy-cleared
condition:
  - condition: time
    before: "19:45:00"
    after: "08:00:00"
action:
  - choose:
      - conditions:
          - condition: trigger
            id: occupancy-detected
        sequence:
          - type: turn_on
            device_id: xxxx
            entity_id: light.jacob_s_room_light_switch
            domain: light
      - conditions:
          - condition: trigger
            id: occupancy-cleared
        sequence:
          - delay:
              hours: 0
              minutes: 15
              seconds: 0
              milliseconds: 0
          - type: turn_off
            device_id: xxxx
            entity_id: light.jacob_s_room_light_switch
            domain: light
    default: []
mode: restart

The TP-Link Kasa Smart Motion Switch that is just replaced seemed to just sort of work, so I’m trying to replicate it’s behavior.