[
{
"id": "d25f6c3bea911417",
"type": "tab",
"label": "Tibber Günstigste Stunden Kopie",
"disabled": false,
"info": "",
"env": []
},
{
"id": "6eb7884cd0854d3a",
"type": "inject",
"z": "d25f6c3bea911417",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "0 0-23 * * *",
"once": true,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 170,
"y": 260,
"wires": [
[
"e93148b7d43dae9c"
]
]
},
{
"id": "e93148b7d43dae9c",
"type": "template",
"z": "d25f6c3bea911417",
"name": "",
"field": "payload",
"fieldType": "msg",
"format": "handlebars",
"syntax": "mustache",
"template": "{\n viewer {\n homes {\n currentSubscription {\n priceInfo {\n today {\n total\n startsAt\n }\n tomorrow {\n total\n startsAt\n }\n }\n }\n }\n }\n}",
"output": "str",
"x": 340,
"y": 260,
"wires": [
[
"8af19a60b6e714a6"
]
]
},
{
"id": "8af19a60b6e714a6",
"type": "tibber-query",
"z": "d25f6c3bea911417",
"name": "Tibber Query",
"active": true,
"apiEndpointRef": "6c0ebed9c4db1a3b",
"x": 510,
"y": 260,
"wires": [
[
"d3c04fabfb4b5943"
]
]
},
{
"id": "d3c04fabfb4b5943",
"type": "ps-receive-price",
"z": "d25f6c3bea911417",
"name": "Price Receiver",
"x": 700,
"y": 260,
"wires": [
[
"88524f8c43c1c74c",
"e3e3c60f2b2285ab",
"7c973d32633ff880",
"e501e66b96b4c383",
"4ffa63e2198744a8",
"7057e070d21d978b",
"ae9b1d8156d58175",
"fd60e852ebfa0c67",
"5174e8931f5ebf18",
"51212c56b27874ae"
]
]
},
{
"id": "88524f8c43c1c74c",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 2hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "2",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 320,
"wires": [
[
"7fcd3dec9c52f2f5"
],
[
"7fcd3dec9c52f2f5"
],
[
"c3adc592dc098b58"
]
]
},
{
"id": "7fcd3dec9c52f2f5",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_2std",
"topic": "tibber_2std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_2std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 320,
"wires": []
},
{
"id": "e3e3c60f2b2285ab",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 3hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "3",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 380,
"wires": [
[
"3d45ecadf54c7a22"
],
[
"3d45ecadf54c7a22"
],
[]
]
},
{
"id": "3d45ecadf54c7a22",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_3std",
"topic": "tibber_3std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_3std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 380,
"wires": []
},
{
"id": "7c973d32633ff880",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 4hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "4",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 440,
"wires": [
[
"2143aac22e4e3405"
],
[
"2143aac22e4e3405"
],
[]
]
},
{
"id": "2143aac22e4e3405",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_4std",
"topic": "tibber_4std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_4std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 440,
"wires": []
},
{
"id": "e501e66b96b4c383",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 5hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "5",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 500,
"wires": [
[
"6cdc1d44e7ddb215"
],
[
"6cdc1d44e7ddb215"
],
[]
]
},
{
"id": "6cdc1d44e7ddb215",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_5std",
"topic": "tibber_5std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_5std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 500,
"wires": []
},
{
"id": "4ffa63e2198744a8",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 6hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "6",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 560,
"wires": [
[
"26791eca7bf72bd0"
],
[
"26791eca7bf72bd0"
],
[]
]
},
{
"id": "26791eca7bf72bd0",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_6std",
"topic": "tibber_6std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_6std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 560,
"wires": []
},
{
"id": "5174e8931f5ebf18",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 7hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "7",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 620,
"wires": [
[
"95a88f7a5a413f52"
],
[
"95a88f7a5a413f52"
],
[]
]
},
{
"id": "95a88f7a5a413f52",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_7std",
"topic": "tibber_7std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_7std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 620,
"wires": []
},
{
"id": "7057e070d21d978b",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 8hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "8",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 680,
"wires": [
[
"c2b5176e76efc709"
],
[
"c2b5176e76efc709"
],
[]
]
},
{
"id": "c2b5176e76efc709",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_8std",
"topic": "tibber_8std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_8std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 680,
"wires": []
},
{
"id": "ae9b1d8156d58175",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 9hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "9",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 740,
"wires": [
[
"efd1b98f800d52d1"
],
[
"efd1b98f800d52d1"
],
[]
]
},
{
"id": "efd1b98f800d52d1",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_9std",
"topic": "tibber_9std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_9std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 740,
"wires": []
},
{
"id": "fd60e852ebfa0c67",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 10hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "10",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 800,
"wires": [
[
"40e9c40a991eee4b"
],
[
"40e9c40a991eee4b"
],
[]
]
},
{
"id": "40e9c40a991eee4b",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_10std",
"topic": "tibber_10std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_10std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 800,
"wires": []
},
{
"id": "51212c56b27874ae",
"type": "ps-strategy-lowest-price",
"z": "d25f6c3bea911417",
"name": "Lowest Price 1hrs",
"fromTime": "00",
"toTime": "00",
"hoursOn": "1",
"maxPrice": "0.6",
"doNotSplit": false,
"sendCurrentValueWhenRescheduling": true,
"outputValueForOn": "true",
"outputValueForOff": "false",
"outputValueForOntype": "bool",
"outputValueForOfftype": "bool",
"outputIfNoSchedule": "false",
"outputOutsidePeriod": "false",
"contextStorage": "memory",
"x": 910,
"y": 260,
"wires": [
[
"64256411a1ab22e5"
],
[
"64256411a1ab22e5"
],
[]
]
},
{
"id": "64256411a1ab22e5",
"type": "ioBroker out",
"z": "d25f6c3bea911417",
"name": "tibber_1std",
"topic": "tibber_1std",
"ack": "false",
"autoCreate": "true",
"stateName": "tibber_1std",
"role": "",
"payloadType": "boolean",
"readonly": "",
"stateUnit": "",
"stateMin": "",
"stateMax": "",
"x": 1130,
"y": 260,
"wires": []
},
{
"id": "c3adc592dc098b58",
"type": "debug",
"z": "d25f6c3bea911417",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 1140,
"y": 180,
"wires": []
},
{
"id": "6c0ebed9c4db1a3b",
"type": "tibber-api-endpoint",
"queryUrl": "https://api.tibber.com/v1-beta/gql",
"feedConnectionTimeout": "30",
"feedTimeout": "60",
"queryRequestTimeout": "30",
"name": "Test",
"credentials": {}
}
]