getting the color index of an alert sensor 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
badubo
Posts: 4
Joined: Thursday 03 July 2014 20:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

getting the color index of an alert sensor in lua

Post by badubo »

Hello,
evererything is in the title ;)

in the forum, I saw how to update an alert sensor or get the value by JSON, but not how to get the color level from lua.

I tried :
otherdevices : empty
otherdevices_utility : empty
otherdevices_svalues : I get the text, not the color

Any help?

Thanks
Laurent
malarcy
Posts: 50
Joined: Sunday 15 November 2015 13:36
Target OS: Linux
Domoticz version:
Contact:

Re: getting the color index of an alert sensor in lua

Post by malarcy »

Wild guess based on a little reading. Is there an otherdevices_nvalues?

My limited understanding is nvalues are the numbers svalues are strings.

Of course I may be completely wrong but that's where I would look next.


Sent from my iPhone using Tapatalk
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests