Build-in Lua script editor is counting too fast

Moderator: leecollings

Post Reply
ruben86
Posts: 4
Joined: Tuesday 02 June 2015 23:42
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.1
Location: Netherlands
Contact:

Build-in Lua script editor is counting too fast

Post by ruben86 »

Hi all! Lately I have pasted the following irrigation script in the build in script editor. https://www.domoticz.com/wiki/Garden_Irrigation
It all works fine, but it seems that the count down is counting way to fast.
It looks like 4 minutes will be count as 2 seconds.

I also tested it with another time based script, but this script is also running too fast.
Has anyone an idea how to solve this?

Thanks!
User avatar
jvdz
Posts: 2269
Joined: Tuesday 30 December 2014 19:25
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.107
Location: Netherlands
Contact:

Re: Build-in Lua script editor is counting too fast

Post by jvdz »

Have you changed the dropdownbox below the LUA box from All to Time?

Jos
New Garbage collection scripts: https://github.com/jvanderzande/GarbageCalendar
ruben86
Posts: 4
Joined: Tuesday 02 June 2015 23:42
Target OS: Raspberry Pi / ODroid
Domoticz version: V2020.1
Location: Netherlands
Contact:

Re: Build-in Lua script editor is counting too fast

Post by ruben86 »

No, I didn't noticed the dropbox! Thanks a lot for your answer, I think this should work :D

Update: This is the solution! :D
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests