Moin Philipp
du könntest soetwas machen.
ein Button (zur Zeit auf der Seite Test)
Die inject Node ist zum testen.
Du gibst einen Schaltbefehl true an den Relayausgang,
über die change Node wandelst du true in false über das delay verzögerst du die Meldung um zurzeit 1 sec. und mit dem Link out schickst du das zum Relay.
Gruß Arno
Nähe Köln 
[
{
"id": "086e9f4712c74fed",
"type": "ui_button",
"z": "b3f96651a445db09",
"name": "",
"group": "38b0d3a980d68bfa",
"order": 9,
"width": 0,
"height": 0,
"passthru": false,
"label": "Schubladen",
"tooltip": "",
"color": "",
"bgcolor": "",
"className": "",
"icon": "",
"payload": "true",
"payloadType": "bool",
"topic": "topic",
"topicType": "msg",
"x": 250,
"y": 980,
"wires": [
[
"d4fae62ca30c24bb",
"8bf82c18c3f7fbbf"
]
]
},
{
"id": "3c772998aa4f40ef",
"type": "delay",
"z": "b3f96651a445db09",
"name": "",
"pauseType": "delay",
"timeout": "1",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "second",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": false,
"allowrate": false,
"outputs": 1,
"x": 620,
"y": 1020,
"wires": [
[
"8bf82c18c3f7fbbf",
"774bc4b828409525"
]
]
},
{
"id": "d4fae62ca30c24bb",
"type": "change",
"z": "b3f96651a445db09",
"name": "",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "false",
"tot": "bool"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 420,
"y": 1020,
"wires": [
[
"3c772998aa4f40ef"
]
]
},
{
"id": "8bf82c18c3f7fbbf",
"type": "debug",
"z": "b3f96651a445db09",
"name": "debug 732",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": true,
"complete": "true",
"targetType": "full",
"statusVal": "payload",
"statusType": "auto",
"x": 890,
"y": 940,
"wires": []
},
{
"id": "774bc4b828409525",
"type": "link out",
"z": "b3f96651a445db09",
"name": "link out 20",
"mode": "link",
"links": [
"dbe756dfc89b0fb4"
],
"x": 855,
"y": 1020,
"wires": []
},
{
"id": "97afddbba18ddeec",
"type": "comment",
"z": "b3f96651a445db09",
"name": "z,B. Relay 1",
"info": "",
"x": 990,
"y": 1040,
"wires": []
},
{
"id": "fc6e587d13c48dc1",
"type": "inject",
"z": "b3f96651a445db09",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "true",
"payloadType": "bool",
"x": 190,
"y": 1020,
"wires": [
[
"d4fae62ca30c24bb",
"8bf82c18c3f7fbbf",
"774bc4b828409525"
]
]
},
{
"id": "38b0d3a980d68bfa",
"type": "ui_group",
"name": "Test",
"tab": "71bad5b741d68215",
"order": 3,
"disp": true,
"width": "12",
"collapse": false,
"className": ""
},
{
"id": "71bad5b741d68215",
"type": "ui_tab",
"name": "Test",
"icon": "build",
"order": 47,
"disabled": false,
"hidden": false
}
]