diff --git a/README.md b/README.md index 1085ad9..1c05c16 100644 --- a/README.md +++ b/README.md @@ -13,8 +13,8 @@ Node-Red Nodes for Xiaomi Roborock Vacuum connectivity. -Important: works and tested with Roborock s50 (gen2), Roborock s5 Max (gen3) - +Important: works and tested with Roborock s50 (gen2), Roborock s5 Max (gen3), Roborock S8 Ultra Pro, Xiaomi S1 + Available nodes are: * miio-roborock-command: control your vacuum * miio-roborock-event: get events from vacuum diff --git a/lib/miio-roborock-vocabulary.js b/lib/miio-roborock-vocabulary.js index 164d178..ee6049b 100644 --- a/lib/miio-roborock-vocabulary.js +++ b/lib/miio-roborock-vocabulary.js @@ -208,7 +208,7 @@ class MiioRoborockVocabulary { del_timer: {name:"🕑 Timer: remove", link:"https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/timer.md", args:true}, enable_log_upload: {name:"Enable log upload", link:"https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/log_upload.md", args:false}, - reset_consumable: {name:"Reset consumables", link:"https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/consumable.md", args:true}, + reset_consumable: {name:"Reset consumables", link:"https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/consumable.md", args:false}, // app_wakeup_robot: {name:"app_wakeup_robot", link:"", args:false}, get_room_mapping: {name:"ⓘ Get room mapping", link:"https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/room_mapping.md", args:false} diff --git a/nodes/event.js b/nodes/event.js index fc6d5d4..924c0b2 100644 --- a/nodes/event.js +++ b/nodes/event.js @@ -150,6 +150,12 @@ module.exports = function(RED) { status.text += ' 💧'; } + //dry status + if ("dry_status" in node.server.status && parseInt(node.server.status.dry_status)) { + status.text += ' ♨ '; + } + + node.status(status); } diff --git a/package.json b/package.json index e402b6b..40b0e2d 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "email": "andrey_popov@me.com" }, "name": "node-red-contrib-miio-roborock", - "description": "Xiaomi Roborock connectivity nodes for node-red", - "version": "2.3.4", + "description": "Roborock connectivity nodes for node-red", + "version": "2.4.0", "dependencies": { "bootstrap-multiselect": "latest", "events": "latest", @@ -18,7 +18,8 @@ "xiaomi", "miio", "roborock", - "vacuum" + "vacuum", + "cleaner" ], "license": "GPL", "node-red": {