Xiaomi Vacuum cleaner

See http://blog.wenzlaff.de/?p=16395

Gui:

[{"id":"65d1d0fe.3c4c08","type":"tab","label":"Staubsauger","disabled":false,"info":""},{"id":"573059bc.c13d98","type":"group","z":"65d1d0fe.3c4c08","name":"Reinigen","style":{"fill":"#ffffbf","label":true},"nodes":["d5a074ac.fff99","17444550.b88443","24521227.baa61e","5d93df04.bc206","e62aabb9.e8a918","3c9880a.173aa","195a436c.264265","662f64d2.fcc76c","ca69b85.126d948","98f3bb2c.90798","54543b62.ebf9f4","74b66d6e.d3ee1c","76eacc05.1e934c","d07a8def.bd4ae8","6ba7ad40.813f4c","f02a2e49.cf0948","47302e91.c63db","3017b5f.78b524a","85bd8833.b65a98","e9ac8655.59113","294c860d.8c798a","f9589ba2.3d76a","20e54eec.b60d0a","648f7e7c.0aff1","2c610dd9.81de52","eea387aa.c90cc","508b77ec.8ad8c","842dc3f0.13bd68"],"x":54,"y":19,"w":812,"h":522},{"id":"cb8945e2.89be1","type":"group","z":"65d1d0fe.3c4c08","name":"Räume","style":{"fill":"#e3f3d3","label":true},"nodes":["91aff4e6.7c5c6","82321a3b.918978","6f1fd658.894f58","e28e189f.0370e","138c1e32.2147f2","ea32c918.b7a548","b9b0f41d.eb8e48","f81644dc.6f1628","2e1e840d.3f200c","668c6f39.b902e","1ec085b1.6a3632","851131aa.32f798","44228dd1.558b5c","80becaa3.ef7e6","47bbae0c.3938","3f965338.7d83dc","e3a1f101.10c72","9584e27b.081a68","9a7ff01f.cf5ce8","98148ff.9ed2af","4b672bb0.b4669c","c82fb339.40fb48","4bc53342.611684","c6d97f47.56e878","40c9a079.48eea8","3d9c8db5.0a4112"],"x":54,"y":559,"w":932,"h":582},{"id":"d5a074ac.fff99","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","server":"49f6cbbe.77c9c4","command_name":"► Start","command":"app_start","commandType":"vacuum_cmd","payload":"payload","payloadType":"msg","coordinates":"","fan_speed":100,"voice_pack":null,"homekit_stop_to_dock":false,"x":500,"y":60,"wires":[["e62aabb9.e8a918"]]},{"id":"17444550.b88443","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","server":"49f6cbbe.77c9c4","command_name":"◼ Stop","command":"app_stop","commandType":"vacuum_cmd","payload":"payload","payloadType":"msg","coordinates":"","fan_speed":100,"voice_pack":null,"homekit_stop_to_dock":false,"x":500,"y":120,"wires":[["e62aabb9.e8a918"]]},{"id":"24521227.baa61e","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Start alles","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":180,"y":60,"wires":[["98f3bb2c.90798"]]},{"id":"5d93df04.bc206","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Stop","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":190,"y":120,"wires":[["54543b62.ebf9f4"]]},{"id":"e62aabb9.e8a918","type":"debug","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Status","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":770,"y":180,"wires":[]},{"id":"e9ac8655.59113","type":"miio-roborock-event","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","server":"49f6cbbe.77c9c4","outputAtStartup":true,"x":620,"y":420,"wires":[["e62aabb9.e8a918","20e54eec.b60d0a"]]},{"id":"3c9880a.173aa","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","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":500,"y":240,"wires":[["e62aabb9.e8a918"]]},{"id":"195a436c.264265","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Pause","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":190,"y":240,"wires":[["74b66d6e.d3ee1c"]]},{"id":"294c860d.8c798a","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Status","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"str","x":190,"y":420,"wires":[["f9589ba2.3d76a"]]},{"id":"662f64d2.fcc76c","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","server":"49f6cbbe.77c9c4","command_name":"◼ Stop & dock","command":"app_stop_dock","commandType":"vacuum_cmd","payload":"payload","payloadType":"msg","coordinates":"","fan_speed":"","homekit_stop_to_dock":true,"x":520,"y":180,"wires":[["e62aabb9.e8a918"]]},{"id":"ca69b85.126d948","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Stop & dock","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":170,"y":180,"wires":[["76eacc05.1e934c"]]},{"id":"91aff4e6.7c5c6","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","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":690,"y":600,"wires":[["2e1e840d.3f200c"]]},{"id":"82321a3b.918978","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Küche","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"16","payloadType":"num","x":150,"y":600,"wires":[["80becaa3.ef7e6"]]},{"id":"6f1fd658.894f58","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Schlafzimmer","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":720,"y":660,"wires":[["2e1e840d.3f200c"]]},{"id":"e28e189f.0370e","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Schlafzimmer","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"17","payloadType":"num","x":170,"y":660,"wires":[["9a7ff01f.cf5ce8"]]},{"id":"138c1e32.2147f2","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Bad","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":690,"y":720,"wires":[["2e1e840d.3f200c"]]},{"id":"ea32c918.b7a548","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Bad","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"18","payloadType":"num","x":150,"y":720,"wires":[["47bbae0c.3938"]]},{"id":"b9b0f41d.eb8e48","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Flur","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":690,"y":780,"wires":[["2e1e840d.3f200c"]]},{"id":"f81644dc.6f1628","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Flur","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"19","payloadType":"num","x":150,"y":780,"wires":[["3f965338.7d83dc"]]},{"id":"2e1e840d.3f200c","type":"debug","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Status","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":890,"y":780,"wires":[]},{"id":"668c6f39.b902e","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Stube","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":690,"y":840,"wires":[["2e1e840d.3f200c"]]},{"id":"1ec085b1.6a3632","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Stube","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"20","payloadType":"num","x":150,"y":840,"wires":[["9584e27b.081a68"]]},{"id":"851131aa.32f798","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Arbeitszimmer","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":720,"y":900,"wires":[["2e1e840d.3f200c"]]},{"id":"44228dd1.558b5c","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Arbeitszimmer","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"21","payloadType":"num","x":170,"y":900,"wires":[["e3a1f101.10c72"]]},{"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":"98f3bb2c.90798","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":1,"width":0,"height":0,"passthru":true,"label":"Start alles","tooltip":"","color":"black","bgcolor":"#79c358","icon":"toys","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":320,"y":60,"wires":[["d5a074ac.fff99"]]},{"id":"54543b62.ebf9f4","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":5,"width":0,"height":0,"passthru":true,"label":"Stop","tooltip":"","color":"black","bgcolor":"#f9b19d","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":310,"y":120,"wires":[["17444550.b88443"]]},{"id":"76eacc05.1e934c","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":6,"width":0,"height":0,"passthru":true,"label":"Stop & dock","tooltip":"","color":"black","bgcolor":"#f9b19d","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":330,"y":180,"wires":[["662f64d2.fcc76c"]]},{"id":"74b66d6e.d3ee1c","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":2,"width":0,"height":0,"passthru":true,"label":"Pause","tooltip":"","color":"black","bgcolor":"#f9f49d","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":310,"y":240,"wires":[["3c9880a.173aa"]]},{"id":"80becaa3.ef7e6","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":5,"width":0,"height":0,"passthru":true,"label":"Küche","tooltip":"","color":"","bgcolor":"","icon":"","payload":"16","payloadType":"num","topic":"topic","topicType":"msg","x":430,"y":600,"wires":[["91aff4e6.7c5c6"]]},{"id":"47bbae0c.3938","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":6,"width":0,"height":0,"passthru":true,"label":"Bad","tooltip":"","color":"","bgcolor":"","icon":"","payload":"18","payloadType":"num","topic":"topic","topicType":"msg","x":430,"y":720,"wires":[["138c1e32.2147f2"]]},{"id":"9a7ff01f.cf5ce8","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":3,"width":0,"height":0,"passthru":true,"label":"Schlafzimmer","tooltip":"","color":"","bgcolor":"","icon":"","payload":"17","payloadType":"num","topic":"topic","topicType":"msg","x":460,"y":660,"wires":[["6f1fd658.894f58"]]},{"id":"3f965338.7d83dc","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":4,"width":0,"height":0,"passthru":true,"label":"Flur","tooltip":"","color":"","bgcolor":"","icon":"","payload":"19","payloadType":"num","topic":"topic","topicType":"msg","x":430,"y":780,"wires":[["b9b0f41d.eb8e48"]]},{"id":"9584e27b.081a68","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":1,"width":0,"height":0,"passthru":true,"label":"Stube","tooltip":"","color":"","bgcolor":"","icon":"","payload":"20","payloadType":"num","topic":"topic","topicType":"msg","x":430,"y":840,"wires":[["668c6f39.b902e"]]},{"id":"e3a1f101.10c72","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":2,"width":0,"height":0,"passthru":true,"label":"Arbeitszimmer","tooltip":"","color":"","bgcolor":"","icon":"","payload":"21","payloadType":"num","topic":"topic","topicType":"msg","x":460,"y":900,"wires":[["851131aa.32f798"]]},{"id":"98148ff.9ed2af","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"nur Räume","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":710,"y":1040,"wires":[["2e1e840d.3f200c"]]},{"id":"4b672bb0.b4669c","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":7,"width":0,"height":0,"passthru":true,"label":"Bad & Küche","tooltip":"","color":"","bgcolor":"grey","icon":"","payload":"[18,16]","payloadType":"json","topic":"topic","topicType":"msg","x":450,"y":980,"wires":[["98148ff.9ed2af"]]},{"id":"c82fb339.40fb48","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Bad & Küche","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[18,16]","payloadType":"json","x":170,"y":980,"wires":[["4b672bb0.b4669c"]]},{"id":"3017b5f.78b524a","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","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":500,"y":360,"wires":[["e62aabb9.e8a918"]]},{"id":"47302e91.c63db","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Ansage","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"num","x":190,"y":360,"wires":[["85bd8833.b65a98"]]},{"id":"6ba7ad40.813f4c","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","server":"49f6cbbe.77c9c4","command_name":"Dock","command":"app_charge","commandType":"vacuum_cmd","payload":"payload","payloadType":"msg","coordinates":"","fan_speed":"","homekit_stop_to_dock":true,"x":490,"y":300,"wires":[["e62aabb9.e8a918"]]},{"id":"d07a8def.bd4ae8","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Ladestation","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":"","topic":"","payload":"","payloadType":"num","x":170,"y":300,"wires":[["f02a2e49.cf0948"]]},{"id":"f02a2e49.cf0948","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":3,"width":0,"height":0,"passthru":true,"label":"Ladestation","tooltip":"","color":"black","bgcolor":"#f9f49d","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":330,"y":300,"wires":[["6ba7ad40.813f4c"]]},{"id":"4bc53342.611684","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":8,"width":0,"height":0,"passthru":true,"label":"Bad & Küche & Flur","tooltip":"","color":"","bgcolor":"grey","icon":"","payload":"[18,16,19]","payloadType":"json","topic":"topic","topicType":"msg","x":470,"y":1040,"wires":[["98148ff.9ed2af"]]},{"id":"c6d97f47.56e878","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Bad & Küche & Flur","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[18,16,19]","payloadType":"json","x":190,"y":1040,"wires":[["4bc53342.611684"]]},{"id":"40c9a079.48eea8","type":"inject","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"Bad & Küche & Flur & Stube","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[18,16,19, 20]","payloadType":"json","x":220,"y":1100,"wires":[["3d9c8db5.0a4112"]]},{"id":"3d9c8db5.0a4112","type":"ui_button","z":"65d1d0fe.3c4c08","g":"cb8945e2.89be1","name":"","group":"291624e.962ba5c","order":9,"width":0,"height":0,"passthru":true,"label":"Bad & Küche & Flur & Stube","tooltip":"","color":"","bgcolor":"grey","icon":"","payload":"[18,16,19, 20]","payloadType":"json","topic":"topic","topicType":"msg","x":500,"y":1100,"wires":[["98148ff.9ed2af"]]},{"id":"85bd8833.b65a98","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":4,"width":0,"height":0,"passthru":true,"label":"Ansage","tooltip":"","color":"black","bgcolor":"#f9f49d","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":320,"y":360,"wires":[["3017b5f.78b524a"]]},{"id":"f9589ba2.3d76a","type":"ui_button","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","group":"86b9a6db.87a35","order":8,"width":0,"height":0,"passthru":true,"label":"Status aktuallisieren","tooltip":"","color":"black","bgcolor":"#f9f49d","icon":"","payload":"","payloadType":"str","topic":"topic","topicType":"msg","x":360,"y":420,"wires":[["e9ac8655.59113"]]},{"id":"20e54eec.b60d0a","type":"ui_text","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","group":"86b9a6db.87a35","order":7,"width":0,"height":0,"name":"","label":"Status","format":"{{msg.payload.state_text}} - Batterie: {{payload.battery}}","layout":"row-spread","x":790,"y":420,"wires":[]},{"id":"eea387aa.c90cc","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Normal","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"25","payloadType":"num","x":330,"y":460,"wires":[["648f7e7c.0aff1"]]},{"id":"648f7e7c.0aff1","type":"miio-roborock-command","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","server":"a5093fc7.a6ab8","command_name":"⚙ Fan Power","command":"set_custom_mode","commandType":"vacuum_cmd","payload":"payload","payloadType":"msg","coordinates":"[\n   [26234,26042,27284,26642,1],\n   [26234,26042,27284,26642,1]\n]","fan_speed":"","homekit_stop_to_dock":true,"x":610,"y":460,"wires":[["e62aabb9.e8a918"]]},{"id":"508b77ec.8ad8c","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Leise","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"10","payloadType":"num","x":190,"y":460,"wires":[["648f7e7c.0aff1"]]},{"id":"2c610dd9.81de52","type":"ui_dropdown","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"","label":"Leistung","tooltip":"","place":"Auswahl","group":"86b9a6db.87a35","order":8,"width":0,"height":0,"passthru":true,"multiple":false,"options":[{"label":"Leise","value":10,"type":"num"},{"label":"Normal","value":25,"type":"num"},{"label":"Turbo","value":"75","type":"str"},{"label":"Maximal","value":"100","type":"str"}],"payload":"","topic":"topic","topicType":"msg","x":460,"y":460,"wires":[["648f7e7c.0aff1"]]},{"id":"842dc3f0.13bd68","type":"inject","z":"65d1d0fe.3c4c08","g":"573059bc.c13d98","name":"Turbo","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"75","payloadType":"num","x":190,"y":500,"wires":[["2c610dd9.81de52"]]},{"id":"172f455f.15f7c3","type":"inject","z":"65d1d0fe.3c4c08","name":"Maximal","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"100","payloadType":"num","x":340,"y":500,"wires":[["2c610dd9.81de52"]]},{"id":"49f6cbbe.77c9c4","type":"miio-roborock-server","name":"Roborock S6","ip":"IP-ADRESSE EINFÜGEN","token":"EIGENEN TOKEN HIER EINGÜGEN","polling":"10"},{"id":"86b9a6db.87a35","type":"ui_group","name":"Staubsauger","tab":"10f74434.26e3bc","order":1,"disp":true,"width":"6","collapse":false},{"id":"291624e.962ba5c","type":"ui_group","name":"Räume","tab":"10f74434.26e3bc","order":2,"disp":true,"width":"6","collapse":false},{"id":"10f74434.26e3bc","type":"ui_tab","name":"Staubsauger","icon":"toys","order":1,"disabled":false,"hidden":false}]

Flow Info

Created 3 years, 5 months ago
Rating: 5 1

Owner

Actions

Rate:

Node Types

Core
  • comment (x1)
  • debug (x2)
  • inject (x20)
Other

Tags

  • Xiaomi
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option