Page 1 of 1

SwitchOn and DimTo not working for RGBW lights

Posted: Wednesday 12 July 2017 10:50
by DomotRikz
I get the following errors:

Error: dzVents: Error: Method switchOn is not available for device "Lamp achter" (deviceType=Lighting Limitless/Applamp, deviceSubType=RGBW). If you believe this is not correct, please report.
Error: dzVents: Error: Method dimTo is not available for device "Lamp achter" (deviceType=Lighting Limitless/Applamp, deviceSubType=RGBW). If you believe this is not correct, please report.

These methods were working in the previous dzVents versions...

Could anyone tell me a workaround in the mean time?

Re: SwitchOn and DimTo not working for RGBW lights

Posted: Wednesday 12 July 2017 11:20
by dannybloe
Yes, I already have an adapter update ready for merge into Domoticz. In the meantime you can open the file path/to/domoticz/scripts/dzVents/runtime/device-adapters/hue_light_device.lua and change line 10 into:

Code: Select all

local res = (device.deviceType == 'Lighting 2' or device.deviceType == 'Lighting Limitless/Applamp')
That should do the trick.