Hallo
Ich habe versucht mit Hilfe dieses alten Threads Geräte mit Angabe der Mac Adresse zu deaktivieren.
Re: Node-Red-Contrib-Unifi Special Commands
Leider klappt es nicht, dass das Gerät geblockt wird.
Hier mein Flow:
[
{
"id": "8a3e4967.edde68",
"type": "inject",
"z": "1225019d0289ffff",
"name": "blockClient",
"props": [
{
"p": "payload.command",
"v": "blockClient",
"vt": "str"
},
{
"p": "payload.mac",
"v": "Mein mac Gerät",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 490,
"y": 260,
"wires": [
[
"9273c229c2a5d194"
]
]
},
{
"id": "84112698.7006a8",
"type": "debug",
"z": "1225019d0289ffff",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 930,
"y": 280,
"wires": []
},
{
"id": "12f29a29.19bf96",
"type": "inject",
"z": "1225019d0289ffff",
"name": "unblockClient",
"props": [
{
"p": "payload.command",
"v": "unblockClient",
"vt": "str"
},
{
"p": "payload.mac",
"v": "Meine mac Adresse",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"x": 500,
"y": 300,
"wires": [
[
"9273c229c2a5d194"
]
]
},
{
"id": "9273c229c2a5d194",
"type": "Unifi",
"z": "1225019d0289ffff",
"name": "",
"ip": "192.168.1.3",
"port": 8443,
"site": "default",
"command": "20",
"unifios": false,
"credentials": {},
"x": 730,
"y": 280,
"wires": [
[
"84112698.7006a8"
]
]
}
]
Ich bin nicht sicher, ob das unifi Gerät richtig eingestellt ist.
Hier mal ein Printscreen
Wäre dankbar um Hilfe.