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

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
jmleglise
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

Post 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
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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest