Hi forum,
My setup with a Conbee, deconz in HA has worked just well with various Xiaomi sensors.
I’ve just received a new Xiaomi Vibration sensor which is shown in the deconz app. But in HA the entity is only a “sensor.vibration_battery_level” and has the battery level as state without any attributes. How do I fix this to be able to use it when it detects vibration or motion?
There should be an attribute with the device event id which you can use for automations. Look at component documentation for examples on how to use deconz event id
@Robban do you know if there is a way to change the sensitivity of this sensor? I’ve been reading something about this but not sure if it’s implemented.
Good question though. I know that with the Xiaomi Hub you can set the sensitivity for the sensor, but as far as I can see the Deconz don’t allow you to set the sensitivity at the moment…
Found this thread when I tried to add my Xiaomi Aqara Vibration Sensor to Home Assistant. The sensor was successfully added to Phoscon without any issues, and all values are shown correctly.
However, Home Assistant only recognizes the sensor’s battery level, and not temperature or event status. The battery level sensor in HA only has the following attributes:
Great, I actually read it, but I somehow didn’t comprehend the words
I see now that the event_id is present as an attribute. However, shouldn’t this be either tilt, moved or free_fall? And also no temperature reading, but I guess that is not possible to receive in HA?
Hi
I managed to configure automation in Hassio using 2 vibration sensors from Aqara.
I can trigger the events from both physical sensors, but the associated notification via Telegram arrive always with the same message (related to one of the sensors)
as example I have 2 similar config (see below) but I get the notification message always = to the last one (even if the trigger is done by sensor 1)
Hope it is clear. Any suggestion ?
Thx. Iv.
I think I found a solution…
the key is to use only the ID of the sensor , that I 've found looking at the log (after enabling logger: in config.yaml)
ssh into the system and run tail -f /config/home-assistant.log | grep deconz_event
look for id= and a name that is familiar with your vibration sensor. Use this as below