Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "47c37038d8e6b38f",
- "type": "tab",
- "label": "Fronius SUMMER",
- "disabled": false,
- "info": "",
- "env": []
- },
- {
- "id": "b2e20cf42352b88d",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "BATTERY INSTRUCTIONS",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "3e09d4ced3c86e35",
- "7d8bdc5cb7c4d4f7",
- "ed43f93d33a1a59a",
- "59fc0e24e725529f",
- "345cde89d835a024"
- ],
- "x": 1768,
- "y": 213,
- "w": 604,
- "h": 654
- },
- {
- "id": "67efc426c44adbea",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Write changes!",
- "style": {
- "label": true
- },
- "nodes": [
- "25a16cd6e093f0db",
- "3bc045cab0462f7b",
- "390c78de6c45fd57",
- "2d46f5f9c7a1342b"
- ],
- "x": 2894,
- "y": 459,
- "w": 672,
- "h": 122
- },
- {
- "id": "14db1722437b2f45",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Payload",
- "style": {
- "label": true
- },
- "nodes": [
- "a587bcbe10cdf408"
- ],
- "x": 2554,
- "y": 479,
- "w": 292,
- "h": 82
- },
- {
- "id": "5dd4d8970b5dee27",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Button Control",
- "style": {
- "label": true,
- "stroke": "#6f2fa0",
- "color": "#000000"
- },
- "nodes": [
- "dd9f9685c127cba6",
- "0b27733ee1db73bb",
- "c5550666ff48ba7d",
- "0293a376a3c3bb7c"
- ],
- "x": 1214,
- "y": 19,
- "w": 252,
- "h": 262
- },
- {
- "id": "b30643153aa103b4",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Check spot price to calculate peaks",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "b56f8e6c6944d662",
- "50508e8af901cb3a",
- "eaaabeb6bad78922",
- "5ead91b698452d8f",
- "40a4842216e82a10",
- "15c0cd46d14ef0b7",
- "331a81ba20be90fb",
- "18654bf66cea722f"
- ],
- "x": 34,
- "y": 19,
- "w": 1152,
- "h": 162
- },
- {
- "id": "b34a02d6a2c8600a",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "HOLD when car starts charging",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "c2d4e209bff436d0",
- "20159cd45f63a4cd"
- ],
- "x": 34,
- "y": 219,
- "w": 252,
- "h": 142
- },
- {
- "id": "e2696b5907bf6134",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Set to NORMAL at 7:00",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "d7ac8cb75a6aab74"
- ],
- "x": 34,
- "y": 399,
- "w": 172,
- "h": 82
- },
- {
- "id": "55721850c1a5939a",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Always MAX DISCHARGE at peak",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "6d064d5adb076b40",
- "a46cb0f964de6dcb"
- ],
- "x": 34,
- "y": 639,
- "w": 572,
- "h": 82
- },
- {
- "id": "f1528564d3315165",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "Charge car when sun shines!",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "08de5d47e1f5caf0",
- "7a43ec058f0d0270",
- "8dac98ce780f4e23",
- "97c75b49241005da",
- "c0443c2d56c691d9",
- "642712c63c88ecfb",
- "32a6e8cc398a5b2f",
- "6663f4c6f6b2c347"
- ],
- "x": 34,
- "y": 839,
- "w": 1192,
- "h": 362
- },
- {
- "id": "0ee20f2b17f69cb2",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "name": "CHARGE battery when -10 öre",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "dd53cadf8f79b275",
- "c4bc4f515dd2fe23"
- ],
- "x": 34,
- "y": 519,
- "w": 592,
- "h": 82
- },
- {
- "id": "3e09d4ced3c86e35",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "g": "b2e20cf42352b88d",
- "name": "NORMAL",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "e6a78ae366723d0d",
- "a0ef05d4128e01be"
- ],
- "x": 1794,
- "y": 339,
- "w": 492,
- "h": 82
- },
- {
- "id": "7d8bdc5cb7c4d4f7",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "g": "b2e20cf42352b88d",
- "name": "FORCED CHARGE",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "c630c2b9bd8f82a5",
- "bc3f2932aa99de20",
- "3b351859da7be34c",
- "4e7ce73d4b6ddbbc"
- ],
- "x": 1794,
- "y": 439,
- "w": 492,
- "h": 142
- },
- {
- "id": "ed43f93d33a1a59a",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "g": "b2e20cf42352b88d",
- "name": "HOLD (No charge or discharge)",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "f303013a077c1088",
- "4e5a5cb3ec4da8b3"
- ],
- "x": 1794,
- "y": 599,
- "w": 492,
- "h": 82
- },
- {
- "id": "59fc0e24e725529f",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "g": "b2e20cf42352b88d",
- "name": "FORCED DISCHARGE",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "c60dff6c3c0eea08",
- "e7ac98d6df188867",
- "74921ce4ba346873",
- "29c0e0b7e7356e23"
- ],
- "x": 1794,
- "y": 699,
- "w": 492,
- "h": 142
- },
- {
- "id": "345cde89d835a024",
- "type": "group",
- "z": "47c37038d8e6b38f",
- "g": "b2e20cf42352b88d",
- "name": "POWER FROM SUN",
- "style": {
- "label": true,
- "color": "#000000"
- },
- "nodes": [
- "783a661dd9e50fd6",
- "d4028f5212870a32"
- ],
- "x": 1794,
- "y": 239,
- "w": 552,
- "h": 82
- },
- {
- "id": "474f0e386faff0e9",
- "type": "junction",
- "z": "47c37038d8e6b38f",
- "x": 900,
- "y": 340,
- "wires": [
- [
- "d4028f5212870a32"
- ]
- ]
- },
- {
- "id": "c2d4e209bff436d0",
- "type": "ha-time",
- "z": "47c37038d8e6b38f",
- "g": "b34a02d6a2c8600a",
- "name": "TESLA START (NOW)",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.tesla_start_charging_time",
- "property": "",
- "offset": "",
- "offsetType": "num",
- "offsetUnits": "hours",
- "randomOffset": false,
- "repeatDaily": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "sunday": true,
- "monday": true,
- "tuesday": true,
- "wednesday": true,
- "thursday": true,
- "friday": true,
- "saturday": true,
- "x": 160,
- "y": 320,
- "wires": [
- [
- "474f0e386faff0e9"
- ]
- ]
- },
- {
- "id": "77abacd4f5281849",
- "type": "debug",
- "z": "47c37038d8e6b38f",
- "name": "IS SOMETHING WRITTEN?",
- "active": true,
- "tosidebar": true,
- "console": true,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "payload",
- "statusType": "auto",
- "x": 3190,
- "y": 660,
- "wires": []
- },
- {
- "id": "3263280189b95907",
- "type": "inject",
- "z": "47c37038d8e6b38f",
- "name": "",
- "props": [
- {
- "p": "payload"
- },
- {
- "p": "topic",
- "vt": "str"
- }
- ],
- "repeat": "",
- "crontab": "",
- "once": false,
- "onceDelay": 0.1,
- "topic": "",
- "payload": "",
- "payloadType": "date",
- "x": 2960,
- "y": 660,
- "wires": [
- [
- "77abacd4f5281849"
- ]
- ]
- },
- {
- "id": "20159cd45f63a4cd",
- "type": "ha-time",
- "z": "47c37038d8e6b38f",
- "g": "b34a02d6a2c8600a",
- "name": "VW START (NOW)",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.volkswagen_start_charging_time",
- "property": "",
- "offset": "10",
- "offsetType": "num",
- "offsetUnits": "seconds",
- "randomOffset": false,
- "repeatDaily": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "sunday": true,
- "monday": true,
- "tuesday": true,
- "wednesday": true,
- "thursday": true,
- "friday": true,
- "saturday": true,
- "x": 150,
- "y": 260,
- "wires": [
- [
- "474f0e386faff0e9"
- ]
- ]
- },
- {
- "id": "a46cb0f964de6dcb",
- "type": "ha-time",
- "z": "47c37038d8e6b38f",
- "g": "55721850c1a5939a",
- "name": "MAX DISCHARGE @ PEAK",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.peak_48_hours_time",
- "property": "",
- "offset": "2",
- "offsetType": "num",
- "offsetUnits": "minutes",
- "randomOffset": false,
- "repeatDaily": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "sunday": true,
- "monday": true,
- "tuesday": true,
- "wednesday": true,
- "thursday": true,
- "friday": true,
- "saturday": true,
- "x": 180,
- "y": 680,
- "wires": [
- [
- "6d064d5adb076b40"
- ]
- ]
- },
- {
- "id": "6d064d5adb076b40",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "55721850c1a5939a",
- "name": "PEAK PRICE (max_peak)",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "max_peak",
- "halt_if_type": "flow",
- "halt_if_compare": "gt",
- "entity_id": "sensor.peak_48_hours_price",
- "state_type": "str",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 470,
- "y": 680,
- "wires": [
- [],
- [
- "29c0e0b7e7356e23"
- ]
- ]
- },
- {
- "id": "b56f8e6c6944d662",
- "type": "ha-time",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "TESLA START +1H",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.tesla_start_charging_time",
- "property": "",
- "offset": "61",
- "offsetType": "num",
- "offsetUnits": "minutes",
- "randomOffset": false,
- "repeatDaily": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "sunday": true,
- "monday": true,
- "tuesday": true,
- "wednesday": true,
- "thursday": true,
- "friday": true,
- "saturday": true,
- "x": 150,
- "y": 140,
- "wires": [
- [
- "eaaabeb6bad78922"
- ]
- ]
- },
- {
- "id": "50508e8af901cb3a",
- "type": "ha-time",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "VW START +1H",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.volkswagen_start_charging_time",
- "property": "",
- "offset": "61",
- "offsetType": "num",
- "offsetUnits": "minutes",
- "randomOffset": false,
- "repeatDaily": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "sunday": true,
- "monday": true,
- "tuesday": true,
- "wednesday": true,
- "thursday": true,
- "friday": true,
- "saturday": true,
- "x": 140,
- "y": 80,
- "wires": [
- [
- "eaaabeb6bad78922"
- ]
- ]
- },
- {
- "id": "e6a78ae366723d0d",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "3e09d4ced3c86e35",
- "name": "NORMAL",
- "func": "\nmsg.StorCtl_Mod = \"0\"\nmsg.OutWRte = \"10000\"\nmsg.InWRte = \"10000\"\n\nmsg.newstate = \"normal\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2200,
- "y": 380,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ],
- "info": "This puts the battery in normal operation.\nMeaningn that it will both charge and discharge to\nits set limits at 100%,\n"
- },
- {
- "id": "a0ef05d4128e01be",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "3e09d4ced3c86e35",
- "name": "OutWRte already 100?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "100",
- "halt_if_type": "num",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_outwrte",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1920,
- "y": 380,
- "wires": [
- [],
- [
- "e6a78ae366723d0d"
- ]
- ]
- },
- {
- "id": "c630c2b9bd8f82a5",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "7d8bdc5cb7c4d4f7",
- "name": "3000W CHARGE",
- "func": "msg.StorCtl_Mod = \"2\"\n// 4500W (65536-3000)\nmsg.OutWRte = \"62536\"\n\nmsg.newstate = \"forcecharge3000w\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2170,
- "y": 480,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ],
- "info": "Example 1: Only permit energy storage charging\nThis behavior can be achieved by limiting the maximum discharge capacity to 0%\n=> results in window [-3300 W, 0 W]\n- OutWRte = 0% (set discharge limit of WchaMax to 0%)\n- StorCtl_Mod = 2 (activates discharge limit, bit pattern: 10)\n- InWRte is not relevant in this case"
- },
- {
- "id": "bc3f2932aa99de20",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "7d8bdc5cb7c4d4f7",
- "name": "4500W CHARGE",
- "func": "msg.StorCtl_Mod = \"2\"\n// 4500W (65536-1500)\nmsg.OutWRte = \"61036\"\n\nmsg.newstate = \"forcecharge1500w\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2170,
- "y": 540,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ],
- "info": "Example 5: Charging in the range of 50% to 75% of the nominal power\nThis behavior can be achieved by limiting the maximum charge capacity to 75%\nand the maximum discharge capacity to -50%\n=> results in window [1650 W, 2475 W]\n- InWRte = 75% (set charge limit of WchaMax to 75%)\n- OutWRte = -50% (set discharge limit of WchaMax to -50%)\n- StorCtl_Mod = 3 (activate both limit values, bit pattern: 11)\n- Battery status in Fronius Solar.web will change to Forced Recharge"
- },
- {
- "id": "3b351859da7be34c",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "7d8bdc5cb7c4d4f7",
- "name": "OutWRte already -45?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "-45",
- "halt_if_type": "num",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_outwrte",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1920,
- "y": 540,
- "wires": [
- [],
- [
- "bc3f2932aa99de20"
- ]
- ]
- },
- {
- "id": "4e7ce73d4b6ddbbc",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "7d8bdc5cb7c4d4f7",
- "name": "OutWRte already -30?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "-30",
- "halt_if_type": "num",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_outwrte",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1920,
- "y": 480,
- "wires": [
- [],
- [
- "c630c2b9bd8f82a5"
- ]
- ]
- },
- {
- "id": "f303013a077c1088",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "ed43f93d33a1a59a",
- "name": "HOLD",
- "func": "msg.StorCtl_Mod = \"3\"\nmsg.OutWRte = \"0\"\nmsg.InWRte = \"0\"\n\nmsg.newstate = \"hold_state\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2210,
- "y": 640,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ],
- "info": "Example 3: Do not permit charging or discharging\nThis behavior can be achieved by limiting the maximum charge capacity to 0%\nand the maximum discharge capacity to 0%\n=> results in window [0 W, 0 W]\n- InWRte = 0% (set charge limit of WchaMax to 0%)\n- OutWRte = 0% (set discharge limit of WchaMax to 0%)\n- StorCtl_Mod = 3 (activate both limit values, bit pattern: 11)"
- },
- {
- "id": "4e5a5cb3ec4da8b3",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "ed43f93d33a1a59a",
- "name": "ChaSt already HOLDING?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "HOLDING",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_chast",
- "state_type": "str",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1940,
- "y": 640,
- "wires": [
- [],
- [
- "f303013a077c1088"
- ]
- ]
- },
- {
- "id": "c60dff6c3c0eea08",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "59fc0e24e725529f",
- "name": "2000W DISCHARGE",
- "func": "msg.StorCtl_Mod = \"1\"\n// 65536 - 1500\nmsg.InWRte = \"63536\"\n\nmsg.newstate = \"1kWdischarge\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2160,
- "y": 740,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ]
- },
- {
- "id": "e7ac98d6df188867",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "59fc0e24e725529f",
- "name": "InWRte already -20?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "-20",
- "halt_if_type": "num",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_inwrte",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1920,
- "y": 740,
- "wires": [
- [],
- [
- "c60dff6c3c0eea08"
- ]
- ]
- },
- {
- "id": "74921ce4ba346873",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "59fc0e24e725529f",
- "name": "4500W DISCHARGE",
- "func": "\nmsg.StorCtl_Mod = \"1\"\n// 65536 - 4500\nmsg.InWRte = \"61036\"\n\nmsg.newstate = \"3kWdischarge\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2160,
- "y": 800,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ]
- },
- {
- "id": "29c0e0b7e7356e23",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "59fc0e24e725529f",
- "name": "InWRte already -45?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "-45",
- "halt_if_type": "num",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_inwrte",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1920,
- "y": 800,
- "wires": [
- [],
- [
- "74921ce4ba346873"
- ]
- ]
- },
- {
- "id": "783a661dd9e50fd6",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "345cde89d835a024",
- "name": "ALLOW SUN CHARGE",
- "func": "msg.StorCtl_Mod = \"3\"\nmsg.OutWRte = \"0\"\nmsg.InWRte = \"10000\"\n\nmsg.newstate = \"allow_suncharge\"\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2210,
- "y": 280,
- "wires": [
- [
- "a587bcbe10cdf408"
- ]
- ],
- "info": "Example 3: Do not permit charging or discharging\nThis behavior can be achieved by limiting the maximum charge capacity to 0%\nand the maximum discharge capacity to 0%\n=> results in window [0 W, 0 W]\n- InWRte = 0% (set charge limit of WchaMax to 0%)\n- OutWRte = 0% (set discharge limit of WchaMax to 0%)\n- StorCtl_Mod = 3 (activate both limit values, bit pattern: 11)"
- },
- {
- "id": "d4028f5212870a32",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "345cde89d835a024",
- "name": "OutWRte already 0?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "0",
- "halt_if_type": "num",
- "halt_if_compare": "is",
- "entity_id": "sensor.gen24_storage_outwrte",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 1920,
- "y": 280,
- "wires": [
- [],
- [
- "783a661dd9e50fd6"
- ]
- ]
- },
- {
- "id": "25a16cd6e093f0db",
- "type": "modbus-response",
- "z": "47c37038d8e6b38f",
- "g": "67efc426c44adbea",
- "name": "",
- "registerShowMax": 20,
- "x": 3350,
- "y": 540,
- "wires": []
- },
- {
- "id": "3bc045cab0462f7b",
- "type": "modbus-flex-write",
- "z": "47c37038d8e6b38f",
- "g": "67efc426c44adbea",
- "name": "Fronius Storage",
- "showStatusActivities": true,
- "showErrors": true,
- "showWarnings": true,
- "server": "ecd41b68db8d4254",
- "emptyMsgOnFail": true,
- "keepMsgProperties": true,
- "delayOnStart": false,
- "startDelayTime": "10",
- "x": 3160,
- "y": 520,
- "wires": [
- [
- "25a16cd6e093f0db",
- "390c78de6c45fd57"
- ],
- []
- ]
- },
- {
- "id": "390c78de6c45fd57",
- "type": "debug",
- "z": "47c37038d8e6b38f",
- "g": "67efc426c44adbea",
- "name": "Inverter MODBUS Response",
- "active": true,
- "tosidebar": true,
- "console": true,
- "tostatus": false,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "",
- "statusType": "auto",
- "x": 3390,
- "y": 500,
- "wires": []
- },
- {
- "id": "2d46f5f9c7a1342b",
- "type": "delay",
- "z": "47c37038d8e6b38f",
- "g": "67efc426c44adbea",
- "name": "Rate limit",
- "pauseType": "rate",
- "timeout": "500",
- "timeoutUnits": "milliseconds",
- "rate": "1",
- "nbRateUnits": "10",
- "rateUnits": "second",
- "randomFirst": "1",
- "randomLast": "5",
- "randomUnits": "seconds",
- "drop": true,
- "allowrate": false,
- "outputs": 1,
- "x": 2980,
- "y": 520,
- "wires": [
- [
- "3bc045cab0462f7b"
- ]
- ]
- },
- {
- "id": "a587bcbe10cdf408",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "14db1722437b2f45",
- "name": "Modbus Payload Template",
- "func": "var values = [msg.StorCtl_Mod, (65535), (500), (10000), (65535), (65535), (5), (msg.OutWRte), (msg.InWRte)]\n\nmsg.payload = {\n 'value': values,\n 'fc': 16,\n 'unitid': 1,\n // INT+SF = -10\n 'address': 40348,\n 'quantity': 9\n}\n\nreturn msg",
- "outputs": 1,
- "timeout": "",
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 2700,
- "y": 520,
- "wires": [
- [
- "2d46f5f9c7a1342b"
- ]
- ]
- },
- {
- "id": "eaaabeb6bad78922",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "Spotpris",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 1,
- "halt_if": "",
- "halt_if_type": "str",
- "halt_if_compare": "is",
- "entity_id": "sensor.energi_data_service",
- "state_type": "num",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 360,
- "y": 100,
- "wires": [
- [
- "5ead91b698452d8f"
- ]
- ]
- },
- {
- "id": "5ead91b698452d8f",
- "type": "change",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "",
- "rules": [
- {
- "t": "set",
- "p": "cheap_spotpris",
- "pt": "flow",
- "to": "payload",
- "tot": "msg",
- "dc": true
- }
- ],
- "action": "",
- "property": "",
- "from": "",
- "to": "",
- "reg": false,
- "x": 570,
- "y": 100,
- "wires": [
- [
- "40a4842216e82a10",
- "331a81ba20be90fb"
- ]
- ]
- },
- {
- "id": "dd9f9685c127cba6",
- "type": "server-state-changed",
- "z": "47c37038d8e6b38f",
- "g": "5dd4d8970b5dee27",
- "name": "Battery 3.0 Charge",
- "server": "afa7e6c.89d5e18",
- "version": 5,
- "outputs": 1,
- "exposeAsEntityConfig": "",
- "entityId": "input_button.battery_3_0_charge",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "str",
- "ifState": "",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": false,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 1330,
- "y": 180,
- "wires": [
- [
- "4e7ce73d4b6ddbbc"
- ]
- ]
- },
- {
- "id": "0b27733ee1db73bb",
- "type": "server-state-changed",
- "z": "47c37038d8e6b38f",
- "g": "5dd4d8970b5dee27",
- "name": "Battery 4.5 Discharge",
- "server": "afa7e6c.89d5e18",
- "version": 5,
- "outputs": 1,
- "exposeAsEntityConfig": "",
- "entityId": "input_button.battery_4_5_discharge",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "str",
- "ifState": "",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": false,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 1340,
- "y": 240,
- "wires": [
- [
- "29c0e0b7e7356e23"
- ]
- ]
- },
- {
- "id": "c5550666ff48ba7d",
- "type": "server-state-changed",
- "z": "47c37038d8e6b38f",
- "g": "5dd4d8970b5dee27",
- "name": "Battery Hold",
- "server": "afa7e6c.89d5e18",
- "version": 5,
- "outputs": 1,
- "exposeAsEntityConfig": "",
- "entityId": "input_button.battery_hold",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "str",
- "ifState": "",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": false,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 1310,
- "y": 120,
- "wires": [
- [
- "d4028f5212870a32"
- ]
- ]
- },
- {
- "id": "0293a376a3c3bb7c",
- "type": "server-state-changed",
- "z": "47c37038d8e6b38f",
- "g": "5dd4d8970b5dee27",
- "name": "Battery Normal",
- "server": "afa7e6c.89d5e18",
- "version": 5,
- "outputs": 1,
- "exposeAsEntityConfig": "",
- "entityId": "input_button.battery_normal",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "str",
- "ifState": "",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": false,
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "ignorePrevStateNull": false,
- "ignorePrevStateUnknown": false,
- "ignorePrevStateUnavailable": false,
- "ignoreCurrentStateUnknown": false,
- "ignoreCurrentStateUnavailable": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "eventData"
- },
- {
- "property": "topic",
- "propertyType": "msg",
- "value": "",
- "valueType": "triggerId"
- }
- ],
- "x": 1320,
- "y": 60,
- "wires": [
- [
- "a0ef05d4128e01be"
- ]
- ]
- },
- {
- "id": "d7ac8cb75a6aab74",
- "type": "inject",
- "z": "47c37038d8e6b38f",
- "g": "e2696b5907bf6134",
- "name": "7:00",
- "props": [
- {
- "p": "payload"
- },
- {
- "p": "topic",
- "vt": "str"
- }
- ],
- "repeat": "",
- "crontab": "00 07 * * *",
- "once": true,
- "onceDelay": "",
- "topic": "",
- "payload": "Checking...",
- "payloadType": "str",
- "x": 130,
- "y": 440,
- "wires": [
- [
- "a0ef05d4128e01be"
- ]
- ]
- },
- {
- "id": "08de5d47e1f5caf0",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "SUN Production more than 4000W",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "4000",
- "halt_if_type": "num",
- "halt_if_compare": "gt",
- "entity_id": "sensor.gen24_solceller_effekt",
- "state_type": "str",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 480,
- "y": 1060,
- "wires": [
- [],
- []
- ]
- },
- {
- "id": "7a43ec058f0d0270",
- "type": "api-call-service",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "START charging BOTH CARS",
- "server": "afa7e6c.89d5e18",
- "version": 5,
- "debugenabled": false,
- "domain": "automation",
- "service": "trigger",
- "areaId": [
- "garage"
- ],
- "deviceId": [
- "95f18f645c515332d6c92e968795d53c",
- "15defbda49ab4aa4a3d8b5fe7c2e42d6"
- ],
- "entityId": [
- "automation.tesla_start",
- "automation.test_uppfart_garage_start"
- ],
- "data": "",
- "dataType": "jsonata",
- "mergeContext": "",
- "mustacheAltTags": false,
- "outputProperties": [],
- "queue": "none",
- "x": 1070,
- "y": 880,
- "wires": [
- []
- ]
- },
- {
- "id": "8dac98ce780f4e23",
- "type": "api-call-service",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "STOP charging BOTH CARS",
- "server": "afa7e6c.89d5e18",
- "version": 5,
- "debugenabled": false,
- "domain": "automation",
- "service": "trigger",
- "areaId": [
- "garage"
- ],
- "deviceId": [
- "95f18f645c515332d6c92e968795d53c",
- "15defbda49ab4aa4a3d8b5fe7c2e42d6"
- ],
- "entityId": [
- "automation.test_tesla_stop",
- "automation.test_uppfart_garage_stop"
- ],
- "data": "",
- "dataType": "jsonata",
- "mergeContext": "",
- "mustacheAltTags": false,
- "outputProperties": [],
- "queue": "none",
- "x": 1080,
- "y": 1160,
- "wires": [
- []
- ]
- },
- {
- "id": "97c75b49241005da",
- "type": "cronplus",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "Every 30 minutes",
- "outputField": "payload",
- "timeZone": "",
- "storeName": "",
- "commandResponseMsgOutput": "output1",
- "defaultLocation": "",
- "defaultLocationType": "default",
- "outputs": 1,
- "options": [
- {
- "name": "schedule1",
- "topic": "topic1",
- "payloadType": "default",
- "payload": "",
- "expressionType": "cron",
- "expression": "0 */30 * * * *",
- "location": "",
- "offset": "0",
- "solarType": "all",
- "solarEvents": "sunrise,sunset"
- }
- ],
- "x": 170,
- "y": 1060,
- "wires": [
- [
- "08de5d47e1f5caf0"
- ]
- ]
- },
- {
- "id": "40a4842216e82a10",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "Calculate flow.max_peak",
- "func": "var current_spotpris = flow.get(\"cheap_spotpris\");\n\n// add X to the current price\nvar max_spotpris = (current_spotpris + 100) * 1.25;\n\n// create a new variable to hold the average\nflow.set(\"max_peak\", max_spotpris);\n\nreturn [{ payload: flow.get(\"max_peak\") }]",
- "outputs": 1,
- "timeout": 0,
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 870,
- "y": 80,
- "wires": [
- [
- "15c0cd46d14ef0b7"
- ]
- ]
- },
- {
- "id": "15c0cd46d14ef0b7",
- "type": "debug",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "price",
- "active": true,
- "tosidebar": true,
- "console": true,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "payload",
- "statusType": "auto",
- "x": 1080,
- "y": 60,
- "wires": []
- },
- {
- "id": "331a81ba20be90fb",
- "type": "function",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "Calculate flow.break_even",
- "func": "var current_spotpris = flow.get(\"cheap_spotpris\");\n\n// Skånska energi avgifter + moms\nvar max_spotpris = (current_spotpris + 60) * 1.25;\n\n// create a new variable to hold the average\nflow.set(\"break_even\", max_spotpris);\n\nreturn [{ payload: flow.get(\"break_even\") }]",
- "outputs": 1,
- "timeout": 0,
- "noerr": 0,
- "initialize": "",
- "finalize": "",
- "libs": [],
- "x": 870,
- "y": 120,
- "wires": [
- [
- "18654bf66cea722f"
- ]
- ]
- },
- {
- "id": "18654bf66cea722f",
- "type": "debug",
- "z": "47c37038d8e6b38f",
- "g": "b30643153aa103b4",
- "name": "price",
- "active": true,
- "tosidebar": true,
- "console": true,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "payload",
- "statusType": "auto",
- "x": 1080,
- "y": 140,
- "wires": []
- },
- {
- "id": "c0443c2d56c691d9",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "Car connected?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "payload",
- "halt_if_type": "msg",
- "halt_if_compare": "is_not",
- "entity_id": "switch.ev_smart_charging_ev_connected",
- "state_type": "str",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 560,
- "y": 900,
- "wires": [
- [
- "642712c63c88ecfb"
- ],
- [
- "32a6e8cc398a5b2f"
- ]
- ]
- },
- {
- "id": "642712c63c88ecfb",
- "type": "debug",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "yes",
- "active": true,
- "tosidebar": true,
- "console": true,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "payload",
- "statusType": "auto",
- "x": 730,
- "y": 880,
- "wires": []
- },
- {
- "id": "32a6e8cc398a5b2f",
- "type": "debug",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "no",
- "active": true,
- "tosidebar": true,
- "console": true,
- "tostatus": true,
- "complete": "payload",
- "targetType": "msg",
- "statusVal": "payload",
- "statusType": "auto",
- "x": 730,
- "y": 940,
- "wires": []
- },
- {
- "id": "6663f4c6f6b2c347",
- "type": "cronplus",
- "z": "47c37038d8e6b38f",
- "g": "f1528564d3315165",
- "name": "Every 30 minutes",
- "outputField": "payload",
- "timeZone": "",
- "storeName": "",
- "commandResponseMsgOutput": "output1",
- "defaultLocation": "",
- "defaultLocationType": "default",
- "outputs": 1,
- "options": [
- {
- "name": "schedule1",
- "topic": "topic1",
- "payloadType": "default",
- "payload": "",
- "expressionType": "cron",
- "expression": "0 */30 * * * *",
- "location": "",
- "offset": "0",
- "solarType": "all",
- "solarEvents": "sunrise,sunset"
- }
- ],
- "x": 290,
- "y": 900,
- "wires": [
- [
- "c0443c2d56c691d9"
- ]
- ]
- },
- {
- "id": "dd53cadf8f79b275",
- "type": "api-current-state",
- "z": "47c37038d8e6b38f",
- "g": "0ee20f2b17f69cb2",
- "name": "Spotpris BELOW -10?",
- "server": "afa7e6c.89d5e18",
- "version": 3,
- "outputs": 2,
- "halt_if": "-10",
- "halt_if_type": "num",
- "halt_if_compare": "lte",
- "entity_id": "sensor.energi_data_service",
- "state_type": "str",
- "blockInputOverrides": false,
- "outputProperties": [
- {
- "property": "payload",
- "propertyType": "msg",
- "value": "",
- "valueType": "entityState"
- },
- {
- "property": "data",
- "propertyType": "msg",
- "value": "",
- "valueType": "entity"
- }
- ],
- "for": "0",
- "forType": "num",
- "forUnits": "minutes",
- "override_topic": false,
- "state_location": "payload",
- "override_payload": "msg",
- "entity_location": "data",
- "override_data": "msg",
- "x": 500,
- "y": 560,
- "wires": [
- [
- "3b351859da7be34c"
- ],
- []
- ]
- },
- {
- "id": "c4bc4f515dd2fe23",
- "type": "cronplus",
- "z": "47c37038d8e6b38f",
- "g": "0ee20f2b17f69cb2",
- "name": "Every hour between 00:00 - 06:00",
- "outputField": "payload",
- "timeZone": "",
- "storeName": "",
- "commandResponseMsgOutput": "output1",
- "defaultLocation": "",
- "defaultLocationType": "default",
- "outputs": 1,
- "options": [
- {
- "name": "schedule1",
- "topic": "topic1",
- "payloadType": "default",
- "payload": "",
- "expressionType": "cron",
- "expression": "30 0 00-06 * * * *",
- "location": "",
- "offset": "0",
- "solarType": "all",
- "solarEvents": "sunrise,sunset"
- }
- ],
- "x": 220,
- "y": 560,
- "wires": [
- [
- "dd53cadf8f79b275"
- ]
- ]
- },
- {
- "id": "afa7e6c.89d5e18",
- "type": "server",
- "name": "Home Assistant",
- "addon": true,
- "rejectUnauthorizedCerts": true,
- "ha_boolean": "",
- "connectionDelay": false,
- "cacheJson": false,
- "heartbeat": true,
- "heartbeatInterval": "30",
- "statusSeparator": "",
- "enableGlobalContextStore": false
- },
- {
- "id": "ecd41b68db8d4254",
- "type": "modbus-client",
- "name": "Fronius Gen24",
- "clienttype": "tcp",
- "bufferCommands": true,
- "stateLogEnabled": true,
- "queueLogEnabled": false,
- "failureLogEnabled": true,
- "tcpHost": "1.1.1.1",
- "tcpPort": "502",
- "tcpType": "DEFAULT",
- "serialPort": "/dev/ttyUSB",
- "serialType": "RTU-BUFFERD",
- "serialBaudrate": "9600",
- "serialDatabits": "8",
- "serialStopbits": "1",
- "serialParity": "none",
- "serialConnectionDelay": "100",
- "serialAsciiResponseStartDelimiter": "0x3A",
- "unit_id": 1,
- "commandDelay": 1,
- "clientTimeout": 1000,
- "reconnectOnTimeout": true,
- "reconnectTimeout": 2000,
- "parallelUnitIdsAllowed": true,
- "showWarnings": true,
- "showLogs": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement