Page 2 of 2

Re: LUA Script: Time how much a device is ON

Posted: Monday 03 June 2019 12:32
by gajotnt
Domoticz V4.10854, also started having trouble with this script :(

Re: LUA Script: Time how much a device is ON

Posted: Tuesday 29 December 2020 12:46
by Matthiasfr
Is this script still working?
How do I add the timer device?

Re: LUA Script: Time how much a device is ON

Posted: Wednesday 05 May 2021 20:45
by jacobsentertainment
Installed all required items as proposed but get no results, only error in the log is

Code: Select all

 2021-05-05 20:42:00.365 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_switch-timer.lua: /home/pi/domoticz/scripts/lua/script_time_switch-timer.lua:45: ')' expected near ';'

I got no clue what this means :shock: Anyone has some suggestions?