Leider lassen sich keine txt Dateien hochladen. Daher hier der Code meines exportierten Flows.
Ich er ist einigermaßen verständlich.
[
{
"id": "c4f75207.6b494",
"type": "sunpos",
"z": "fc516455.a02ae8",
"name": "",
"lon": "",
"lat": "",
"start": "sunrise",
"startoffset": 0,
"end": "sunset",
"endoffset": "0",
"x": 215,
"y": 556.91162109375,
"wires": [
[
"99d3dd1b.ca9cc",
"9fa610ba.3fdeb",
"e6cc2cc3.12ebe"
]
]
},
{
"id": "b34ee1b1.336ed",
"type": "inject",
"z": "fc516455.a02ae8",
"name": "",
"topic": "",
"payload": "true",
"payloadType": "bool",
"repeat": "180",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"x": 55,
"y": 556.91162109375,
"wires": [
[
"c4f75207.6b494"
]
]
},
{
"id": "c2c4e130.d26dc",
"type": "switch",
"z": "fc516455.a02ae8",
"name": "SonnenOstseite",
"property": "payload.azimuth",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "70",
"vt": "num",
"v2": "130",
"v2t": "num"
},
{
"t": "btwn",
"v": "130",
"vt": "num",
"v2": "131",
"v2t": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 605,
"y": 416.91162109375,
"wires": [
[
"4b69e9ce.3c6b98"
],
[
"6499ad1a.c9d0a4"
]
]
},
{
"id": "fa3f01e4.85b96",
"type": "switch",
"z": "fc516455.a02ae8",
"name": "SonnenSudseite",
"property": "payload.azimuth",
"propertyType": "msg",
"rules": [
{
"t": "btwn",
"v": "90",
"vt": "num",
"v2": "91",
"v2t": "num"
},
{
"t": "btwn",
"v": "230",
"vt": "num",
"v2": "231",
"v2t": "num"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 625,
"y": 556.91162109375,
"wires": [
[
"b977e88e.59e788"
],
[
"88176eba.ad289"
]
]
},
{
"id": "4b69e9ce.3c6b98",
"type": "http request",
"z": "fc516455.a02ae8",
"name": "HomeeWebhookAn",
"method": "GET",
"ret": "txt",
"url": "https://SonneOstseiteAn",
"tls": "",
"x": 835,
"y": 396.91162109375,
"wires": [
[
"40d134e1.4c581c"
]
]
},
{
"id": "40d134e1.4c581c",
"type": "debug",
"z": "fc516455.a02ae8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 1035,
"y": 396.91162109375,
"wires": []
},
{
"id": "6499ad1a.c9d0a4",
"type": "http request",
"z": "fc516455.a02ae8",
"name": "HomeeWebhookAus",
"method": "GET",
"ret": "txt",
"url": "https://SonneOstseiteAus",
"tls": "",
"x": 845,
"y": 436.91162109375,
"wires": [
[
"d7040587.c4ab28"
]
]
},
{
"id": "d7040587.c4ab28",
"type": "debug",
"z": "fc516455.a02ae8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 1035,
"y": 436.91162109375,
"wires": []
},
{
"id": "b977e88e.59e788",
"type": "http request",
"z": "fc516455.a02ae8",
"name": "HomeeWebhookAn",
"method": "GET",
"ret": "txt",
"url": "https://SonneSudseiteAn",
"tls": "",
"x": 835,
"y": 536.91162109375,
"wires": [
[
"f118758b.a39578"
]
]
},
{
"id": "88176eba.ad289",
"type": "http request",
"z": "fc516455.a02ae8",
"name": "HomeeWebhookAus",
"method": "GET",
"ret": "txt",
"url": "https://SonneSudseiteAus",
"tls": "",
"x": 845,
"y": 576.91162109375,
"wires": [
[
"d71d94e0.3004e8"
]
]
},
{
"id": "f118758b.a39578",
"type": "debug",
"z": "fc516455.a02ae8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 1035,
"y": 536.91162109375,
"wires": []
},
{
"id": "d71d94e0.3004e8",
"type": "debug",
"z": "fc516455.a02ae8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 1035,
"y": 576.91162109375,
"wires": []
},
{
"id": "99d3dd1b.ca9cc",
"type": "switch",
"z": "fc516455.a02ae8",
"name": "SunInSky",
"property": "payload.sunInSky",
"propertyType": "msg",
"rules": [
{
"t": "true"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 425,
"y": 416.91162109375,
"wires": [
[
"c2c4e130.d26dc"
]
]
},
{
"id": "9fa610ba.3fdeb",
"type": "debug",
"z": "fc516455.a02ae8",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"x": 435,
"y": 476.91162109375,
"wires": []
},
{
"id": "e6cc2cc3.12ebe",
"type": "switch",
"z": "fc516455.a02ae8",
"name": "SunInSky",
"property": "payload.sunInSky",
"propertyType": "msg",
"rules": [
{
"t": "true"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 425,
"y": 556.91162109375,
"wires": [
[
"fa3f01e4.85b96"
]
]
}
]