Roborock control with QR-Code
Flow for Roborock control with QR-Code.
Details see http://blog.wenzlaff.de/?p=16493
[{"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":"Staubbehälter leeren und Küche","tooltip":"","color":"","bgcolor":"","icon":"","payload":"16","payloadType":"num","topic":"topic","topicType":"msg","x":1150,"y":180,"wires":[["eda2f1e6.4bbc6","281515f8.a6829a"]]},{"id":"278e3180.dec406","type":"inject","z":"65d1d0fe.3c4c08","g":"e458d371.6bce4","name":"Staubbehälter leeren","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"16","payloadType":"num","x":1030,"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":1650,"y":240,"wires":[[]]},{"id":"e2f7f3b7.94d638","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"e458d371.6bce4","name":"Ansage","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":"50","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1300,"y":120,"wires":[["e2f7f3b7.94d638","ed859d7d.7f1538"]]},{"id":"ed859d7d.7f1538","type":"delay","z":"65d1d0fe.3c4c08","g":"e458d371.6bce4","name":"Leere des 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":"59ff2a1.fa600d4","type":"http in","z":"65d1d0fe.3c4c08","g":"e458d371.6bce4","name":"","url":"/staubsauger-leeren","method":"get","upload":false,"swaggerDoc":"","x":1030,"y":240,"wires":[["54c1e70d.ab3e18"]]},{"id":"54c1e70d.ab3e18","type":"template","z":"65d1d0fe.3c4c08","g":"e458d371.6bce4","name":"Nachricht","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<html>\n <head></head>\n <body>\n <h1>Staubsauger fährt nun zum entlehren des Staubbehälters in die Küche, wartet 2 Minuten und reinigt dann die Küche.</h1>\n </body>\n</html>","x":1240,"y":240,"wires":[["266c286f.d993d8","f1ed66df.7b27a8"]]},{"id":"266c286f.d993d8","type":"http response","z":"65d1d0fe.3c4c08","g":"e458d371.6bce4","name":"Antwort","statusCode":"","headers":{},"x":1400,"y":240,"wires":[]},{"id":"86b9a6db.87a35","type":"ui_group","name":"Staubsauger","tab":"10f74434.26e3bc","order":2,"disp":true,"width":"6","collapse":false},{"id":"49f6cbbe.77c9c4","type":"miio-roborock-server","name":"Roborock S6","ip":"IP-EINTRAGEN","token":"TOKEN-EINTRAGEN","polling":"10"},{"id":"10f74434.26e3bc","type":"ui_tab","name":"Staubsauger","icon":"toys","order":1,"disabled":false,"hidden":false}]