See nice Video http://blog.wenzlaff.de/?p=16402
Gui:
See nice Video http://blog.wenzlaff.de/?p=16402
Gui:
[ | |
{ | |
"id": "c0ac9884.bcaff8", | |
"type": "comment", | |
"z": "65d1d0fe.3c4c08", | |
"name": "(c) 2021 Thomas Wenzlaff www.wenzlaff.info", | |
"info": "Verwendeter Node: node-red-contrib-miio-roborock", | |
"x": 1070, | |
"y": 40, | |
"wires": [] | |
}, | |
{ | |
"id": "e458d371.6bce4", | |
"type": "group", | |
"z": "65d1d0fe.3c4c08", | |
"name": "Staubbehälter leeren", | |
"style": { | |
"fill": "#ffefbf", | |
"label": true | |
}, | |
"nodes": [ | |
"f1ed66df.7b27a8", | |
"278e3180.dec406", | |
"281515f8.a6829a", | |
"e2f7f3b7.94d638", | |
"b34ed276.ade78", | |
"eda2f1e6.4bbc6", | |
"ed859d7d.7f1538" | |
], | |
"x": 894, | |
"y": 79, | |
"w": 832, | |
"h": 202 | |
}, | |
{ | |
"id": "f1ed66df.7b27a8", | |
"type": "ui_button", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "", | |
"group": "86b9a6db.87a35", | |
"order": 5, | |
"width": 0, | |
"height": 0, | |
"passthru": true, | |
"label": "Entlehren", | |
"tooltip": "", | |
"color": "", | |
"bgcolor": "", | |
"icon": "", | |
"payload": "16", | |
"payloadType": "num", | |
"topic": "topic", | |
"topicType": "msg", | |
"x": 1140, | |
"y": 120, | |
"wires": [ | |
[ | |
"eda2f1e6.4bbc6", | |
"281515f8.a6829a" | |
] | |
] | |
}, | |
{ | |
"id": "278e3180.dec406", | |
"type": "inject", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "Entlehren", | |
"props": [ | |
{ | |
"p": "payload" | |
} | |
], | |
"repeat": "", | |
"crontab": "", | |
"once": false, | |
"onceDelay": 0.1, | |
"topic": "", | |
"payload": "16", | |
"payloadType": "num", | |
"x": 1000, | |
"y": 120, | |
"wires": [ | |
[ | |
"f1ed66df.7b27a8" | |
] | |
] | |
}, | |
{ | |
"id": "281515f8.a6829a", | |
"type": "miio-roborock-command", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "Küche", | |
"server": "49f6cbbe.77c9c4", | |
"command_name": "► Start room cleaning", | |
"command": "app_segment_clean", | |
"commandType": "vacuum_cmd", | |
"payload": "payload", | |
"payloadType": "msg", | |
"coordinates": "", | |
"fan_speed": 100, | |
"voice_pack": null, | |
"homekit_stop_to_dock": false, | |
"x": 1510, | |
"y": 240, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "e2f7f3b7.94d638", | |
"type": "miio-roborock-command", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "", | |
"server": "49f6cbbe.77c9c4", | |
"command_name": "Find me", | |
"command": "find_me", | |
"commandType": "vacuum_cmd", | |
"payload": "payload", | |
"payloadType": "msg", | |
"coordinates": "", | |
"fan_speed": "", | |
"homekit_stop_to_dock": true, | |
"x": 1500, | |
"y": 120, | |
"wires": [ | |
[ | |
"b34ed276.ade78" | |
] | |
] | |
}, | |
{ | |
"id": "b34ed276.ade78", | |
"type": "miio-roborock-command", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "", | |
"server": "49f6cbbe.77c9c4", | |
"command_name": "❙❙ Pause", | |
"command": "app_pause", | |
"commandType": "vacuum_cmd", | |
"payload": "payload", | |
"payloadType": "msg", | |
"coordinates": "", | |
"fan_speed": 100, | |
"voice_pack": null, | |
"homekit_stop_to_dock": false, | |
"x": 1640, | |
"y": 120, | |
"wires": [ | |
[] | |
] | |
}, | |
{ | |
"id": "eda2f1e6.4bbc6", | |
"type": "delay", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "Fahre zum Mülleimer", | |
"pauseType": "delay", | |
"timeout": "46", | |
"timeoutUnits": "seconds", | |
"rate": "1", | |
"nbRateUnits": "1", | |
"rateUnits": "second", | |
"randomFirst": "1", | |
"randomLast": "5", | |
"randomUnits": "seconds", | |
"drop": false, | |
"x": 1320, | |
"y": 120, | |
"wires": [ | |
[ | |
"e2f7f3b7.94d638", | |
"ed859d7d.7f1538" | |
] | |
] | |
}, | |
{ | |
"id": "ed859d7d.7f1538", | |
"type": "delay", | |
"z": "65d1d0fe.3c4c08", | |
"g": "e458d371.6bce4", | |
"name": "Leere den Staubcontainer (2 Minuten)", | |
"pauseType": "delay", | |
"timeout": "2", | |
"timeoutUnits": "minutes", | |
"rate": "1", | |
"nbRateUnits": "1", | |
"rateUnits": "second", | |
"randomFirst": "1", | |
"randomLast": "5", | |
"randomUnits": "seconds", | |
"drop": false, | |
"x": 1510, | |
"y": 180, | |
"wires": [ | |
[ | |
"281515f8.a6829a" | |
] | |
] | |
}, | |
{ | |
"id": "86b9a6db.87a35", | |
"type": "ui_group", | |
"name": "Staubsauger", | |
"tab": "10f74434.26e3bc", | |
"order": 1, | |
"disp": true, | |
"width": "6", | |
"collapse": false | |
}, | |
{ | |
"id": "49f6cbbe.77c9c4", | |
"type": "miio-roborock-server", | |
"name": "Roborock S6", | |
"ip": "IP-HIER-EINTRAGEN", | |
"token": "TOKEN-HIER-EINTRAGEN", | |
"polling": "10" | |
}, | |
{ | |
"id": "10f74434.26e3bc", | |
"type": "ui_tab", | |
"name": "Staubsauger", | |
"icon": "toys", | |
"order": 1, | |
"disabled": false, | |
"hidden": false | |
} | |
] |