Aqara smart motion (vibration) sensor

Here is the link.
gearbest link

did anyone managed to make it work? I added it to my mihome app and restarted the home assistant. nothing happened. no new sensors showing up in homeassistant.

any pointers? thanks.

may want to follow this thread: https://github.com/Danielhiversen/PyXiaomiGateway/issues/86

1 Like

As I mentioned on the GitHub issue, I have a vibration sensor coming soon and am familiar with the Xiaomi Home Assistant integration. I can submit a PR to add support for it. I don’t have the new Wireless remote switch, however. I can add support for it as well if you can send me the JSON payloads (in the error log) for all the different uses (single press, double press, long press). Also, I’ll need to know if you have the one button, or two button model. If you have the two button, also send the JSON payload for pressing both buttons at once.

2 Likes

awesome. looking forward to it. Thanks.

Hi all,

The vibration sensor is now on 0.80 release, but it’s not working for me :-(. I can see the sensor on mi app, but not on HA. Does anyone else got it working?

Didnt know it was added to .80. Nevertheless, cant find it in dev info.

You sure is in the 0.80 release?

Hi,

It should be… documentation was changed and it now list the vibration sensor. There’s even a example of a automation which uses it. Here: https://www.home-assistant.io/components/binary_sensor.xiaomi_aqara/

well also mine does not show up in HASS *its there in the mi home app)

Same here (not showing up that is)

I have two of them, but none visible/recognized within HA.
xiaomi_aqara:
discovery_retry: 10

I do see them in the Mi Home App.

same here, working fine in the Mi Home app, not visible in HA.

Currently on 0.80.0

I wrote the PR for it. Easiest way to tell is to check your logs. They’ll spit out some stuff telling you the device isn’t supported if it hasn’t made it in. I didn’t think it was in 0.80 so I’m still running a device copy of those components so I can use the vibration sensor.

There are no such messages after 0.80 but I cant find vibration sensors in dev info. They are in mi home app though.

Hi,

Your patch was accept, right?

I can’t see that it is mentioned in release notes for 0.80. Anyways, not showing for me in HA.

Are you using the xiaomi gateway? Havenbt seen anyone so far getting the vibration sensor in to HA when using the xiaomi gateway (vibration sensor shows up in mi home app).

The PR appears to be merged. But, as of 0.80.1, I don’t see the code yet. I’ve yet to upgrade to 0.80.3 due to time constraints at the moment.

same here. how is it possible?

Hi, I am using the vibration sensor with the xiaomi hub connected to home assistant. Vibration sensor is a binary sensor in home assistant but it is always off. Last_action changes though but if it vibrates and then vibrates again no change will be detected. Shouldnt the binary_sensor state switch to on briefly when it vibrates, tilts or freefalls? Or am I missing something? How can i detect repeteaded vibrations?

2 Likes