Avansert strømprisautomasjon

Her er 4-delt strømprisregler:

{
  "Id": "30f134b0-2c60-11ed-9c5d-d7b3b0b26935",
  "ClassId": "30f134b0-2c60-11ed-9c5d-d7b3b0b26935",
  "Author": "groodal1@gmail.com",
  "Version": 0,
  "CreatedAt": "2022-09-04T14:45:16.79576Z",
  "UpdatedAt": "2022-10-07T21:29:19.359918726+02:00",
  "Name": "Regler Strømpris",
  "Group": "energy_price",
  "Description": "4-delt strømprisordning",
  "Nodes": [
    {
      "Id": "fea5758d-41d2-4a73-b971-416023ab7da3",
      "Type": "trigger",
      "Label": "4-delt strømprisordning",
      "SuccessTransition": "1",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:evt/rt:app/rn:energy_guard/ad:1",
      "Service": "energy_price",
      "ServiceInterface": "evt.energy_price.report",
      "Config": {
        "InputVariableType": null,
        "IsValueFilterEnabled": false,
        "LookupServiceNameAndLocation": false,
        "PropFilterName": "",
        "PropFilterValue": "",
        "RegisterAsVirtualService": false,
        "Timeout": 0,
        "ValueFilter": {
          "Value": null,
          "ValueType": null
        },
        "ValueJPath": null,
        "ValueJPathResultType": null,
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": null,
          "nodeId": null,
          "nodeName": "energy",
          "nodeType": "energy"
        },
        "x": 100,
        "y": 200
      },
      "TypeAlias": "Trigger"
    },
    {
      "Id": "1",
      "Type": "transform",
      "Label": "get average",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": "",
        "IsLVariableGlobal": false,
        "IsRVariableGlobal": false,
        "IsTargetVariableGlobal": false,
        "IsTargetVariableInMemory": false,
        "LVariableName": "",
        "RValue": {
          "Value": 0,
          "ValueType": "int"
        },
        "RVariableName": "",
        "Rtype": "var",
        "TargetVariableName": "",
        "TargetVariableType": "",
        "Template": "",
        "TransformType": "jpath",
        "ValueMapping": [],
        "XPathMapping": [
          {
            "Path": "$.average",
            "TargetVariableName": "average",
            "TargetVariableType": "int",
            "UpdateInputVariable": false
          }
        ]
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": null,
          "nodeId": null,
          "nodeName": "value",
          "nodeType": "energy"
        },
        "x": 100,
        "y": 382
      },
      "TypeAlias": "Transform"
    },
    {
      "Id": "2",
      "Type": "trigger",
      "Label": "",
      "SuccessTransition": "3",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:evt/rt:app/rn:energy_guard/ad:1",
      "Service": "energy_price",
      "ServiceInterface": "evt.energy_price.report",
      "Config": {
        "InputVariableType": null,
        "IsValueFilterEnabled": false,
        "LookupServiceNameAndLocation": false,
        "PropFilterName": "",
        "PropFilterValue": "",
        "RegisterAsVirtualService": false,
        "Timeout": 0,
        "ValueFilter": {
          "Value": null,
          "ValueType": null
        },
        "ValueJPath": null,
        "ValueJPathResultType": null,
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": null,
          "nodeId": null,
          "nodeName": "energy",
          "nodeType": "energy"
        },
        "x": 414,
        "y": 199
      },
      "TypeAlias": "Trigger"
    },
    {
      "Id": "3",
      "Type": "transform",
      "Label": "get price",
      "SuccessTransition": "4",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": "",
        "IsLVariableGlobal": false,
        "IsRVariableGlobal": false,
        "IsTargetVariableGlobal": false,
        "IsTargetVariableInMemory": false,
        "LVariableName": "",
        "RValue": {
          "Value": 0,
          "ValueType": "int"
        },
        "RVariableName": "",
        "Rtype": "var",
        "TargetVariableName": "",
        "TargetVariableType": "",
        "Template": "",
        "TransformType": "jpath",
        "ValueMapping": [],
        "XPathMapping": [
          {
            "Path": "$.price",
            "TargetVariableName": "price",
            "TargetVariableType": "int",
            "UpdateInputVariable": false
          }
        ]
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": null,
          "nodeId": null,
          "nodeName": "value",
          "nodeType": "energy"
        },
        "x": 416,
        "y": 398
      },
      "TypeAlias": "Transform"
    },
    {
      "Id": "4",
      "Type": "wait",
      "Label": "Wait 1s for variable",
      "SuccessTransition": "35",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": 1000,
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": null,
          "nodeId": null,
          "nodeName": "wait",
          "nodeType": "energy"
        },
        "x": 325,
        "y": 637
      },
      "TypeAlias": "Delay"
    },
    {
      "Id": "28",
      "Type": "if",
      "Label": "difference gt 0",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": false,
            "LeftVariableName": "difference",
            "Operand": "gt",
            "RightVariable": {
              "Value": 0,
              "ValueType": "float"
            }
          }
        ],
        "FalseTransition": "34",
        "TrueTransition": "48"
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": {
            "flow_part": "main",
            "node_type": "if_diff"
          },
          "nodeId": null,
          "nodeName": "If",
          "nodeType": "If"
        },
        "x": 497,
        "y": 1087
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "30",
      "Type": "if",
      "Label": "difference gt 0",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": false,
            "LeftVariableName": "difference",
            "Operand": "lt",
            "RightVariable": {
              "Value": 0,
              "ValueType": "float"
            }
          }
        ],
        "FalseTransition": "49",
        "TrueTransition": "45"
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": {
            "flow_part": "main",
            "node_type": "if_diff"
          },
          "nodeId": null,
          "nodeName": "If",
          "nodeType": "If"
        },
        "x": 792,
        "y": 1116
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "31",
      "Type": "if",
      "Label": "difference gt 0",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": false,
            "LeftVariableName": "difference",
            "Operand": "gt",
            "RightVariable": {
              "Value": 0,
              "ValueType": "float"
            }
          }
        ],
        "FalseTransition": "36",
        "TrueTransition": "47"
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": {
            "flow_part": "main",
            "node_type": "if_diff"
          },
          "nodeId": null,
          "nodeName": "If",
          "nodeType": "If"
        },
        "x": 216,
        "y": 1062
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "34",
      "Type": "transform",
      "Label": "price - (average * 0.5)",
      "SuccessTransition": "30",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": "price - (average * 0.5)",
        "IsLVariableGlobal": false,
        "IsRVariableGlobal": false,
        "IsTargetVariableGlobal": false,
        "IsTargetVariableInMemory": false,
        "LVariableName": "average",
        "RValue": {
          "Value": 0,
          "ValueType": "float"
        },
        "RVariableName": "",
        "Rtype": "var",
        "TargetVariableName": "difference",
        "TargetVariableType": "float",
        "Template": "",
        "TransformType": "calc",
        "ValueMapping": [],
        "XPathMapping": []
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": {
            "flow_part": "main",
            "node_type": "transform_calc",
            "threshold": 1
          },
          "nodeId": null,
          "nodeName": "value",
          "nodeType": "energy"
        },
        "x": 789,
        "y": 848
      },
      "TypeAlias": "Transform"
    },
    {
      "Id": "35",
      "Type": "transform",
      "Label": "price - (average * 2.0)",
      "SuccessTransition": "31",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": "price - (average * 2.0)",
        "IsLVariableGlobal": false,
        "IsRVariableGlobal": false,
        "IsTargetVariableGlobal": false,
        "IsTargetVariableInMemory": false,
        "LVariableName": "average",
        "RValue": {
          "Value": 0,
          "ValueType": "float"
        },
        "RVariableName": "",
        "Rtype": "var",
        "TargetVariableName": "difference",
        "TargetVariableType": "float",
        "Template": "",
        "TransformType": "calc",
        "ValueMapping": [],
        "XPathMapping": []
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": {
            "flow_part": "main",
            "node_type": "transform_calc",
            "threshold": 1
          },
          "nodeId": null,
          "nodeName": "value",
          "nodeType": "energy"
        },
        "x": 220,
        "y": 896
      },
      "TypeAlias": "Transform"
    },
    {
      "Id": "36",
      "Type": "transform",
      "Label": "price - (average * 1.5)",
      "SuccessTransition": "28",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": "price - (average * 1.5)",
        "IsLVariableGlobal": false,
        "IsRVariableGlobal": false,
        "IsTargetVariableGlobal": false,
        "IsTargetVariableInMemory": false,
        "LVariableName": "average",
        "RValue": {
          "Value": 0,
          "ValueType": "float"
        },
        "RVariableName": "",
        "Rtype": "var",
        "TargetVariableName": "difference",
        "TargetVariableType": "float",
        "Template": "",
        "TransformType": "calc",
        "ValueMapping": [],
        "XPathMapping": []
      },
      "Ui": {
        "nodeType": "",
        "papp": {
          "customValues": {
            "flow_part": "main",
            "node_type": "transform_calc",
            "threshold": 1
          },
          "nodeId": null,
          "nodeName": "value",
          "nodeType": "energy"
        },
        "x": 502,
        "y": 869
      },
      "TypeAlias": "Transform"
    },
    {
      "Id": "45",
      "Type": "set_variable",
      "Label": "Strømpris Billig",
      "SuccessTransition": "51",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "DefaultValue": {
          "Value": "1",
          "ValueType": "string"
        },
        "IsVariableInMemory": true,
        "Name": "fh.strømpris",
        "UpdateGlobal": true,
        "UpdateInputMsg": false
      },
      "Ui": {
        "nodeType": "",
        "x": 1090,
        "y": 1313
      },
      "TypeAlias": "Set variable"
    },
    {
      "Id": "47",
      "Type": "set_variable",
      "Label": "Strømpris Peak",
      "SuccessTransition": "50",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "DefaultValue": {
          "Value": "4",
          "ValueType": "string"
        },
        "IsVariableInMemory": true,
        "Name": "Strømpris",
        "UpdateGlobal": true,
        "UpdateInputMsg": false
      },
      "Ui": {
        "nodeType": "",
        "x": 221,
        "y": 1318
      },
      "TypeAlias": "Set variable"
    },
    {
      "Id": "48",
      "Type": "set_variable",
      "Label": "Strømpris Høy",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "DefaultValue": {
          "Value": "3",
          "ValueType": "string"
        },
        "IsVariableInMemory": true,
        "Name": "Strømpris",
        "UpdateGlobal": true,
        "UpdateInputMsg": false
      },
      "Ui": {
        "nodeType": "",
        "x": 506,
        "y": 1318
      },
      "TypeAlias": "Set variable"
    },
    {
      "Id": "49",
      "Type": "set_variable",
      "Label": "Strømpris Normal",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "DefaultValue": {
          "Value": "2",
          "ValueType": "string"
        },
        "IsVariableInMemory": true,
        "Name": "Strømpris",
        "UpdateGlobal": true,
        "UpdateInputMsg": false
      },
      "Ui": {
        "nodeType": "",
        "x": 816,
        "y": 1317
      },
      "TypeAlias": "Set variable"
    },
    {
      "Id": "50",
      "Type": "action",
      "Label": "Publish timeline",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:app/rn:time_owl/ad:1",
      "Service": "time_owl",
      "ServiceInterface": "cmd.timeline.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "message_en": "Energy price is now very high",
            "message_no": "Strømprisen er nå veldig høy",
            "sender": "flow"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": true,
        "Props": {},
        "RegisterAsVirtualService": false,
        "VariableName": "fh.strømpris",
        "VariableType": "string",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "timeline_action",
        "x": 219,
        "y": 1510
      },
      "TypeAlias": "Timeline"
    },
    {
      "Id": "51",
      "Type": "action",
      "Label": "Publish timeline",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:app/rn:time_owl/ad:1",
      "Service": "time_owl",
      "ServiceInterface": "cmd.timeline.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "message_en": "Energy price is low",
            "message_no": "Strømprisen er nå lav",
            "sender": "flow"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": true,
        "Props": {},
        "RegisterAsVirtualService": false,
        "VariableName": "fh.strømpris",
        "VariableType": "string",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "timeline_action",
        "x": 1097,
        "y": 1497
      },
      "TypeAlias": "Timeline"
    }
  ],
  "Settings": null,
  "IsDisabled": false,
  "IsDefault": false,
  "ParallelExecution": "parallel"
}
4 Likes

