Gents, (and Ladies if there are any here)......
Looking for some advice/assistance please.
Has anyone come across the error where the Maxbuddy dometicz script gets 'stuck' when trying to activate a room relay defined in the tasks tab?
It seems to my (non-programmer) eye that the issue occurs when the request to change the relay state occurs when the Cube is in the disconnect state.
Domoticz is running on a Pi. maxbuddy on a laptop running XP.
Here's a small cut of the debug log:-
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: runAgent()
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Hall Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Sitting Room Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Main Bedroom Valve 1 valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Main Bedroom Valve 2 valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Office Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Ben's Room Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Spare Bedroom Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Dining Room Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:15,955] [DEBUG] [Scheduler]: Boiler Control Valve valve: 0 - desired thermostat state: false
[2015-09-18 05:32:19,371] [DEBUG] [ConnectionScheduler]: updateRadiatorThermostatTemperatures()
[2015-09-18 05:32:19,371] [DEBUG] [ConnectionScheduler]: updateWallThermostatTemperatures()
[2015-09-18 05:32:28,571] [DEBUG] [ConnectionScheduler]: disconnect()
[2015-09-18 05:32:34,616] [DEBUG] [Scheduler]: executeScript(Domoticz.js)
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Start run()
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Room = Hall
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Mode = AUTO
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Hall Thermostat
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ1004246
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 20
[2015-09-18 05:32:34,616] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... &svalue=20
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Hall Valve
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ0825873
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 20.2
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SetPointTmp = 20.5
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Valve = 100
[2015-09-18 05:32:34,819] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... value=20.2
[2015-09-18 05:32:34,866] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... 20.5;100;0
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Room = Sitting Room
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Mode = AUTO
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Sitting Room Thermostat
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ1005186
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 19.7
[2015-09-18 05:32:34,913] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... value=19.7
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Sitting Room Valve
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ0826643
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 0
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SetPointTmp = 17.0
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Valve = 0
[2015-09-18 05:32:34,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... 0&svalue=0
[2015-09-18 05:32:35,006] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... e=17.0;0;0
[2015-09-18 05:32:35,038] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
.
.
.
[2015-09-18 05:32:35,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:35,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Room = Manual Boiler Control
[2015-09-18 05:32:35,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Mode = AUTO
[2015-09-18 05:32:35,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Boiler Control Thermostat
[2015-09-18 05:32:35,960] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ1004210
[2015-09-18 05:32:35,975] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:35,975] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 21
[2015-09-18 05:32:35,975] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... &svalue=21
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Manual Boiler Control Relay
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ0826632
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 21
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SetPointTmp = 30.5
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Valve = 100
[2015-09-18 05:32:36,022] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... &svalue=21
[2015-09-18 05:32:36,069] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... 30.5;100;0
[2015-09-18 05:32:36,132] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Room = Boiler Relay
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Mode = MANUAL
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Device = Boiler Control Relay
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SerialNumber = KEQ9010453
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Temperature = 20
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: SetPointTmp = 4.5
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]: Valve = 0
[2015-09-18 05:32:36,147] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... &svalue=20
[2015-09-18 05:32:36,194] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
http://192.168.0.22:8080/json.htm?type= ... ue=4.5;0;0
[2015-09-18 05:32:36,256] [DEBUG] [Script:Domoticz.js]: [Domoticz.js]:
[2015-09-18 05:32:36,303] [DEBUG] [Scheduler]: Script execution time: 1687ms
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: runAgent()
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Hall Valve valve: 100 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Sitting Room Valve valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Main Bedroom Valve 1 valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Main Bedroom Valve 2 valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Office Valve valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Ben's Room Valve valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Spare Bedroom Valve valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Dining Room Valve valve: 0 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Boiler Control Valve valve: 100 - desired thermostat state: true
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: Thermostat is off, but should be on: enabling
[2015-09-18 05:32:46,317] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:47,319] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:48,324] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:49,329] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:50,343] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:51,352] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:52,365] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:53,376] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:54,382] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:55,386] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:56,013] [DEBUG] [AWT-EventQueue-0]: updateHomeMenu()
[2015-09-18 05:32:56,400] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:57,406] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:58,413] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:59,428] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:32:59,930] [DEBUG] [ConnectionScheduler]: ConnectionWatchdog:connect()
<<<<<<<<<<<<<<< Why no connect??
[2015-09-18 05:33:00,430] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:33:01,433] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:33:02,438] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
[2015-09-18 05:33:03,448] [DEBUG] [Scheduler]: LiveConnection#execute() wait for connection...
.
.
.
and on and on until a restart of maxbuddy
I've tried different hardware combinations and can always recreate the problem.
One thought I have had is if I changed the "Thermostat Switch" for a "ETH-002" relay but don't want to buy yet more hardware and find I get the same problem.
I've also played with some timers but nothing has fixed the problem.
Any suggestions much appreciated.
Thanks
Steve