Xiaomi Gateway Lux Update Script

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
Maj75
Posts: 5
Joined: Monday 02 April 2018 13:23
Target OS: Windows
Domoticz version:
Contact:

Xiaomi Gateway Lux Update Script

Post by Maj75 »

Greetings

I would like to set my Xiaomi Gateway lux to update every couple of seconds, so that it would show (kinda) real-time information about the lighting. Would anybody be willing to help me?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Xiaomi Gateway Lux Update Script

Post by waaren »

I don't quite get you. Isn't the lux sensor in the Gateway updated if the amount of light getting to it changes ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Maj75
Posts: 5
Joined: Monday 02 April 2018 13:23
Target OS: Windows
Domoticz version:
Contact:

Re: Xiaomi Gateway Lux Update Script

Post by Maj75 »

Yes it does update, but does so very slowly. The changes in lux can be read after a couple of minutes or so.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest