I have some questions about the sensor as well, I only have a binary sensor and it doesn’t show the event id.
I thought maybe the deconz helper appdaemon would help me but that as well doesn’t get updated when moving the sensor.
How can I get the event id, is there another way?
Is the binary sensor state simply if there is any movement of the sensor the state goes ‘on’?
My Xiaomi vibration sensor triggers ON state only if I vigorously shake it.
Moving it, turning it, knocking on the surface it is on, or shaking it softly does not trigger vibration state.
As far as I can tell the attributes (orientation, tilt level, and vibration strength) are only updated when the vibration state is detected.
I changed the sensitivity to 1 (most sensitive), but that did not help.
Below are the output from deconz REST command:
Dunno if it’s defective but, my own observations: Mine is on the mailbox, outside because the metal mailbox kinda shields the signal. It detects vibration and movement but once detected, it goes into a rest state for 60 seconds. Temperature updates are intermittent. Always after the mailperson delivers mail, sometimes every 5 minutes, sometimes an hour… not a big deal with me because I’m not THAT concerned about the temperature of my mailbox. The sensor (mailbox) is approx. 25 meters from the Desconz receiver dongle. When the outside temp drops below 5 C… it get’s flakey.
Something weird started happening and I couldn’t get it working again. I deleted and re-added 4 XIAOMI vibration sensors but the binary sensors are not getting created on HA even though I can see the logs on HA saying:
Went everywhere (states, unused entities and even on .storage) and can’t seem to find the binary sensors at all on HA meaning I can’t control them at all.
Any ideas are appreciated.
One more thing I’ve found about the Aqura vibration sensor… if it’s not “right side up”, it’ gunna act funny. “Right side up” is where when mounted, the little reset button is facing up.
Hey everyone, hate to resurrect this, but I think I’m one of many with issues with this cheap little guy.
I am able to watch the sensor in NodeRed, display the output in the NR UI. I can see it’s detecting vibration, output the level and output when it’s last updated. But when the vibrations stops it no longer reports anything. I made the rest call in the example above through DeCONZ and set the sensitivity to 1. The only time it detected motion, ie. vibration = true is when I ran down to the washer/dryer with it. Otherwise, it doesn’t show anything. Maybe luckily, neither makes enough movement.
Works like a charm, but nothing to give notification from. Best I can do is see when it stopped updating through NodeRed and into the MQTT topics I’ve setup for each. I would love to maybe just be able to run an automation at this point X minutes after the last update. Otherwise sensitivity setting doesn’t work and it doesn’t do anything in HA other than say false and that the temperature is X.
EDIT: I listen to “deconz_event” and get nothing for any sensor.
Zigbee sensors are either having a state (on/off or a value) or they are stateless sensors.
If a sensors has a state they are represented as sensors in Home Assistant. E.g. a binary sensor for moving or not moving and a % value for a battery
Remote controls / push button switches are stateless. They send an event when you push a button. Once the button is released the switch has no state. It is not on or off.
So a vibration sensor changes between vibration and no vibration. It is on as long as it vibrates. So it is a binary_sensor with on and off.
A remote control with buttons sends events.
But it has a battery sensor that reports level which is a “sensor” in HA
Yes. I have this vibration sensor. It creates a binary_sensor which is on or off.
When it changes state to on you can read the attributes of the this binary sensor.
You can see the attribute names and values in the Developer tools -> states.