I've been using dzVents for setting the lights of my Hue Iris. Upon changing the lights the status of the Hue light is 'inconsistent'.
When setting the color of the Hue light the status of the Hue Light changes to "SetColor", instead of "on" or "off". This also likely results in an erroneous active state, when the light is in the "SetColor" state, the active state becomes false.
It does not matter if the color of the light changes from dzVents or directly from the Domoticz Switches tab.
Status is reported both in dzVents and in the log.
Currently I've been working around this by checking (pseudo code)
active = Status == "On" or Status == "SetColor"
Status of Hue lights [SOLVED]
Moderator: leecollings
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Status of Hue lights
@edsger; Thanx for reporting.edsger wrote: ↑Monday 18 February 2019 13:42 I've been using dzVents for setting the lights of my Hue Iris. Upon changing the lights the status of the Hue light is 'inconsistent'.
When setting the color of the Hue light the status of the Hue Light changes to "SetColor", instead of "on" or "off". This also likely results in an erroneous active state, when the light is in the "SetColor" state, the active state becomes false.
It does not matter if the color of the light changes from dzVents or directly from the Domoticz Switches tab.
Status is reported both in dzVents and in the log.
Can you please test the following bugfix ?
in lua file domoticz-dir/dzVents/runtime/device-adapters/Adapters.lua , insert after line 172 ( ['set kelvin level'] = { b = true, inv = 'Off' }, )
Code: Select all
['set color'] = { b = true },
Thx !
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Friday 01 February 2019 15:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Status of Hue lights
I'll try this patch on Thursday!
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Status of Hue lights
Is now also part of V4. 10445
Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
Verstuurd vanaf mijn ONEPLUS A6003 met Tapatalk
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Friday 01 February 2019 15:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Status of Hue lights
active property is now correct. Thanks
Not sure about the status property.
The status of the device is still reported as "Set Color", I'm not sure if this is intended as it seems to me not an actual "status" of a device.
Not sure about the status property.
The status of the device is still reported as "Set Color", I'm not sure if this is intended as it seems to me not an actual "status" of a device.
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Status of Hue lights
Is indeed arguable but a choice of the domoticz developers to reflect the last activity made on the device and passed to the Event system. Not something dzVents can change.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
-
- Posts: 8
- Joined: Friday 01 February 2019 15:20
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Status of Hue lights [SOLVED]
Ok.
I wanted to accept your post as an answer, but this results in a 404 (also after refresh).
I wanted to accept your post as an answer, but this results in a 404 (also after refresh).
Who is online
Users browsing this forum: No registered users and 1 guest