Lua send setpoint causes script timeout
Posted: Sunday 03 July 2016 13:37
Hi,
I have a Lua 'time' script that times out when it sends a setpoint to a setpoint device.
All other device updates work correctly in this script.
If I comment out the setpoint update the script executes correctly.
I have other scripts that do update setpoints correctly.
From the log, note the (apparently) out-of-sequence entries -
2016-07-03 12:12:02.086 EventSystem: Sending SetPoint to device....
2016-07-03 12:12:11.493 Error: EventSystem: Warning!, lua script Cube has been running for more than 10 seconds
2016-07-03 12:12:02.087 (Max Cube) Thermostat (1062EA setpoint)
2016-07-03 12:12:11.818 EventSystem: Script event triggered: Cube
I have a Lua 'time' script that times out when it sends a setpoint to a setpoint device.
All other device updates work correctly in this script.
If I comment out the setpoint update the script executes correctly.
I have other scripts that do update setpoints correctly.
From the log, note the (apparently) out-of-sequence entries -
2016-07-03 12:12:02.086 EventSystem: Sending SetPoint to device....
2016-07-03 12:12:11.493 Error: EventSystem: Warning!, lua script Cube has been running for more than 10 seconds
2016-07-03 12:12:02.087 (Max Cube) Thermostat (1062EA setpoint)
2016-07-03 12:12:11.818 EventSystem: Script event triggered: Cube