Zigbee Lux Sensor Driver

So I thought I would try a Zigbee lux sensor I found on Amazon.

https://www.amazon.co.uk/Luminance-Detection-0-10000-Operated-Brightness/dp/B0FD9GYYKZ/ref=sr_1_7?crid=2DEBM125VPO2X&dib=eyJ2IjoiMSJ9.v35eIvZGj4g88L6S4tW__SZn_F6tC2nImKZ_XpXTVwb6JZTQEji4lsbG4x7JF9ahWXG1KSRRtzsCirFMZk056p7V7HSmF68kTRYUtXokQRQZD4W9EJmG-uMp3epGllk_Osf5zBHzkyl5REXo926wrbcdrHhb2og2ruqPBQ1Gemav6p4f_99ioM1rQw4sxXj-q7uM0ToVvOFsqgkj3RiYQfpnZzQa7dNwwCtat69b93FjmHp4bBfMqewY5PJPkhnEh-yuVwObnyMc0V58ZPR7YsJbaTj0KBAhSIj9ynAW18k.vOuPvC2dGzVrqfP9qAkZdI97BoudEroRIemnGjLHmKk&dib_tag=se&keywords=zigbee%2Blux%2Bsensor&qid=1765223365&sprefix=Zigbee%2Blux%2Caps%2C138&sr=8-7&th=1

I am getting the WiFi version as well as I use SmartLife and have the Tuya IoT running numerous plugs.

However trying to move towards Zigbee or Zwave. I have searched the web and community and tried various drivers, Whilst I can get connectivity and some info back none are giving any sort of Lux level.

Details of the sensor are as follows

Application 43
Endpoint Id 01
In Clusters 0001,0003,0402,0405,0400,0500,0000
Manufacturer _TZ3000_hy6ncvmw
Model TS0222
Out Clusters 0003,0019,000A
Software Build null

Any help appreciated bit of a newbie on Zigbee.

Hub is a C8

Thanks

1 Like

I think you want the @kkossev driver for TS0222.

Yep tried that one and a couple of others. See screen shot below

Did you go into preferences and select TS0222? I would think that it would auto detected, since that is the default, but I would try selecting TS0222 specifically as Model Group.

You should also press initialize after a driver change (if by chance you didn't)... the driver may ask you to wake the device after initialize or preference update in the _info attribute.

1 Like

This is a new device and its fingerprint is not in the driver code yet, I will add it in the next update. For now, manually confgure "TS0222_2" Model Group in the Preferences tab and click on the "Save and Close" button :

This is a battery-powered Zigbee device that requires pairing to your hub again (without deleting it) to ensure proper initialization during the pairing process. Your previous screenshot shows "rxCtr":0 in the State Variables - this is a counter of the received Zigbee messages, so nothing was ever received from the sensor. Pair it again, close to the hub.

3 Likes

That’s what I love about Hubitat and the community. Took a few reboots of the device but working perfect now, lux and battery level coming through.

Thanks for the support

2 Likes