her er automasjon som går ut til aktorer ved ‘home’
denne kan gjøres om å brukes for de andre modusene også!

{
  "Id": "Bl0ZsOskqVEWz6m",
  "ClassId": "Bl0ZsOskqVEWz6m",
  "Author": "Håkon Grødal",
  "Version": 0,
  "CreatedAt": "2022-10-07T21:18:22.112751951+02:00",
  "UpdatedAt": "2022-10-07T21:23:33.274861779+02:00",
  "Name": "Automasjon home",
  "Group": "energy_price",
  "Description": "automasjon til aktorer ved hjemme",
  "Nodes": [
    {
      "Id": "1",
      "Type": "time_trigger",
      "Label": "2 min over hver time",
      "SuccessTransition": "2",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "DefaultMsg": {
          "Value": "",
          "ValueType": ""
        },
        "Expressions": [
          {
            "Comments": "",
            "Expression": "02 * * * *",
            "Name": "syklisk"
          }
        ],
        "GenerateAstroTimeEvents": false,
        "Latitude": 0,
        "Longitude": 0,
        "SunriseTimeOffset": 0,
        "SunsetTimeOffset": 0
      },
      "Ui": {
        "nodeType": "",
        "x": 291,
        "y": 144
      },
      "TypeAlias": "Time trigger"
    },
    {
      "Id": "2",
      "Type": "if",
      "Label": "Home",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": true,
            "LeftVariableName": "fh.home.mode",
            "Operand": "eq",
            "RightVariable": {
              "Value": "home",
              "ValueType": "string"
            }
          }
        ],
        "FalseTransition": "",
        "TrueTransition": "3"
      },
      "Ui": {
        "nodeType": "",
        "x": 286,
        "y": 315
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "3",
      "Type": "if",
      "Label": "Strømpris billig",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": true,
            "LeftVariableName": "Strømpris",
            "Operand": "eq",
            "RightVariable": {
              "Value": "1",
              "ValueType": "string"
            }
          }
        ],
        "FalseTransition": "6",
        "TrueTransition": "7"
      },
      "Ui": {
        "nodeType": "",
        "x": 268,
        "y": 544
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "4",
      "Type": "if",
      "Label": "Strømpris peak",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": true,
            "LeftVariableName": "Strømpris",
            "Operand": "eq",
            "RightVariable": {
              "Value": "4",
              "ValueType": "string"
            }
          }
        ],
        "FalseTransition": "",
        "TrueTransition": "8"
      },
      "Ui": {
        "nodeType": "",
        "x": 1025,
        "y": 496
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "5",
      "Type": "if",
      "Label": "Strømpris høy",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": true,
            "LeftVariableName": "Strømpris",
            "Operand": "eq",
            "RightVariable": {
              "Value": "3",
              "ValueType": "string"
            }
          }
        ],
        "FalseTransition": "4",
        "TrueTransition": "9"
      },
      "Ui": {
        "nodeType": "",
        "x": 774,
        "y": 517
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "6",
      "Type": "if",
      "Label": "Strømpris normal",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "",
      "Service": "",
      "ServiceInterface": "",
      "Config": {
        "Expression": [
          {
            "BooleanOperator": "",
            "LeftVariableIsGlobal": true,
            "LeftVariableName": "Strømpris",
            "Operand": "eq",
            "RightVariable": {
              "Value": "2",
              "ValueType": "string"
            }
          }
        ],
        "FalseTransition": "5",
        "TrueTransition": "10"
      },
      "Ui": {
        "nodeType": "",
        "x": 524,
        "y": 539
      },
      "TypeAlias": "If condition"
    },
    {
      "Id": "7",
      "Type": "action",
      "Label": "Heatit Bad 27",
      "SuccessTransition": "11",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:11_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "27",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 260,
        "y": 750
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "8",
      "Type": "action",
      "Label": "Heatit Bad 24",
      "SuccessTransition": "12",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:11_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "24",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 1026,
        "y": 749
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "9",
      "Type": "action",
      "Label": "Heatit Bad 25",
      "SuccessTransition": "13",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:11_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "25",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 777,
        "y": 750
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "10",
      "Type": "action",
      "Label": "Heatit Bad 26",
      "SuccessTransition": "14",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:11_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "26",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 524,
        "y": 749
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "11",
      "Type": "action",
      "Label": "Heatit gang 26",
      "SuccessTransition": "15",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:12_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "26",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 249,
        "y": 949
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "12",
      "Type": "action",
      "Label": "Heatit gang 23",
      "SuccessTransition": "16",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:12_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "23",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 1035,
        "y": 951
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "13",
      "Type": "action",
      "Label": "Heatit gang 24",
      "SuccessTransition": "17",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:12_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "24",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 781,
        "y": 952
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "14",
      "Type": "action",
      "Label": "Heatit gang 25",
      "SuccessTransition": "18",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:thermostat/ad:12_1",
      "Service": "thermostat",
      "ServiceInterface": "cmd.setpoint.set",
      "Config": {
        "DefaultValue": {
          "Value": {
            "temp": "25",
            "type": "heat",
            "unit": "C"
          },
          "ValueType": "str_map"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 524,
        "y": 951
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "15",
      "Type": "action",
      "Label": "VVB på",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:out_bin_switch/ad:33_0",
      "Service": "out_bin_switch",
      "ServiceInterface": "cmd.binary.set",
      "Config": {
        "DefaultValue": {
          "Value": true,
          "ValueType": "bool"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 245,
        "y": 1140
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "16",
      "Type": "action",
      "Label": "VVB av",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:out_bin_switch/ad:33_0",
      "Service": "out_bin_switch",
      "ServiceInterface": "cmd.binary.set",
      "Config": {
        "DefaultValue": {
          "Value": false,
          "ValueType": "bool"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 1046,
        "y": 1142
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "17",
      "Type": "action",
      "Label": "VVB av",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:out_bin_switch/ad:33_0",
      "Service": "out_bin_switch",
      "ServiceInterface": "cmd.binary.set",
      "Config": {
        "DefaultValue": {
          "Value": false,
          "ValueType": "bool"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 787,
        "y": 1140
      },
      "TypeAlias": "Action"
    },
    {
      "Id": "18",
      "Type": "action",
      "Label": "VVB på",
      "SuccessTransition": "",
      "TimeoutTransition": "",
      "ErrorTransition": "",
      "Address": "pt:j1/mt:cmd/rt:dev/rn:zw/ad:1/sv:out_bin_switch/ad:33_0",
      "Service": "out_bin_switch",
      "ServiceInterface": "cmd.binary.set",
      "Config": {
        "DefaultValue": {
          "Value": true,
          "ValueType": "bool"
        },
        "IsVariableGlobal": false,
        "Props": {},
        "RegisterAsVirtualService": false,
        "ResponseToTopic": "",
        "VariableName": "",
        "VirtualServiceGroup": "",
        "VirtualServiceProps": {}
      },
      "Ui": {
        "nodeType": "",
        "x": 519,
        "y": 1137
      },
      "TypeAlias": "Action"
    }
  ],
  "Settings": null,
  "IsDisabled": false,
  "IsDefault": false,
  "ParallelExecution": "parallel"
}
5 Likes