Lua scripts not called
Posted: Sunday 15 November 2015 21:19
Hi,
I'm running domoticz v2.3598 on CentOs 7.1. I've just started exploring the functionality of lua scripts, but am running into a problem: the lua script doesn't seem to be called.
I've created the following file: /opt/domoticz/scripts/lua/script_time_blaat.lua with the following content:
My expectation was that, every minute, a log entry in domoticz would appear (Setup->Log). But this is not the case, the only lines related to the EventSystem are the following:
Am I missing something trivial here?
I've checked the permissions on both the file and underlying folders, but can't seem to find anything out of the ordinary (owned by the daemon user+group, -rwxr--r--)
I'm running domoticz v2.3598 on CentOs 7.1. I've just started exploring the functionality of lua scripts, but am running into a problem: the lua script doesn't seem to be called.
I've created the following file: /opt/domoticz/scripts/lua/script_time_blaat.lua with the following content:
Code: Select all
print('script loaded')
commandArray = {}
return commandArray
Code: Select all
2015-11-15 21:07:01.972 EventSystem: reset all device statuses...
2015-11-15 21:07:01.972 EventSystem: Started
I've checked the permissions on both the file and underlying folders, but can't seem to find anything out of the ordinary (owned by the daemon user+group, -rwxr--r--)