Vibration Sensor

I’m looking for a vibration sensor that is compatible with Hubitat.

I have a Samsung Multi-Sensor that detects vibration, and it works great. But apparently it’s not available anymore. I thought maybe Aeotec would be a possibility, since they sort of took over from Samsung, but I don’t see one.

I have a Momoprice Shock sensor on my family room patio door. It works well, battery last forever and no problem on the zwave channel. It is Zwave Plus and has KFR-ZS5101US-5 on the back.

There is a Tuya vib sensor, works well with HE using the Konke motion sensor driver. No temp or battery yet. And it runs on cheap AAA batteries and is about 13.00 USD. There is a thread on the forum about it

I’m not finding this for sale on either the monoprice website or Amazon.

There are some multipurpose sensors that include vibration. The old Smartthings Multisensor is one such sensor. I know Aeotec is releasing many of the Smartthings sensors, but I do not know if the Multisensor is one that has been released.

There are a couple of vibration sensors I have tried. One is the Aqara vibration sensor. There is a community developed driver for many of the Aqara sensors. The vibration sensor does work with that driver. However, Aqara sensors are funny in that they do not use standard Zigbee. If you have any non-compatible Zigbee repeaters in your mesh, the Aqara devices may not work, I had to ditch some older Smartthings and Centralite HA 1.2 plugs and replace them. Many people use the Ikea Tradfri plugsa or repeaters. I chose to use some Luntak plugs that are based on eWeLink ZHA 3.0 technology. They work fine with Aqara, The plugs are inexpensive so I have a bunch of them throughout the house to strengthen my mesh..

The other sensor I am using is a SOLE vibration sensor that is based on Tuya ZHA 3.0 technology. However, I could not get it to work with any of the drivers built into Hubitat. I finally was able to get it to work using the driver for a Konke Motion sensor. Hopefully, as more Tuya base Zigbee devices are introduced, we will get specific drivers for them.

Zoro.com is a subidiary of W. W. Grainger, the industrial supplies company.

Before buying from them, you might want to do some research on the company. Many of the customer review have been poor, so caveat emptor. They are located in Buffalo Grove, IL, so they are pretty close to me, but I have never purchased from the company.

Fibaro Motion Sensor ZW5 ??

I'm using it for motion so I don't know how good the vibration sensing capability is. One thing I didn't like was it kept trying to pair with my C-7 with S0. As a result I left is on my "legacy" C-4 hub (for the few devices that don't play nicely).

Has anyone made a driver for this device ?

@kkossev do you have sir?

Vibration

I use the default driver from Hubitat, Generic Zigbee Motion Sensor. The problem is I can't set the sensitivity.

Found it.

Tuya Zigbee Vibration Sensor

Thank You @kkossev , you are amazing sir

2 Likes

I have attached my Tuya vibration sensor to the PC chair backrest and I am using it as a an acceleration sensor to trigger the room lighting automation. I find it rather useful when I sit still for a long period in front of the PC and the room motion sensors do not report movement,

1 Like

awesome

I have a Tuya vibration sensor (manufacturered by Sole). Initially, I used the Konke motion sensor driver. WHen I first tried the Tuya vibration sensor driver, it would indicate, but would not trigger other activities. After @kkossev worked on the driver, it works as expected.

Hello Krassimir, I have a fingerprint from a variant of the Tuya vibration sensor. Is adding the info as simple as adding just another fingerprint line? By using the info captured by "device" driver

Thank You

Fingerprint Info

dev:20502022-11-08 02:07:35.635 PMdebuggetting info for unknown Zigbee device...

dev:20502022-11-08 02:00:50.211 PMerrorjava.lang.NumberFormatException: For input string: "0A" on line 120 (method parse)

dev:20502022-11-08 01:59:23.586 PMinfoZigbee parsed:[raw:catchall: 0000 8005 00 00 0040 00 9011 00 00 0000 00 00 2F0011900101, profileId:0000, clusterId:8005, clusterInt:32773, sourceEndpoint:00, destinationEndpoint:00, options:0040, messageType:00, dni:9011, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:00, direction:00, data:[2F, 00, 11, 90, 01, 01]]

