Search found 4 matches
- Sunday 15 November 2015 22:37
- Forum: LUA
- Topic: Lua scripts not called
- Replies: 6
- Views: 1284
Re: Lua scripts not called
I've just did some debugging on the EventSystem.cpp file, and discovered what was wrong. I'm using the XFS filesystem, and as it turns out, d_type never returns the correct value with XFS ( source ). Since the d_type is used in EventSystem.cpp to differentiate between real files and directories, all ...
- Sunday 15 November 2015 21:50
- Forum: LUA
- Topic: Lua scripts not called
- Replies: 6
- Views: 1284
Re: Lua scripts not called
Affirmative. Running the script (lua script_time_blaat.lua) from the user-context (su domoticz) prints the line of text perfectly in the command-line.
- Sunday 15 November 2015 21:36
- Forum: LUA
- Topic: Lua scripts not called
- Replies: 6
- Views: 1284
Re: Lua scripts not called
That is indeed what should happen. You do have the option in Setup/Setting/Other for EventSystem (Lua/Blockly/Scripts): Disabled: deselected? Jos Yeah, sorry, I indeed have that checkbox un checked in the settings dialog. Apart from that, I couldn't find any place with instructions. I've also ...
- Sunday 15 November 2015 21:19
- Forum: LUA
- Topic: Lua scripts not called
- Replies: 6
- Views: 1284
Lua scripts not called
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: print ...