(EDGE Driver-Mc): Zigbee Drivers for Motion, Open/Close, Moisture, Smoke-Co Sensors and others Devices

Hi Mariano
My Tuya contact sensors(_TZ3000_f1hmoyj4, _TZ3000_6jeesvrt) connected to Zigbee contact MC turns offline after a few hours later.
If i open and close the door, it will be online again and works well. Can you help it?


Hi @Mitokafander

Added as Motions sensor to this driver version.
There are no vibration sensors in smartthings
You can put it as an open/close contact sensor if you prefer

───────────────────────────────────────────────────
 Name         Zigbee Motion Sensor Mc
 Version      2023-04-06T11:50:51.896138878        
───────────────────────────────────────────────────
- id: "_TZ3000_fkxmyics/TS0210"
    deviceLabel: TS0210 Motion Sensor
    manufacturer: _TZ3000_fkxmyics
    model: TS0210
    deviceProfileName: motion-battery

Hi @NYA

Puede que no se hayan configurado correctamente los informes de periodicos.
Pruebe a desintalarlos y volver a instalarlos, la seΓ±al parece ser buena.
ΒΏcomo esta el nivel de la bateria? disopsoitivos puede que indiquen estos hasta 50% y sin embargo puede estΓ‘ agotada, te lo digo por experiencia propia

Hi. Thanks for the prompt response.

Still shows as thing and doesn’t show other drivers. Tried repairing also.

Any further information I can provide?

Thanks

Driver will be updated automatically after 12 hours maximum from the time of publication.

2023-04-06T11:50:51.896138878 (GMT)

If you uninstall old driver version from the hub and reinstall it, it will be updated
You can update it manually with the CLI with the command
smartthings edge:drivers:install

1 Like

Hi!

Some issues I want to report. Hopefully, it is of help.

I have a similar vibration sensor I set up earlier under your motion sensor driver(when discovered it says TS0210 Vibration Sensor). It has the option to select sensor sensitivity while the last fingerprints I asked you to add do not have this feature. Altho both are under the motion sensor driver and the products look identical.
Selecting a sensing sensitivity would be a good option as I frequently get false positives when looking at the trigger history. Ideally, the sensing should leave out any minor vibrations and only trigger when there’s a glass shatter or a really huge bump on the glass.

The second issue is that the newer vibration sensors that I have set up work in the sense that they DO register vibrations as motion and thus are turned into a β€œmotion detected” state when I bang my fist on the window glass. But they don’t return to a normal (no motion) state when left alone to idle for some time. Even after triggering and leaving for overnight some sensors still show β€œmotion detected” in the morning. Looking at the history of some individual devices I can see that the β€œmotion detected” state has been ON for about 4 hours until it switched to the β€œno motion” state.

Some of the sensors when going to the β€œno motion” state immediately detect motion again.

Then again I look at another sensor of the same kind and it switches back to β€œno motion” after 4 minutes. Any way to regulate this would be awesome.

Thank you for your hard work

Hi @Mariano_Colmenarejo Thank you for all your work with these Edge drivers.

I got the same TS0210 vibration sensor Mikk requested the driver.
I’m having these requests (if possible) and issues:
1 - Request: set the sensitivite. Right now it shows sensitive options from 1 to 3 but I did not notice any change on sensitivity when set as 1 to 3. It may not be getting the sensitivity parameter from ST.
2 - Issue: as reported by Mikk, the default time to move the state from motion to no motion is between 3-4 minutes (which works to me). However, sometimes it change it from motion to no motion in less than a minute. I’m not sure why. My routine is waiting for motion stops for 4 minutes to send the notification and actions. When it set it back to no motion in a few seconds (not 4 minutes), it makes my routine not work correctly.

Thanks.

The fact that they are physically the same does not ensure that they work the same, I have not found anything that says that this sensor, same model and different manufacturer, supports the sensitivity attributes. With Tuya device tomorrow you can buye an identical one and it works totally different.

I change it to the profile with sensitivity adjustment and try to see if it works, you may have to change the sensitivity and wake it up just before sending the value or reinstall them again.

This version will be updated in 12 hour max or install it with CLI

───────────────────────────────────────────────────
 Name         Zigbee Motion Sensor Mc
 Version      2023-04-07T15:41:52.473631704        
───────────────────────────────────────────────────
- id: "_TZ3000_fkxmyics/TS0210"
    deviceLabel: TS0210 Motion Sensor
    manufacturer: _TZ3000_fkxmyics
    model: TS0210
    deviceProfileName: motion-battery-sens

Another model TS0210 device also happens that and it will add a timeout to deactivate the movement.

He has put a timeout of 30 seconds just like the other one

There are 3 TS0210 models in the driver, but they may have different profiles.

