Logic Machine Forum
sheduler unreliable - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: sheduler unreliable (/showthread.php?tid=5978)



sheduler unreliable - Kris D - 02.05.2025

Lights are switching based upon the sheduler.
Now and then the lights are not swithed.  This only happens once each year, but now the frequency has increased to weekly.  
Usually it works after bakc after a day, so it is really only one missed communication.
The object log shows that the sheduler did not send the on-off message.

This happens very infrequent.

The unit has been restarted and has the SW 2,8,8.

What could be the issue

It is only the sheduler that is related to sunset sundown that shows the problem / all the other shedulers related to a fixed timing are working well

The sunset and sundown  and current times are logged and this is fine


RE: sheduler unreliable - Daniel - 02.05.2025

Any errors in error log?


RE: sheduler unreliable - Kris D - 02.05.2025

cannot open /tmp/scripting/47.lua: No such file or directory

An switch on-off timer is also not functioning anymore

The timers that give the problem are marked in red in the visual


RE: sheduler unreliable - Daniel - 02.05.2025

How old is this device?
Check system uptime - System- Status-System status


RE: sheduler unreliable - Kris D - 02.05.2025

(02.05.2025, 11:08)Daniel Wrote: How old is this device?
Check system uptime - System- Status-System status



RE: sheduler unreliable - Daniel - 02.05.2025

Did you restart the system recently?


RE: sheduler unreliable - Kris D - 02.05.2025

Yes, I guess I restarted it a few times in the past weeks -
After a restart all worked well for a certain moment. (1-2..7 days)


RE: sheduler unreliable - Daniel - 02.05.2025

The system was restarted 1h and 42 minutes ago. What does the Alert tab says.


RE: sheduler unreliable - Kris D - 02.05.2025

Alert tabs only contains System start

meanwhile FM3.0 has been installed. The issue stays on the delay timer. it does not switch off as indicated by the delay setting


RE: sheduler unreliable - Daniel - 02.05.2025

In general what you do there is very bad design, having so long delay on event action is not recommended. You should use this instead.
https://kb.logicmachine.net/scripting/on-off-delay-timer/