Search found 1 match
- Saturday 10 October 2015 17:56
- Forum: Suggestions
- Topic: Enable/disable timer from events / LUA script
- Replies: 10
- Views: 8536
Re: Enable/disable timer from events / LUA script
I have an Arch Linux It works with this workaround :-) ENABLE in LUA script (script_device_xxx.lua): os.execute ("/opt/domoticz/scripts/sql.sh 24 1") 24 is idx 1 is Activate then in SH script (sql.sh): #!/bin/bash sqlite3 -header /opt/domoticz/domoticz.db "UPDATE SetPointTimers SET Active = $2 WHERE ...