Hi
The Philips Hue Plugin works fine for me to switch on/off and dim my Hue lights however each time the power is switched off to any of them I have to reset the colour settings from the Hue App, is it possible to control the colour of the Philips Hue lamps from a LUA script?
Looking at the code for the Hue plug-in it looks to me as if the function is there and the actual plug-in does handle colour.
I have also found the function "rgb" in a LUA example but can´t get the Hue plugin/lamps to react on this command.
See attached picture of the script I´m trying, (I have used the dim command to make sure the connection to the lamp is working).
Does anyone have an idea/solution for this?
/ Jakob
Set RGB colour - Philips Hue lamps
Moderator: Telldus
Set RGB colour - Philips Hue lamps
- Attachments
-
- Skärmklipp.PNG (12.32 KiB) Viewed 11954 times
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: Set RGB colour - Philips Hue lamps
The color value must be a number. Try 0xFF0000 instead.
Also, swedish characters does not work so well in lua scripts...
Also, swedish characters does not work so well in lua scripts...
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: Set RGB colour - Philips Hue lamps
OK
I thought since it was working with the dim command the name wasn't the problem..
Anyway, updated the script to use a different lamp and entered the hex-number correct but still nothing.
Dim and on/off work but not changing colour.
/ Jakob
I thought since it was working with the dim command the name wasn't the problem..
Anyway, updated the script to use a different lamp and entered the hex-number correct but still nothing.
Dim and on/off work but not changing colour.
/ Jakob
- Attachments
-
- Skärmklipp.PNG (11.38 KiB) Viewed 11939 times
-
- Site Admin
- Posts: 2243
- Joined: Fri Mar 17, 2023 9:45 am
- Location: Lund
- Contact:
Re: Set RGB colour - Philips Hue lamps
Do you get anything in the device log?
Micke Prag
Software
Telldus Technologies
Software
Telldus Technologies
Re: Set RGB colour - Philips Hue lamps
From this script, only for the dim command, nothing from rgb command.
- Attachments
-
- Skärmklipp3.PNG (23.15 KiB) Viewed 11932 times
Re: Set RGB colour - Philips Hue lamps
Jag kan konstatera samma sak. Finns det någon lösning för att styra RGB för HUE lampor? Bara dimring fungerar för mig.
/Hasse
/Hasse