openLuup/AltUI workflow: thermostat problem

Hello AK, thought this a good place to start, hope you don’t mind : ) I have two SRT321 thermostats each controlled by their own separate vera bridged to openLuup. Setpoints are set using altui workflows with TemperatureSetpoint1_Heat.

My question is I would expect Old Forge thermostat TemperatureSetpoint1_Heat values to change, instead I see TemperatureSetpoint1 values changing and not TemperatureSetpoint1_Heat. As you can see the Lodge setpoints are in sync.

Not sure if this part of the log is helpful …

2019-06-19 18:04:56.790   luup_log:6: http://192.168.1.170/port_3480/data_request?id=action&serviceId=urn:upnp-org:serviceId:TemperatureSetpoint1_Heat&action=SetCurrentSetpoint&DeviceNum=60&NewCurrentSetpoint=6
2019-06-19 18:04:56.809   luup_log:3: ALTUI: debug: Wkflow - Workflow:'Old Forge' executeStateScenes(Empty 9.5, onEnterScenes) 
2019-06-19 18:04:56.810   luup_log:3: ALTUI: debug: state.prop {"comment":"","onEnter":[{"device":"0-20060","service":"urn:upnp-org:serviceId:TemperatureSetpoint1_Heat","action":"SetCurrentSetpoint","arguments":[{"name":"NewCurrentSetpoint","value":"6"}]}],"onEnterScenes":[],"stateinfo":{"bStart":false},"onExitLua":"","onExit":[],"onExitScenes":[],"onEnterLua":""}
2019-06-19 18:04:56.810   luup_log:3: ALTUI: debug: Wkflow - armLinkTransitions(3, Old Forge, Empty 9.5 ) 
2019-06-19 18:04:56.810   luup_log:3: ALTUI: debug: Wkflow - getStateTransitions(3)
2019-06-19 18:04:56.810   luup_log:3: ALTUI: debug: Wkflow - getStateTransitions(3) returns 3 transitions
2019-06-19 18:04:56.810   luup_log:3: ALTUI: debug: Wkflow - findStartState(4)
2019-06-19 18:04:56.811   luup_log:3: ALTUI: debug: Wkflow - findStartState(4) returns 5627d153-567b-428e-9ba5-d89b44339ddf
2019-06-19 18:04:56.811   luup_log:3: ALTUI: debug: getWorkflowTriggeredBy(3,0-1,7c355589-471c-4957-a6f9-0e090e6d80b3)
2019-06-19 18:04:56.811   luup_log:3: ALTUI: debug: Wkflow - executeWorkflows(3 , null)
2019-06-19 18:04:56.811   luup_log:3: ALTUI: debug: Wkflow - evalWorkflowState(3, 4), workflow:Old Forge
2019-06-19 18:04:56.811   luup_log:3: ALTUI: debug: Wkflow - findStartState(4)
2019-06-19 18:04:56.811   luup_log:3: ALTUI: debug: Wkflow - findStartState(4) returns 5627d153-567b-428e-9ba5-d89b44339ddf
2019-06-19 18:04:56.812   luup_log:3: ALTUI: debug: Wkflow - active state:7c355589-471c-4957-a6f9-0e090e6d80b3, Empty 9.5
2019-06-19 18:04:56.812   luup_log:3: ALTUI: debug: Wkflow - evaluateStateTransition(3,Start,4)
2019-06-19 18:04:56.812   luup_log:3: ALTUI: debug: Wkflow - link props:{"onEnter":[],"expired":false,"onExit":[],"onEnterLua":"","duration":"0","onEnterScenes":[],"stateinfo":{"bStart":true},"timer":"0sec","conditions":[],"onExitLua":"","onExitScenes":[]}
2019-06-19 18:04:56.813   luup_log:3: ALTUI: debug: Wkflow - link has a timer.
2019-06-19 18:04:56.813   luup_log:3: ALTUI: debug: Wkflow - blocked:, paused:
2019-06-19 18:04:56.813   luup_log:3: ALTUI: debug: Wkflow - getStateTransitions(3)
2019-06-19 18:04:56.813   luup_log:3: ALTUI: debug: Wkflow - getStateTransitions(3) returns 3 transitions
2019-06-19 18:04:56.813   luup_log:3: ALTUI: debug: Wkflow - evaluateStateTransition(3,7am off,4)
2019-06-19 18:04:56.814   luup_log:3: ALTUI: debug: Wkflow - link props:{"schedule":{"enabled":1,"type":2,"name":"7am","id":0,"days_of_week":"1,2,3,4,5,6,7","time":"07:00:00","modeStatus":"0"},"timer":"","duration":"","conditions":[],"smooth":true}
2019-06-19 18:04:56.814   luup_log:3: ALTUI: debug: Wkflow - evaluateStateTransition(3,12.15am,4)
2019-06-19 18:04:56.815   luup_log:3: ALTUI: debug: Wkflow - link props:{"schedule":{"enabled":1,"type":2,"name":"12:15am","id":0,"days_of_week":"1,2,3,4,5,6,7","modeStatus":"0","time":"00:15:00"},"timer":"","duration":"","conditions":[],"smooth":true}
2019-06-19 18:04:56.815   luup_log:3: ALTUI: debug: Wkflow - evaluateStateTransition(3,Boost On,4)
2019-06-19 18:04:56.816   luup_log:3: ALTUI: debug: Wkflow - link props:{"workflows":[],"comment":"","timer":"","conditions":[],"duration":"","smooth":true}
2019-06-19 18:04:56.816   luup_log:3: ALTUI: debug: Wkflow - No valid transition found
2019-06-19 18:04:57.500   luup.variable_set:: 20060.urn:upnp-org:serviceId:TemperatureSetpoint1.AllSetpoints was: 15.000000,9.100000,9.100000 now: 6.000000,9.100000,9.100000 #hooks:0
2019-06-19 18:04:57.501   luup.variable_set:: 20060.urn:upnp-org:serviceId:TemperatureSetpoint1.SetpointTarget was: 15 now: 6 #hooks:0
2019-06-19 18:04:58.215   openLuup.http:: GET /data_request?id=lu_status2&output_format=json&DataVersion=947462321&Timeout=60&MinimumDelay=1500&_=1560950995806 HTTP/1.1 tcp{client}: 0x1a44118
2019-06-19 18:04:59.265   openLuup.http:: GET /data_request?id=lr_ALTUI_Handler&command=getWorkflowsStatus&_=1560950995807 HTTP/1.1 tcp{client}: 0x16ada20
2019-06-19 18:04:59.267   luup_log:3: ALTUI: debug: myALTUI_Handler: request is: ALTUI_Handler
2019-06-19 18:04:59.267   luup_log:3: ALTUI: debug: myALTUI_Handler: parameters is: {"command":"getWorkflowsStatus","_":"1560950995807"}
2019-06-19 18:04:59.268   luup_log:3: ALTUI: debug: lul_html:{"bags":{"0-11":[],"0-10":[],"0-1":[],"0-9":[],"0-5":[],"0-6":[],"0-7":[]},"timers":[],"states":{"0-11":"a05593ad-2f2d-4205-b9e2-3ddcb15cc7ee","0-10":"fe03f2b2-1005-4e22-adb7-2048abc33cb0","0-1":"7c355589-471c-4957-a6f9-0e090e6d80b3","0-9":"6977539b-094b-4f4a-91d4-cac5a8672935","0-5":"c9215665-7b6d-41d5-b728-69b9a564336e","0-6":"76b5638c-70e8-4376-8fd6-8bf4e61fce24","0-7":"8cf00658-dc4f-464f-9b49-529ede8d8d85"}}
2019-06-19 18:04:59.269   openLuup.http:: request completed (415 bytes, 1 chunks, 3 ms) tcp{client}: 0x16ada20
2019-06-19 18:04:59.984   openLuup.http:: request completed (378898 bytes, 24 chunks, 1768 ms) tcp{client}: 0x1a44118
2019-06-19 18:05:00.249   openLuup.http:: GET /data_request?id=user_data&output_format=json&DataVersion=947435571&_=1560950995809 HTTP/1.1 tcp{client}: 0x1a44118
2019-06-19 18:05:01.059   openLuup.http:: request completed (1142149 bytes, 72 chunks, 807 ms) tcp{client}: 0x1a44118
2019-06-19 18:05:01.079   luup.variable_set:: 30023.urn:micasaverde-com:serviceId:ZWaveNetwork1.LastPollSuccess was: 1560963417 now: 1560963897 #hooks:0
2019-06-19 18:05:01.079   luup.variable_set:: 30052.urn:micasaverde-com:serviceId:EnergyMetering1.KWHReading was: 1560963778 now: 1560963898 #hooks:0
2019-06-19 18:05:01.080   openLuup.http:: GET /data_request?id=lr_ALTUI_Handler&command=oscommand&oscommand=cat%20%2Fvar%2Flog%2Fcmh%2FLuaUPnP.log%20%7C%20grep%20-E%20%27%5B0123456789%5D%3A%20ALTUI%3A%20Wkflow%20-%20Workflow%3A%200-1%2C%20Valid%20Transition%20found%27&_=1560950995808 HTTP/1.1 tcp{client}: 0x16ada20
2019-06-19 18:05:01.080   luup_log:3: ALTUI: debug: myALTUI_Handler: request is: ALTUI_Handler
2019-06-19 18:05:01.081   luup_log:3: ALTUI: debug: myALTUI_Handler: parameters is: {"command":"oscommand","oscommand":"cat /var/log/cmh/LuaUPnP.log | grep -E '[0123456789]: ALTUI: Wkflow - Workflow: 0-1, Valid Transition found'","_":"1560950995808"}
2019-06-19 18:05:01.096   openLuup.http:: request completed (706 bytes, 1 chunks, 16 ms) tcp{client}: 0x16ada20
2019-06-19 18:05:02.174   openLuup.http:: GET /console?page=log HTTP/1.1 tcp{client}: 0x1a44118

Hi there

I moved your post to a new topic and reformatted it to make the log readable.

I know nothing about thermostats or AltUI workflows, so I may not be the right person to ask. I’ll take a look and try and understand what you’re saying. It may be that @amg0 is the person to ask, so I mention him here to see if he can comment.

I’m happy to move this topic to AltUI if it turns out to be more appropriately solved there.

2 Likes