dev:20502022-11-08 01:59:20.396 PMinfofingerprint profileId:"0104", endpointId:"01", inClusters:"0001,0500,0000", outClusters:"0019,000A", model:"TS0210", manufacturer:"_TZ3000_bmfw9ykl"
dev:20502022-11-08 02:14:39.357 PMinfoZigbee description:zone status 0x0401 -- extended status 0x00 - sourceEndpoint:01, zoneId:FF, delay:0000

dev:20502022-11-08 02:14:39.233 PMinfoZigbee description:enroll request endpoint 0x01 : data 0x0015

dev:20502022-11-08 02:07:35.635 PMdebuggetting info for unknown Zigbee device...

dev:20502022-11-08 02:00:50.211 PMerrorjava.lang.NumberFormatException: For input string: "0A" on line 120 (method parse)

1 Like

Very often and hopefully now too - Yes

https://raw.githubusercontent.com/kkossev/Hubitat/development/Drivers/Tuya%20ZigBee%20Vibration%20Sensor/Tuya%20ZigBee%20Vibration%20Sensor.groovy

ver 1.0.8 2022-11-08 - TS0210 _TZ3000_bmfw9ykl

Let me know if this vibration sensor pairs successfully and whether the sensitivity setting works?

1 Like

Thank You Krassimir. Yes it successfully paired and yes the sensitivity appears to work. Maximum is extremely sensitive causing the sensor to constantly flip active. Even minimum, tho less than max is still very sensitive.

Probably an HE issue but none of the vibration active events show in HE logs, but they do show in device events. Maybe that is how it's supposed to work?

In the zigbee logs, a single vibration active event sends the following messages:

Summary

_Tuya_Vib_New2022-11-09 08:24:46.808 profileId:0x0, clusterId:0x8021, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-47

_Tuya_Vib_New2022-11-09 08:24:46.705 profileId:0x104, clusterId:0x0, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-48

_Tuya_Vib_New2022-11-09 08:24:46.604 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-48

_Tuya_Vib_New2022-11-09 08:24:46.601 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-48

_Tuya_Vib_New2022-11-09 08:24:46.397 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-48

_Tuya_Vib_New2022-11-09 08:24:46.294 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-48

_Tuya_Vib_New2022-11-09 08:24:45.287 profileId:0x104, clusterId:0x1, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-46

_Tuya_Vib_New2022-11-09 08:24:45.284 profileId:0x104, clusterId:0x1, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-45

_Tuya_Vib_New2022-11-09 08:24:45.282 profileId:0x104, clusterId:0x1, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-45

_Tuya_Vib_New2022-11-09 08:24:45.182 profileId:0x104, clusterId:0x1, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-45

_Tuya_Vib_New2022-11-09 08:24:45.179 profileId:0x104, clusterId:0x0, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-45

_Tuya_Vib_New2022-11-09 08:24:45.176 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-45

_Tuya_Vib_New2022-11-09 08:24:45.173 profileId:0x104, clusterId:0x500, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-45

PS- in looking for your github I stumbled across some pharmaceutical chemistry publications, is that you?

I have purchased a Tuya Vibration Sensor, manufactured by Moes, I see the following in the device info:

fingerprint profileId:"0104", endpointId:"01", inClusters:"0001,0500,0000", outClusters:"0019,000A", model:"TS0210", manufacturer:"_TZ3000_bmfw9ykl"

I am able to get it to report battery level but nothing else at this stage, has anyone else used one of these devices?

https://www.amazon.co.uk/gp/product/B09BYTWHNB

Hi @philpugh ,

This vibration sensor should be supported in the Tuya ZigBee Vibration Sensor driver.

Make sure you are pairing the sensor very close to HE hub. Sometimes it may require more than one pairing attempt, until the "acceleration active" events appear. Once the sensor is working OK near the hub, you can move it to its final destination place.

Hi @Rxich , sorry I have missed somehow your last message. Looking at the code now I see that the vibration events are not logged as Info messages, I will correct this in the next version.

Is this vibration sensor still working for you?

No, I am not into the pharmaceutical chemistry industry.. The link to my GitHub account is on my HE profile.

I was able to get it paired being closer to the hub, i can see acceleration but it keeps flipping between active and inactive