Page 1 of 1

688 - Getting in LUA the level of the Virtual Alert device

Posted: Saturday 16 January 2016 15:52
by jmleglise
Hi,

today : otherdevices['Alert device name'] returns nothing ! when otherdevices_svalues['Alert device name'] returns the Text.

I suggest to return the Level (0 to 4) of the Virtual Alert device with otherdevices['Alert device name']

So we can use this virtual device as a variable, and not only for visual purpose.

tracked here : http://www.domoticz.com/forum/tracker.php?p=2&t=688