Jeg prøver å opprette en virtuel bryter hvor jeg kan slå på en “Low Cost Mode.” Når jeg trykker “Run” alt fungerer og variablen er satt begge på og av.
Men når jeg trykker på “Register as Device” får jeg ikke opp en ny device i registry ellers i devices på appen.
Noen tanker?
{
"Id": "e5paHIhXQ4Y1ERL",
"ClassId": "cYVc2Zv6yU1SnoV",
"Author": "espenh.no",
"Version": 0,
"CreatedAt": "2022-09-12T16:52:44.421591318+02:00",
"UpdatedAt": "2022-09-12T16:54:23.001990202+02:00",
"Name": "Low Cost Mode",
"Group": "home controls",
"Description": "Low Cost toggle",
"Nodes": [
{
"Id": "1",
"Type": "trigger",
"Label": "button",
"SuccessTransition": "4",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:flow/ad:1/sv:out_bin_switch/ad:e5paHIhXQ4Y1ERL_0",
"Service": "out_bin_switch",
"ServiceInterface": "cmd.binary.set",
"Config": {
"InputVariableType": "",
"IsValueFilterEnabled": false,
"LookupServiceNameAndLocation": false,
"PropFilterName": "",
"PropFilterValue": "",
"RegisterAsVirtualService": true,
"Timeout": 0,
"ValueFilter": {
"Value": null,
"ValueType": "bool"
},
"ValueJPath": "",
"ValueJPathResultType": "",
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": null
},
"Ui": {
"nodeType": "",
"x": 123,
"y": 211
},
"TypeAlias": "Trigger"
},
{
"Id": "3",
"Type": "set_variable",
"Label": "set low cost variable",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"DefaultValue": {
"Value": 0,
"ValueType": ""
},
"IsVariableInMemory": false,
"Name": "low cost mode",
"UpdateGlobal": true,
"UpdateInputMsg": false
},
"Ui": {
"nodeType": "",
"x": 117,
"y": 533
},
"TypeAlias": "Set variable"
},
{
"Id": "4",
"Type": "action",
"Label": "send response",
"SuccessTransition": "3",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:flow/ad:1/sv:out_bin_switch/ad:e5paHIhXQ4Y1ERL_0",
"Service": "out_bin_switch",
"ServiceInterface": "evt.binary.report",
"Config": {
"DefaultValue": {
"Value": "",
"ValueType": ""
},
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": "",
"VariableName": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"x": 127,
"y": 377
},
"TypeAlias": "Action"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "parallel"
}