How to get the RGB value from the colorpicker in LUA?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
niceandeasy
Posts: 102
Joined: Thursday 28 January 2016 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: NL
Contact:

How to get the RGB value from the colorpicker in LUA?

Post by niceandeasy »

I would like to have a way to choose a color from my RGB LED strips, in Domoticz. My RGB-controller is not directly supported by Domoticz but I'm able to control it from LUA.

There's a virtual/dummy RGB switch which has a colorpicker popup. Problem is that this colorpicker does not export it's picked color to LUA or to the API, for all I know. There's proof that Domoticz picks it up: there's an empty switch log entry for every time I pick a color. Also the main Domoticz log shows that I touched it.

So, info on how to pick up that color would be appreciated very much.
If it does not involve buying a fancy expensive rgb gadget, that is. I don't mind having to pick it up from an udp broadcast. No problem. I just need a lead on where to start looking.

So, ANY info about this RGB controller is appreciated. For example, if it's only compatible with Hue or Z-Wave, I'd like to know.

Thanks
niceandeasy
Posts: 102
Joined: Thursday 28 January 2016 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: NL
Contact:

Re: How to get the RGB value from the colorpicker in LUA?

Post by niceandeasy »

Hi,

Does anybody know who coded the dummy RGB sensor?
..Maybe I could contact the programmer directly, for info.

Thanks
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: How to get the RGB value from the colorpicker in LUA?

Post by deennoo »

It's maybe on the way, RGB parts looks to be reworked for next stable.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
niceandeasy
Posts: 102
Joined: Thursday 28 January 2016 22:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8153
Location: NL
Contact:

Re: How to get the RGB value from the colorpicker in LUA?

Post by niceandeasy »

deennoo wrote:It's maybe on the way, RGB parts looks to be reworked for next stable.
Thanks. I know. It's announced in viewtopic.php?f=6&t=10458
Post Reply

Who is online

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