Skip to content

Commit

Permalink
A few changes for Airbot Z1
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbungle64 committed Dec 6, 2023
1 parent 1add8d8 commit 8106fda
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions nodes/ecovacs-deebot.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,15 @@ module.exports = function (RED) {

if (node.vacbot.getModelType() !== 'aqMonitor') {
node.vacbot.run('GetBatteryState');
node.vacbot.run('GetCleanState');
if (node.vacbot.getModelType() === 'airbot') {
node.vacbot.run('GetCleanState_V2');
} else {
node.vacbot.run('GetCleanState');
}
node.vacbot.run('GetChargeState');
node.vacbot.run('GetCleanSum');
if (node.vacbot.getModelType() !== 'airbot') {
node.vacbot.run('GetSleepStatus');
node.vacbot.run('GetCleanSum');
node.vacbot.run('GetCleanLogs');
node.vacbot.run('GetLifespan');
}
Expand Down

0 comments on commit 8106fda

Please sign in to comment.