Hello,
I purchased your M100 Hub and Vibration Sensor to use within Home Assistant. I was able to add the hub to HA as a Thread router without an issue. I also added the Vibration sensor as a child device and see it, and the hub, as Matter devices within HA. (I believe i explained that correctly).
The problem is, the sensor is showing up as (5) Entities:
Battery, Battery type, Battery voltage, Identify, and Occupancy.
Occupancy seems odd… and There’s no entity for Vibration or Tilt which I why I purchased the Vibration Sensor to begin with.
Matter does not yet have a dedicated device type for vibration sensors. Because of this, manufacturers have to map them to an existing device type. In Aqara’s case, the vibration sensor simply shows up as an occupancy sensor via Matter-over-Bridge.
While this does work, it only operates as a basic ‘triggered/not triggered’ device. The actual vibration or tilt data doesn’t make it through Matter. This is not a bug, but a limitation of the current Matter specification.
If you need the full vibration details, you will have to use the sensor via ZigbeeMQTT rather than Matter.
Matter is still a new technology, and the companies creating it are taking more time than they should in releasing updates, that is why it is so limited and instead of showing “vibration” shows “occupancy” because Aqara decided to use that option. As of today, vibration sensors are still not a “device” in the Matter Device Library, also, there is no cluster for vibration either, we’ll just have to wait.
You may have another option if you have a Zigbee dongle in your Home Assistant (like the official Home Assistant Connect ZBT-1, previously known as Home Assistant SkyConnect, or other brands), you can just connect the vibration sensor directly to HA, I have a few of them like this, as well as sooooooo many other Aqara devices, if you use ZHA you can change the sensibility but it’s a bit tricky. If HA detects it wrong, you can always change the device type to vibration and get the proper name
That should work with HA directly, you can use Zigbee2MQTT or ZHA (ZHA is easier).
The easy way is from the Aqara app you can share it with Home Assistant via Matter (Wi-Fi), alternatively, you can have full local control of it, you need to create a Zigbee network in HA (ZHA would do) and Matter with Open Thread Border Router, then, you can remove it from the Aqara hub, install it on HA via Zigbee, and share it back to Aqara if you want via Matter.
Some SONOFF dongles allows multiprotocol, so you can have a Zigbee and Matter (Thread) on the same dongle, that way you will have everything: Zigbee, Matter via Thread and Matter via Wi-Fi.
Just make sure you choose the right protocol when installing the dongle on HA.
this is correct, what is put here, through zigbee2mqtt you will get everything show up, I use this device in my kitchen for under the counter side were chopping is done, when ever it detects vibration it willl automaticly turn on under counter lights to full brightness white.
@troy_bruder no need to switch to ZigBee. If you see the occupancy entity in Home Assistant, you can easily change it to Vibration… it’s just a binary sensor after all (vibration/no vibration).
To do so, go to the device page in Home Assistant, tap on the Occupancy sensor and then on settings (cog wheel in the top right). On the form that shows up there, change “Shows as” from Occupancy to Vibration. That’s it
Aqara vibration sensor can detect tilt as well, you may need to tinker with the intensity in the Aqara app/HA, it detects it, but will report as vibration either way.
Yes, within Aqara Home it’s already reporting vibration and tilt events… the problem is, Home Assistant is only receiving the Vibration alerts… and those I don’t care about.
I’m going to remove all the Matter/Thread stuff, and connect it via ZHA over the weekend to see if I get what I need.
I don’t know what troy_bruder has planned, but sometimes you just need the exact value of the tilt. For example, you might want to know whether a garage door is closed, open, or partly open.
Totally agree, according to the documentation you linked earlier, he can get the angles and lots more with Zigbee2MQTT in HA, I have them in ZHA and I only get a vibration entity (and battery level).
Correct, with ZHA you have: vibration, battery and device temperature, with Zigbee2MQTT, according to the documentation, you have lots more: battery, device temperature, vibration, strength, sensitivity, angle x, angle y, angle z, x axis, y axis, z axis…
If you need the tilt values, Zigbee2MQTT is what you need.
This won’t work… mine is going into a Pellet stove…inside the hopper lid… vibration will be sensed constantly… What I need is the specific tilt event so I know that the hopper was checked for pellets… so both events trigger, won’t help me.