diff --git a/README.md b/README.md index 22836c3..77eb7c6 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,9 @@ For instructions for other systems visit https://www.npmjs.com/package/canvas#co ## Changelog +### 0.4.10 +* A few changes for AIRBOT Z1 and Z1 Air Quality Monitor + ### 0.4.9 * Using library version 0.9.6 (alpha) diff --git a/nodes/ecovacs-deebot.js b/nodes/ecovacs-deebot.js index 6c5e9a7..bb81519 100644 --- a/nodes/ecovacs-deebot.js +++ b/nodes/ecovacs-deebot.js @@ -50,8 +50,10 @@ module.exports = function (RED) { } }); + // aqMonitor = e.g. Z1 Air Quality Monitor if (node.vacbot.getModelType() !== 'aqMonitor') { node.vacbot.run('GetBatteryState'); + // airbot = e.g. AIRBOT Z1 if (node.vacbot.getModelType() === 'airbot') { node.vacbot.run('GetCleanState_V2'); } else { diff --git a/package-lock.json b/package-lock.json index c00e974..c58831f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-ecovacs-deebot", - "version": "0.4.9", + "version": "0.4.10", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5e4f508..a6e3e85 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-red-contrib-ecovacs-deebot", - "version": "0.4.9", + "version": "0.4.10", "description": "Node-RED node for Ecovacs Deebot vacuum cleaner", "main": "nodes/ecovacs-deebot.js", "scripts": {