Battery Sensors are normally asleep and do not accept configuration changes.
you may have to change the sensitivity and wake it up just before sending the value or change the sensitivity in preferences and uninstall and reinstall the device to configure it in the installation, these devices are that complicated

I put a 30 sec timeout to reset motion on this model, because the person who asked me to add it told me that the movement was not reset and this can happen on different models. This device has not sensitivity change profile
mfr = "_TYZB01_3zv6oleo", model = "TS0210", timeout = 30

Now I have also put timeout to this other one:
mfr = "_TZ3000_fkxmyics", model = "TS0210", timeout = 30

This model device has not timeout and has sensitivity change profile

manufacturer: _TZ3000_bmfw9ykl
model: TS0210

Some of these Tuya devices use the cluster 0x0500 and attribute 0x0002 with a combination of non-standard zigbee bits to enable and disable vibration.

TUYA DP1 Vibration status:
The data type of Attribute ID 0x0002 is 16-bit bitmap. To report vibration alarms and fall alarms to the gateway, the Zigbee device uses the formats bit0(alarm1)+bit10(reserver) and bit0(alarm1)+bit11(reserver) respectively.

The driver works with the default smartthings zigbee lua handlers and may not work 100% with these devices that use custom zigbee cluster and attributes.

2 Likes

Thanks for your fast reply. I was able to set the sensitivity.
30 seconds timout is fine, I added a delay on my routine.

Additional requests:

1 - can you add a driver for this Siren?

2 - I’m trying to add a ZB range extender and it is not getting the correct driver.
When I add it, it shows as Z-Wave thermostat (it is zigbee).
I manually changed it to ZigBee Range Extender, but your driver is still not available.
Here is how it shows on ST:

Thanks.

Added to this driver version

───────────────────────────────────────────────────
 Name         Zigbee Range Extender Mc
 Version      2023-04-07T17:51:11.035991406        
───────────────────────────────────────────────────
- id: "_TZ3000_misw04hq/TS0207"
    deviceLabel: TS0207 Repeater/Extender
    manufacturer: _TZ3000_misw04hq
    model: TS0207
    deviceProfileName: range-extender

Sorry this device use Tuya cluster EF00 and not work with standard drivers.
Try in this thread

Does your vibration sensor work with the 30 sec timeou now or do I have to add the timeout in driver?

Thank you. My vibration sensor worked with 30 seconds.

I’m waiting the Range Extender driver update to test it.

Sorry all for trashing driver topic but i question about buying vibration sensor.
So which one is overall better? For mailbox usage :sunglasses:

A… https://a.aliexpress.com/_mN1zxzi
B… https://a.aliexpress.com/_mMsrHjI

Aqara
C… https://a.aliexpress.com/_mPQMcEg

Dusan

@dusanhauko Actually I use zooz contact sensor. It never fails. It has NO/NC option, which I use. I have placed sensor under mailbox, close to the door. When mailbox is open it reports evey time. Also there is weatherproof case for it.
I have tried motion sensor inside the mailbox, and it was reporting occasionally cars driving by, as they emitted heat. Also i have tried vibration sensor, and it was reporting motion when was windy or trucks passed by.
Zooz contact sensor never failed, and reports only when mailbox is open. It is small enough to fit anywhere.

I can take photo of setup if you are interested.
Sensor is placed that way that when door is open, magnet get close to sensor, and reports NC as Open.
Also as sensor is under the mailbox, it is protected from weather, and as it is outside the mailbox box, there is no issues with z-wave signal.

@Mariano_Colmenarejo the Range Extender driver is working now.
Thanks for your help.

1 Like

Hi @Mariano_Colmenarejo
Thanks for all your effort :cocktail:.
I recived this motion/luminance sensor and paired but with some issues.
See attached screen when using your driver and then info on device.
Can we remove temperature and occupancy?
Then fix the battery reporting?
Thank you for all previous and future effort.


Hi @dusanhauko

This device, that uses the EF00 cluster although you don’t see it in the fingerprints, was added by a github contribution from another user. I did not notice that it used a profile shared by another device with temperature and occupancy capabilities.

In this driver version I have created a specific profile without temperature and occupancy.

The battery should work, try pairing again when your driver is updated to the new version

───────────────────────────────────────────────────
 Name         Zigbee Motion Sensor Mc
 Version      2023-04-11T15:44:45.191237541        
───────────────────────────────────────────────────

Hi Mariano, could you please add this button from IKEA?

It works superb. Battery shows up to. I think this motion sensor has also quicker cool down :slight_smile:

Hi @The_John_Carter

Sorry, I don’t have a driver for multiple buttons.
This device is in the smartthings stock driver

- id: "IKEA of Sweden/TRADFRI on"
    deviceLabel: IKEA Remote Control
    manufacturer: IKEA of Sweden
    model: TRADFRI on/off switch
    deviceProfileName: two-buttons-battery