create variable via script

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
dre68
Posts: 27
Joined: Friday 30 January 2015 20:18
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

create variable via script

Post by dre68 »

is it possible to create a global variable during the run of a script. example if switch is activated check if variable with name of switch exists, if not create a variable with the name of the switch and set the time switched
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest