how to change custom variables in domoticz with a lua script?

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.
Post Reply
Erwin
Posts: 9
Joined: Friday 07 April 2017 17:09
Target OS: Windows
Domoticz version:
Contact:

how to change custom variables in domoticz with a lua script?

Post by Erwin » Saturday 03 November 2018 19:23

I want to create a Lua script and to read a custom variable.

How can I access the variables in a lua script as I can use do with switches with "devicechanged" and with "otherdevices_svalues"?

Greetings
Erwin

SweetPants
Posts: 2404
Joined: Friday 12 July 2013 21:24
Target OS: Linux
Domoticz version: V4.10270
Location: The Netherlands
Contact:

Re: how to change custom variables in domoticz with a lua script?

Post by SweetPants » Saturday 03 November 2018 19:31

Check this out: https://www.domoticz.com/wiki/User_variables assuming you mean user variables
Ubuntu 16.04.5 LTS, Intel NUC, MySensors 2.3.0-alpha, Pro Mini 3.3/8M RFM69(HW), ESP8266 (SDK2.2.0), Sonoff, RFLink, RFXcom, MQTT, NodeRed, Domoticz Beta (from source)

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests