Blame | Last modification | View Log | Download
-- this scripts holds all the globally persistent variables and helper functions-- see the documentation in the wiki-- NOTE:-- THERE CAN BE ONLY ONE global_data SCRIPT in your Domoticz install.return {-- global persistent datadata = {myGlobalVar = { initial = 12 }},-- global helper functionshelpers = {myHelperFunction = function(domoticz)-- codeend}}