Sicher! Sorry.
[
{
"id": "918cfbe7.501c78",
"type": "tab",
"label": "Beleuchtung",
"disabled": false,
"info": ""
},
{
"id": "1cb115c3.d7299a",
"type": "hue-group",
"z": "918cfbe7.501c78",
"name": "Aussen Nord",
"bridge": "d8918ea0.cfc26",
"groupid": "4",
"colornamer": true,
"skipevents": false,
"universalevents": false,
"x": 1370,
"y": 273,
"wires": [
[]
]
},
{
"id": "34d3dfef.a4149",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone updimmen 70%",
"func": "let newPayload = {}\n\nnewPayload.on = true;\nnewPayload.brightness = 70;\nnewPayload.transitionTime = 900;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1100,
"y": 257,
"wires": [
[
"1cb115c3.d7299a"
]
]
},
{
"id": "8816e4c.924f918",
"type": "inject",
"z": "918cfbe7.501c78",
"name": "ON",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "on",
"payloadType": "str",
"x": 110,
"y": 370,
"wires": [
[
"636ba3f3.182cec"
]
]
},
{
"id": "85847d74.28217",
"type": "inject",
"z": "918cfbe7.501c78",
"name": "OFF",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "off",
"payloadType": "str",
"x": 110,
"y": 410,
"wires": [
[
"636ba3f3.182cec"
]
]
},
{
"id": "d4c3c6b3.b86288",
"type": "schedex",
"z": "918cfbe7.501c78",
"name": "Dämmerungsschaltung",
"passthroughunhandled": false,
"suspended": false,
"lat": "",
"lon": "",
"ontime": "sunset",
"ontopic": "on",
"onpayload": "on",
"onoffset": "-15",
"onrandomoffset": false,
"offtime": "sunrise",
"offtopic": "off",
"offpayload": "off",
"offoffset": 0,
"offrandomoffset": 0,
"mon": true,
"tue": true,
"wed": true,
"thu": true,
"fri": true,
"sat": true,
"sun": true,
"x": 350,
"y": 301,
"wires": [
[
"f860f97a.66ae68"
]
]
},
{
"id": "636ba3f3.182cec",
"type": "switch",
"z": "918cfbe7.501c78",
"name": "On/Off",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "on",
"vt": "str"
},
{
"t": "eq",
"v": "off",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 832,
"y": 400,
"wires": [
[
"34d3dfef.a4149",
"4826f08f.9ba4"
],
[
"8307a58f.a63748",
"43d1d85c.2412a8",
"3ace6455.7a076c"
]
]
},
{
"id": "2624ff94.88aae",
"type": "comment",
"z": "918cfbe7.501c78",
"name": "Dämmerungsschalter",
"info": "",
"x": 340,
"y": 251,
"wires": []
},
{
"id": "f860f97a.66ae68",
"type": "link out",
"z": "918cfbe7.501c78",
"name": "",
"links": [
"df8fca1f.0ad228",
"12e04ee5.64cc81",
"1d1aac64.6b4184",
"2db41734.d69278",
"6a8bc9c3.208078",
"58c9f5be.1e432c"
],
"x": 505,
"y": 301,
"wires": []
},
{
"id": "df8fca1f.0ad228",
"type": "link in",
"z": "918cfbe7.501c78",
"name": "",
"links": [
"f860f97a.66ae68",
"a6b6e6d0.4dcdc8"
],
"x": 715,
"y": 301,
"wires": [
[
"636ba3f3.182cec"
]
]
},
{
"id": "75c6ba8e.ca8f14",
"type": "inject",
"z": "918cfbe7.501c78",
"name": "ON",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "on",
"payloadType": "str",
"x": 110,
"y": 286,
"wires": [
[
"d4c3c6b3.b86288"
]
]
},
{
"id": "4d0fca19.4e1ce4",
"type": "inject",
"z": "918cfbe7.501c78",
"name": "OFF",
"props": [
{
"p": "payload"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "off",
"payloadType": "str",
"x": 110,
"y": 326,
"wires": [
[
"d4c3c6b3.b86288"
]
]
},
{
"id": "8307a58f.a63748",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone downdimmen 0%",
"func": "let newPayload = {}\n\n//newPayload.on = true;\nnewPayload.brightness = 0;\nnewPayload.transitionTime = 300;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1100,
"y": 295,
"wires": [
[
"1cb115c3.d7299a"
]
]
},
{
"id": "79b1daf0.527864",
"type": "hue-group",
"z": "918cfbe7.501c78",
"name": "Aussen Treppe",
"bridge": "d8918ea0.cfc26",
"groupid": "5",
"colornamer": true,
"skipevents": false,
"x": 1460,
"y": 460,
"wires": [
[]
]
},
{
"id": "17d3c7c8.53dd48",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone updimmen 100%",
"func": "let newPayload = {}\n\nnewPayload.on = true;\nnewPayload.brightness = 100;\nnewPayload.transitionTime = 200;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1100,
"y": 448,
"wires": [
[
"79b1daf0.527864"
]
]
},
{
"id": "43d1d85c.2412a8",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone downdimmen 0%",
"func": "let newPayload = {}\n\n//newPayload.on = true;\nnewPayload.brightness = 0;\nnewPayload.transitionTime = 300;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1100,
"y": 486,
"wires": [
[
"79b1daf0.527864"
]
]
},
{
"id": "1178d655.b3a39a",
"type": "hue-group",
"z": "918cfbe7.501c78",
"name": "Aussen Eingangstüre",
"bridge": "d8918ea0.cfc26",
"groupid": "6",
"colornamer": true,
"skipevents": false,
"x": 1480,
"y": 710,
"wires": [
[]
]
},
{
"id": "2db41734.d69278",
"type": "link in",
"z": "918cfbe7.501c78",
"name": "",
"links": [
"f860f97a.66ae68"
],
"x": 525,
"y": 700,
"wires": [
[
"572d20e4.40a7b"
]
]
},
{
"id": "c8cfb3e8.3e0a1",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone updimmen 80%",
"func": "let newPayload = {}\n\nnewPayload.on = true;\nnewPayload.brightness = 80;\nnewPayload.transitionTime = 300;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1100,
"y": 694,
"wires": [
[
"1178d655.b3a39a"
]
]
},
{
"id": "5f173b75.7ac304",
"type": "switch",
"z": "918cfbe7.501c78",
"name": "On/Off",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "on",
"vt": "str"
},
{
"t": "eq",
"v": "off",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 827,
"y": 700,
"wires": [
[
"c8cfb3e8.3e0a1"
],
[]
]
},
{
"id": "572d20e4.40a7b",
"type": "delay",
"z": "918cfbe7.501c78",
"name": "",
"pauseType": "delay",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"x": 650,
"y": 700,
"wires": [
[
"5f173b75.7ac304"
]
]
},
{
"id": "58c9f5be.1e432c",
"type": "link in",
"z": "918cfbe7.501c78",
"name": "",
"links": [
"f860f97a.66ae68"
],
"x": 525,
"y": 530,
"wires": [
[
"d7cb54d5.2bcaf8"
]
]
},
{
"id": "e58334d8.45a7b8",
"type": "switch",
"z": "918cfbe7.501c78",
"name": "On/Off",
"property": "payload",
"propertyType": "msg",
"rules": [
{
"t": "eq",
"v": "on",
"vt": "str"
},
{
"t": "eq",
"v": "off",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 2,
"x": 827,
"y": 530,
"wires": [
[
"17d3c7c8.53dd48"
],
[]
]
},
{
"id": "d7cb54d5.2bcaf8",
"type": "delay",
"z": "918cfbe7.501c78",
"name": "",
"pauseType": "delay",
"timeout": "20",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"x": 660,
"y": 530,
"wires": [
[
"e58334d8.45a7b8"
]
]
},
{
"id": "58b2f66a.73c998",
"type": "hue-group",
"z": "918cfbe7.501c78",
"name": "Treppenaufgang",
"bridge": "d8918ea0.cfc26",
"groupid": "8",
"colornamer": true,
"skipevents": false,
"universalevents": false,
"x": 1470,
"y": 820,
"wires": [
[]
]
},
{
"id": "4826f08f.9ba4",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone updimmen",
"func": "let newPayload = {}\n\nnewPayload.on = true;\nnewPayload.brightness = 30;\nnewPayload.transitionTime = 300;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1072,
"y": 800,
"wires": [
[
"58b2f66a.73c998"
]
]
},
{
"id": "3ace6455.7a076c",
"type": "function",
"z": "918cfbe7.501c78",
"name": "Zone downdimmen 0%",
"func": "let newPayload = {}\n\n//newPayload.on = true;\nnewPayload.brightness = 0;\nnewPayload.transitionTime = 300;\n\nmsg.payload = newPayload\n\nreturn msg;\n",
"outputs": 1,
"noerr": 0,
"initialize": "",
"finalize": "",
"x": 1090,
"y": 840,
"wires": [
[
"58b2f66a.73c998"
]
]
},
{
"id": "d8918ea0.cfc26",
"type": "hue-bridge",
"z": "",
"name": "Philips hue FM",
"bridge": "192.168.1.141",
"key": "",
"interval": "3000",
"disableupdates": false
}
]