Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [
- {
- "id": "24fec2df3f2e5521",
- "type": "switch",
- "z": "41157ceb102bfa41",
- "name": "price",
- "property": "price",
- "propertyType": "msg",
- "rules": [
- {
- "t": "lt",
- "v": "0.05",
- "vt": "num"
- },
- {
- "t": "gte",
- "v": "0.05",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 490,
- "y": 1840,
- "wires": [
- [
- "228fea079e17db6b"
- ],
- [
- "0a5af0b18b5f4106"
- ]
- ]
- },
- {
- "id": "4e7f024adbd82d95",
- "type": "switch",
- "z": "41157ceb102bfa41",
- "name": "price",
- "property": "price",
- "propertyType": "msg",
- "rules": [
- {
- "t": "lt",
- "v": "0.05",
- "vt": "num"
- },
- {
- "t": "gte",
- "v": "0.05",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 480,
- "y": 1910,
- "wires": [
- [
- "228fea079e17db6b"
- ],
- [
- "6076893a651af80e"
- ]
- ]
- },
- {
- "id": "0a5af0b18b5f4106",
- "type": "switch",
- "z": "41157ceb102bfa41",
- "name": "rank ≤5",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "lte",
- "v": "5",
- "vt": "num"
- },
- {
- "t": "gt",
- "v": "5",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 810,
- "y": 1850,
- "wires": [
- [
- "5e089a5af6c166b0"
- ],
- [
- "536bfc400d70f984"
- ]
- ]
- },
- {
- "id": "8cf3a50ab10da9e5",
- "type": "switch",
- "z": "41157ceb102bfa41",
- "name": "temp ≤6",
- "property": "payload",
- "propertyType": "msg",
- "rules": [
- {
- "t": "lt",
- "v": "6",
- "vt": "num"
- },
- {
- "t": "gte",
- "v": "6",
- "vt": "num"
- }
- ],
- "checkall": "true",
- "repair": false,
- "outputs": 2,
- "x": 810,
- "y": 1910,
- "wires": [
- [
- "5e089a5af6c166b0"
- ],
- [
- "536bfc400d70f984"
- ]
- ]
- },
- {
- "id": "aba4264a83cfcdcb",
- "type": "server-state-changed",
- "z": "41157ceb102bfa41",
- "name": "rank",
- "server": "ec62f897660298cb",
- "version": 5,
- "outputs": 1,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.shf_rank_now",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "num",
- "ifState": "",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": true,
- "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": "price",
- "propertyType": "msg",
- "value": "$number($entities(\"sensor.shf_electricity_price_now\").state)",
- "valueType": "jsonata"
- }
- ],
- "x": 290,
- "y": 1840,
- "wires": [
- [
- "24fec2df3f2e5521"
- ]
- ]
- },
- {
- "id": "11ab9b4a0b11a25d",
- "type": "server-state-changed",
- "z": "41157ceb102bfa41",
- "name": "Temperature",
- "server": "ec62f897660298cb",
- "version": 5,
- "outputs": 1,
- "exposeAsEntityConfig": "",
- "entityId": "sensor.atc_6111_temperature",
- "entityIdType": "exact",
- "outputInitially": false,
- "stateType": "num",
- "ifState": "",
- "ifStateType": "str",
- "ifStateOperator": "is",
- "outputOnlyOnStateChange": true,
- "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": "price",
- "propertyType": "msg",
- "value": "$number($entities(\"sensor.shf_electricity_price_now\").state)",
- "valueType": "jsonata"
- }
- ],
- "x": 310,
- "y": 1910,
- "wires": [
- [
- "4e7f024adbd82d95"
- ]
- ]
- },
- {
- "id": "6076893a651af80e",
- "type": "rbe",
- "z": "41157ceb102bfa41",
- "name": "0.5",
- "func": "deadband",
- "gap": "0.5",
- "start": "",
- "inout": "out",
- "septopics": true,
- "property": "payload",
- "topi": "topic",
- "x": 660,
- "y": 1910,
- "wires": [
- [
- "8cf3a50ab10da9e5"
- ]
- ]
- },
- {
- "id": "228fea079e17db6b",
- "type": "junction",
- "z": "41157ceb102bfa41",
- "x": 670,
- "y": 1820,
- "wires": [
- [
- "5e089a5af6c166b0"
- ]
- ]
- },
- {
- "id": "5e089a5af6c166b0",
- "type": "junction",
- "z": "41157ceb102bfa41",
- "x": 970,
- "y": 1820,
- "wires": [
- [
- "a45f72cf043b2140"
- ]
- ]
- },
- {
- "id": "536bfc400d70f984",
- "type": "junction",
- "z": "41157ceb102bfa41",
- "x": 970,
- "y": 1910,
- "wires": [
- [
- "785e7b1f453bb836"
- ]
- ]
- },
- {
- "id": "ec62f897660298cb",
- "type": "server",
- "name": "Home Assistant",
- "version": 5,
- "addon": false,
- "rejectUnauthorizedCerts": true,
- "ha_boolean": "y|yes|true|on|home|open",
- "connectionDelay": true,
- "cacheJson": true,
- "heartbeat": false,
- "heartbeatInterval": "30",
- "areaSelector": "friendlyName",
- "deviceSelector": "friendlyName",
- "entitySelector": "friendlyName",
- "statusSeparator": "at: ",
- "statusYear": "hidden",
- "statusMonth": "short",
- "statusDay": "numeric",
- "statusHourCycle": "h23",
- "statusTimeFormat": "h:m",
- "enableGlobalContextStore": true
- }
- ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement