I’ll try the formatted version:
[
{
"id": "3beede20.2a5162",
"type": "openhab2-in",
"z": "7815450d.2de7ec",
"name": "",
"controller": "e6d015f.73ddee8",
"itemname": "SwNoteRedTest",
"x": 987,
"y": 249,
"wires": [
[
"d1f28535.7ccf88"
],
[]
]
},
{
"id": "2da3c6c.f70303a",
"type": "debug",
"z": "7815450d.2de7ec",
"name": "",
"active": false,
"console": "false",
"complete": "payload",
"x": 1383,
"y": 252,
"wires": []
},
{
"id": "d1f28535.7ccf88",
"type": "change",
"z": "7815450d.2de7ec",
"name": "",
"rules": [
{
"t": "set",
"p": "topic",
"pt": "msg",
"to": "item",
"tot": "msg"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 1017,
"y": 113,
"wires": [
[
"2da3c6c.f70303a",
"d97f3399.c8b93"
]
]
},
{
"id": "d97f3399.c8b93",
"type": "and-gate",
"z": "7815450d.2de7ec",
"name": "",
"rules": [
{
"t": "eq",
"v": "ON",
"vt": "str",
"propertyType": "msg",
"property": "payload",
"topic": "SwNoteRedTest"
},
{
"t": "eq",
"v": "0",
"vt": "str",
"propertyType": "msg",
"property": "payload",
"topic": "Darkness"
}
],
"outputTopic": "",
"gateType": "and",
"emitOnlyIfTrue": false,
"x": 1375,
"y": 164,
"wires": [
[]
]
},
{
"id": "1b760db2.7d3002",
"type": "bigtimer",
"z": "7815450d.2de7ec",
"outtopic": "Darkness",
"outpayload1": "1",
"outpayload2": "0",
"name": "Darkness",
"lat": "55.6759",
"lon": "12.5655",
"starttime": "5004",
"endtime": "5003",
"startoff": 0,
"endoff": 0,
"offs": 0,
"outtext1": "",
"outtext2": "",
"timeout": 1440,
"sun": true,
"mon": true,
"tue": true,
"wed": true,
"thu": true,
"fri": true,
"sat": true,
"jan": true,
"feb": true,
"mar": true,
"apr": true,
"may": true,
"jun": true,
"jul": true,
"aug": true,
"sep": true,
"oct": true,
"nov": true,
"dec": true,
"day1": 0,
"month1": 0,
"day2": 0,
"month2": 0,
"day3": 0,
"month3": 0,
"day4": 0,
"month4": 0,
"day5": 0,
"month5": 0,
"d1": 0,
"w1": 0,
"d2": 0,
"w2": 0,
"d3": 0,
"w3": 0,
"d4": 0,
"w4": 0,
"d5": 0,
"w5": 0,
"suspend": false,
"random": false,
"repeat": true,
"atstart": true,
"odd": false,
"even": false,
"x": 1184,
"y": 408,
"wires": [
[
"d97f3399.c8b93"
],
[],
[]
]
},
{
"id": "e6d015f.73ddee8",
"type": "openhab2-controller",
"z": "",
"name": "Openhab",
"protocol": "http",
"host": "192.168.1.109",
"port": "8080",
"path": "",
"username": "",
"password": ""
}
]