Bedre sent, enn aldri 
{
"Id": "yve3PgV9niQaobE",
"ClassId": "m8ywQff9BZRafzE",
"Author": "",
"Version": 0,
"CreatedAt": "2020-08-26T10:31:13.293899489+02:00",
"UpdatedAt": "2021-06-07T23:09:17.20266839+02:00",
"Name": "Solskjerming",
"Group": "",
"Description": "",
"Nodes": [
{
"Id": "1",
"Type": "trigger",
"Label": "Lux Stue",
"SuccessTransition": "13",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:zw/ad:1/sv:sensor_lumin/ad:97_0",
"Service": "sensor_lumin",
"ServiceInterface": "evt.sensor.report",
"Config": {
"InputVariableType": "",
"IsValueFilterEnabled": false,
"LookupServiceNameAndLocation": false,
"PropFilterName": "",
"PropFilterValue": "",
"RegisterAsVirtualService": false,
"Timeout": 0,
"ValueFilter": {
"Value": null,
"ValueType": ""
},
"ValueJPath": "",
"ValueJPathResultType": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": null
},
"Ui": {
"nodeType": "",
"x": 318,
"y": 170
},
"TypeAlias": "Trigger"
},
{
"Id": "2",
"Type": "if",
"Label": "greater than",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "and",
"LeftVariableIsGlobal": true,
"LeftVariableName": "Lux Stue",
"Operand": "gt",
"RightVariable": {
"Value": 800,
"ValueType": "float"
}
},
{
"BooleanOperator": "and",
"LeftVariableIsGlobal": true,
"LeftVariableName": "screen_activated",
"Operand": "eq",
"RightVariable": {
"Value": "no",
"ValueType": "string"
}
}
],
"FalseTransition": "",
"TrueTransition": "3"
},
"Ui": {
"nodeType": "",
"x": 459,
"y": 539
},
"TypeAlias": "If condition"
},
{
"Id": "3",
"Type": "action",
"Label": "Screen ned",
"SuccessTransition": "10",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:app/rn:vinculum/ad:1",
"Service": "vinculum",
"ServiceInterface": "cmd.pd7.request",
"Config": {
"DefaultValue": {
"Value": {
"cmd": "set",
"component": "shortcut",
"id": 10,
"param": {},
"requestId": 1
},
"ValueType": "object"
},
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": "pt:j1/mt:rsp/rt:app/rn:tpflow/ad:1",
"VariableName": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "vinc_action",
"x": 453,
"y": 735
},
"TypeAlias": "Home mode"
},
{
"Id": "5",
"Type": "if",
"Label": "less",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "and",
"LeftVariableIsGlobal": true,
"LeftVariableName": "Lux Stue",
"Operand": "lt",
"RightVariable": {
"Value": 150,
"ValueType": "float"
}
},
{
"BooleanOperator": "",
"LeftVariableIsGlobal": true,
"LeftVariableName": "screen_activated",
"Operand": "eq",
"RightVariable": {
"Value": "yes",
"ValueType": "string"
}
}
],
"FalseTransition": "2",
"TrueTransition": "14"
},
"Ui": {
"nodeType": "",
"x": 224,
"y": 535
},
"TypeAlias": "If condition"
},
{
"Id": "9",
"Type": "set_variable",
"Label": "screen not activated",
"SuccessTransition": "12",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"DefaultValue": {
"Value": "no",
"ValueType": "string"
},
"Name": "screen_activated",
"UpdateGlobal": true,
"UpdateInputMsg": false
},
"Ui": {
"nodeType": "",
"x": 211,
"y": 1083
},
"TypeAlias": "Set variable"
},
{
"Id": "10",
"Type": "set_variable",
"Label": "screen activated",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"DefaultValue": {
"Value": "yes",
"ValueType": "string"
},
"Name": "screen_activated",
"UpdateGlobal": true,
"UpdateInputMsg": false
},
"Ui": {
"nodeType": "",
"x": 449,
"y": 911
},
"TypeAlias": "Set variable"
},
{
"Id": "12",
"Type": "action",
"Label": "Screen opp",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:app/rn:vinculum/ad:1",
"Service": "vinculum",
"ServiceInterface": "cmd.pd7.request",
"Config": {
"DefaultValue": {
"Value": {
"cmd": "set",
"component": "shortcut",
"id": 11,
"param": {},
"requestId": 1
},
"ValueType": "object"
},
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": "pt:j1/mt:rsp/rt:app/rn:tpflow/ad:1",
"VariableName": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "vinc_action",
"x": 218,
"y": 1240
},
"TypeAlias": "Home mode"
},
{
"Id": "13",
"Type": "set_variable",
"Label": "set lux",
"SuccessTransition": "5",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"DefaultValue": {
"Value": 0,
"ValueType": ""
},
"Name": "Lux Stue",
"UpdateGlobal": true,
"UpdateInputMsg": false
},
"Ui": {
"nodeType": "",
"x": 320,
"y": 345
},
"TypeAlias": "Set variable"
},
{
"Id": "14",
"Type": "wait",
"Label": "10 min",
"SuccessTransition": "15",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": 600000,
"Ui": {
"nodeType": "",
"x": 219,
"y": 739
},
"TypeAlias": "Delay"
},
{
"Id": "15",
"Type": "if",
"Label": "less",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "and",
"LeftVariableIsGlobal": true,
"LeftVariableName": "Lux Stue",
"Operand": "lt",
"RightVariable": {
"Value": 120,
"ValueType": "float"
}
},
{
"BooleanOperator": "",
"LeftVariableIsGlobal": true,
"LeftVariableName": "harmony_stue",
"Operand": "eq",
"RightVariable": {
"Value": false,
"ValueType": "bool"
}
}
],
"FalseTransition": "",
"TrueTransition": "9"
},
"Ui": {
"nodeType": "",
"x": 201,
"y": 908
},
"TypeAlias": "If condition"
},
{
"Id": "16",
"Type": "vinc_trigger",
"Label": "Away",
"SuccessTransition": "21",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"EventType": "mode",
"IsValueFilterEnabled": true,
"Timeout": 0,
"ValueFilter": "away"
},
"Ui": {
"nodeType": "",
"x": 718,
"y": 924
},
"TypeAlias": "Home event"
},
{
"Id": "17",
"Type": "trigger",
"Label": "screen false/true",
"SuccessTransition": "20",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:evt/rt:dev/rn:flow/ad:1/sv:out_bin_switch/ad:HSMbR8iO3beCH4K_00",
"Service": "out_bin_switch",
"ServiceInterface": "evt.binary.report",
"Config": {
"IsValueFilterEnabled": false,
"LookupServiceNameAndLocation": false,
"RegisterAsVirtualService": false,
"Timeout": 0,
"ValueFilter": {
"Value": "true",
"ValueType": "bool"
},
"VirtualServiceGroup": "ch_0",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"x": 844,
"y": 276
},
"TypeAlias": "Trigger"
},
{
"Id": "19",
"Type": "action",
"Label": "Screen ned",
"SuccessTransition": "10",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:out_lvl_switch/ad:73_1",
"Service": "out_lvl_switch",
"ServiceInterface": "cmd.lvl.set",
"Config": {
"DefaultValue": {
"Value": 0,
"ValueType": "int"
},
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": "",
"VariableName": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"x": 811,
"y": 712
},
"TypeAlias": "Action"
},
{
"Id": "20",
"Type": "if",
"Label": "Lux over 150",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "and",
"LeftVariableIsGlobal": false,
"LeftVariableName": "",
"Operand": "eq",
"RightVariable": {
"Value": true,
"ValueType": "bool"
}
},
{
"BooleanOperator": "",
"LeftVariableIsGlobal": true,
"LeftVariableName": "Lux Stue",
"Operand": "gt",
"RightVariable": {
"Value": 150,
"ValueType": "float"
}
}
],
"FalseTransition": "22",
"TrueTransition": "19"
},
"Ui": {
"nodeType": "",
"x": 862,
"y": 476
},
"TypeAlias": "If condition"
},
{
"Id": "21",
"Type": "set_variable",
"Label": "screen not activated",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"DefaultValue": {
"Value": "no",
"ValueType": "string"
},
"Name": "screen_activated",
"UpdateGlobal": true,
"UpdateInputMsg": false
},
"Ui": {
"nodeType": "",
"x": 892,
"y": 1097
},
"TypeAlias": "Set variable"
},
{
"Id": "22",
"Type": "if",
"Label": "Lux under 100",
"SuccessTransition": "",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "",
"Service": "",
"ServiceInterface": "",
"Config": {
"Expression": [
{
"BooleanOperator": "and",
"LeftVariableIsGlobal": false,
"LeftVariableName": "",
"Operand": "eq",
"RightVariable": {
"Value": false,
"ValueType": "bool"
}
},
{
"BooleanOperator": "",
"LeftVariableIsGlobal": true,
"LeftVariableName": "Lux Stue",
"Operand": "lt",
"RightVariable": {
"Value": 100,
"ValueType": "float"
}
}
],
"FalseTransition": "",
"TrueTransition": "23"
},
"Ui": {
"nodeType": "",
"x": 1078,
"y": 479
},
"TypeAlias": "If condition"
},
{
"Id": "23",
"Type": "action",
"Label": "Screen opp",
"SuccessTransition": "21",
"TimeoutTransition": "",
"ErrorTransition": "",
"Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:out_lvl_switch/ad:73_1",
"Service": "out_lvl_switch",
"ServiceInterface": "cmd.lvl.set",
"Config": {
"DefaultValue": {
"Value": 100,
"ValueType": "int"
},
"IsVariableGlobal": false,
"Props": {},
"RegisterAsVirtualService": false,
"ResponseToTopic": "",
"VariableName": "",
"VirtualServiceGroup": "",
"VirtualServiceProps": {}
},
"Ui": {
"nodeType": "",
"x": 1054,
"y": 711
},
"TypeAlias": "Action"
}
],
"Settings": null,
"IsDisabled": false,
"IsDefault": false,
"ParallelExecution": "parallel"
}