Hei og takk for svar, jeg satt en god stund og prøvde meg frem i helgen, men fikk kun til å endre temperatur på den måten.
Jeg fant dog ut at jeg kunne endre modus med en egen action etterpå
Jeg legger med koden jeg endte opp med.
Dette er dog for å sette temperatur og modus på to forskjellige varmepumper.
{
"Id": "fe69c410-ea8f-11ec-b8a8-a9a0171eec98",
"ClassId": "fe69c410-ea8f-11ec-b8a8-a9a0171eec98",
"Author": "Tommy",
"Version": 0,
"CreatedAt": "2022-06-12T20:41:11.121405Z",
"UpdatedAt": "2022-06-12T23:15:39.996500205+02:00",
"Name": "Varmepumpe kjoling",
"Group": "Varmepumpe",
"Description": "VP Kjeller kjoling 30c, VP Stue kjoling 25c",
"Nodes": [
{
"Id": "67",
"Type": "action",
"Label": "send cooling setpoint of VP Stue to 25.0",
"SuccessTransition": "70",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:sensibo/ad:1/sv:thermostat/ad:8GLPPh62_0",
"Service": "thermostat",
"ServiceInterface": "cmd.setpoint.set",
"Config": {
"DefaultValue": {
"Value": {
"temp": "25",
"type": "cool",
"unit": "C"
},
"ValueType": "str_map"
},
"IsVariableGlobal": false,
"LookupServiceNameAndLocation": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": null,
"VariableName": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "78",
"nodeName": "device",
"nodeType": "deviceAction"
},
"x": 820,
"y": 244
},
"TypeAlias": "Action"
},
{
"Id": "68",
"Type": "action",
"Label": "send cooling setpoint of VP Kjellerstue to 30.0",
"SuccessTransition": "71",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:sensibo/ad:1/sv:thermostat/ad:Hf6dwSCK_0",
"Service": "thermostat",
"ServiceInterface": "cmd.setpoint.set",
"Config": {
"DefaultValue": {
"Value": {
"temp": "30",
"type": "cool",
"unit": "C"
},
"ValueType": "str_map"
},
"IsVariableGlobal": false,
"LookupServiceNameAndLocation": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": null,
"VariableName": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "93",
"nodeName": "device",
"nodeType": "deviceAction"
},
"x": 790,
"y": 638
},
"TypeAlias": "Action"
},
{
"Id": "69",
"Type": "vinc_trigger",
"Label": "Home event trigger",
"SuccessTransition": "67",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"EventType": "shortcut",
"IsValueFilterEnabled": true,
"Timeout": 0,
"ValueFilter": "10"
},
"Ui": {
"nodeType": "",
"x": 824,
"y": 71
},
"TypeAlias": "Home event"
},
{
"Id": "70",
"Type": "action",
"Label": "send cooling mode to VP Stue",
"SuccessTransition": "68",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:sensibo/ad:1/sv:thermostat/ad:8GLPPh62_0",
"Service": "thermostat",
"ServiceInterface": "cmd.mode.set",
"Config": {
"DefaultValue": {
"Value": "cool",
"ValueType": "string"
},
"IsVariableGlobal": false,
"LookupServiceNameAndLocation": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": null,
"VariableName": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "78",
"nodeName": "device",
"nodeType": "deviceAction"
},
"x": 817,
"y": 423
},
"TypeAlias": "Action"
},
{
"Id": "71",
"Type": "action",
"Label": "send cooling mode to VP Kjellerstue",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:sensibo/ad:1/sv:thermostat/ad:Hf6dwSCK_0",
"Service": "thermostat",
"ServiceInterface": "cmd.mode.set",
"Config": {
"DefaultValue": {
"Value": "cool",
"ValueType": "string"
},
"IsVariableGlobal": false,
"LookupServiceNameAndLocation": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": null,
"VariableName": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"papp": {
"customValues": null,
"nodeId": "78",
"nodeName": "device",
"nodeType": "deviceAction"
},
"x": 793,
"y": 823
},
"TypeAlias": "Action"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "parallel"
}