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
688 - Getting in LUA the level of the Virtual Alert device
Moderators: leecollings, remb0
-
- Posts: 192
- Joined: Monday 12 January 2015 23:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.1
- Location: FRANCE
- Contact:
688 - Getting in LUA the level of the Virtual Alert device
My script : https://github.com/jmleglise
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
RFXTRX433E: Blind Somfy RTS, Portal Somfy Evolvia, chacon IO, Oregon, PIR sensor PT2262
My Last project : Location de vacances a Ouistreham vue mer
KMTronic USB relay
Chinese Z-WAVE: Neo CoolCam
Who is online
Users browsing this forum: No registered users and 1 guest