Zigate and Xiaomi light sensor

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Zigate and Xiaomi light sensor

Post by ronaldbro »

Hi Pipiche,

I bought a few Xiaomi light sensors (http://s.aliexpress.com/MJNfMFbI) and successfully added it to domoticz using the latest stable version of the plugin and firmware 3.1a. But I don't get any value updates, lux stays on 0.

Do you know if there are still some issues with this sensor?
The sensor is pretty new and I noticed it is one of the newest sensors added to the zigate plugin. Maybe I should switch to beta for this sensor.

Any advice would be very welcome.

Thanks Ronald
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Xiaomi light sensor

Post by pipiche »

ronaldbro wrote: Friday 17 April 2020 19:24 Hi Pipiche,

I bought a few Xiaomi light sensors (http://s.aliexpress.com/MJNfMFbI) and successfully added it to domoticz using the latest stable version of the plugin and firmware 3.1a. But I don't get any value updates, lux stays on 0.

Do you know if there are still some issues with this sensor?
The sensor is pretty new and I noticed it is one of the newest sensors added to the zigate plugin. Maybe I should switch to beta for this sensor.

Any advice would be very welcome.

Thanks Ronald
It is a bit hard to answer.
Could you provide and export of the "Plugin Devices raw (json)" that you can find on the Web Admin Page ?

We have recently added a Lumi Lux sensor on the beta branche, but I need to check if that is the same
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Sure, see attached.

Thanks for your help
Attachments
export.json (3).txt
(109.68 KiB) Downloaded 45 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Xiaomi light sensor

Post by pipiche »

Please do update to the laresr version of the plugin (just posted now ;-)

Then
1- restart the plugin
2- Remove the Widget created for this device
3- Redo the pairing

The fix was available on beta. I just push it towards stable
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Works perfectly :)
Thanks Pipiche
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Hi Pipiche,

The sensor works perfect and very fast, really like them.
But I noticed that I don't receive the battery state, is this still work in progress? Hopefully I don't need to know the battery state for some time, but they send a lot of updates so I don't expect the battery to last a year. (Hopefully I'm wrong and that would make them absolutely perfect)

Thanks for your good work.
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Hi Pipiche,

Now that I've switched to beta I can confirm that the beta als doesn't report battery status.
Hope it is on your todo list ;)

Regards Ronald
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Xiaomi light sensor

Post by pipiche »

It is not on my todo as it works fine on my end. Could you clarify what version of Domoticz you are using ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

I use 2020.2 stable. I did create the widget using the stable plugin. Should I try to remove the widget and rebind?
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Also the plugin doesn't show the battery percentage and the sensors are in the network for 2 weeks now.
Attachments
71C69292-46A1-4DD4-816E-80C4A8D04AA6.jpeg
71C69292-46A1-4DD4-816E-80C4A8D04AA6.jpeg (212.17 KiB) Viewed 527 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Xiaomi light sensor

Post by pipiche »

could you please provide the export of Plugin Raw Device (JSON) ?
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Sure, see attached
Attachments
export.json (6).txt
(145.04 KiB) Downloaded 42 times
pipiche
Posts: 2009
Joined: Monday 02 April 2018 20:33
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: France
Contact:

Re: Zigate and Xiaomi light sensor

Post by pipiche »

SO iI guess we are talking about the new Lux sensor. Please do update the beta branch. This should work now
Zigbee for Domoticz plugin / RPI3B+ / Electrolama ZZH-P / 45 devices

If the plugin provides you value, you can support me with a donation Paypal.

Wiki is available here.

Zigbee for Domoticz FAQ
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Yep. Thanks.
I'll let you know the result
ronaldbro
Posts: 327
Joined: Thursday 15 November 2018 21:38
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands
Contact:

Re: Zigate and Xiaomi light sensor

Post by ronaldbro »

Great, it works. First one has a reported battery percentage, I'm sure the other two will follow.

Thanks again.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest