[APP][Pro] < Ecovacs Deebot >

As I found the options of @Aybert’s Ecovacs app didn’t fit my needs I decided to see what I could do to extend the app, of course with his consent. This version was mainly developed for my T9+ model, but it will very likely work well with other models too, since it runs on the same great libraries that @Aybert runs, that was developed by mrbungle64 (Sascha). A big thanks to both of them!

If people are willing to test this app, please do! Let me know how your model behaves with this app, and if there is anything that I can add to fit your needs.

For now the following options are added:

Triggercards
image
This triggercard is triggered when your Deebot has completed a cleaning command. It offers the following token:

  • Time of completion
  • Reason for stopping
  • Type of cleaning
  • Whether or not the mop was attached
  • An image token with the latest clean log

Beside this card there are triggercards for:

  • Batterycharging state changed
  • Location (room) changed
  • Current operation change

Actioncards

This actioncard lets your command your Deebot to clean multiple romms at once. If you know your room-id’s you can enter them manually, or you can tick the token symbol to add the rooms you want to clean by there token. Just enter a < in the filter field, and select the (multiple) tokens of your rooms. The old card where you can select a single room from the dropdown menu is still available btw.

Beside this card there are action cards for:

  • Start cleaning all rooms
  • Temporary pause cleaning
  • Resume cleaning when paused
  • Return to dock
  • Empty the dustbin
  • Run a “raw” vacbot.run() command (ecovacs-deebot.js Wiki)

Conditioncards
Conditioncards are available for

  • Mop is attached or not
  • Autoempty is enabled/disable
  • The current map is a specific map

As far as I can tell you can run this app besides @Aybert’s app, although triggercards from both apps might (no will) be triggered.

I deleted the on/off capability as I didn’t need it, it has been replaced but “Start cleaning all rooms” and “Return to dock”.

If you want localisation for you own language please send me translations for the various strings by PM.

Controls

Change log:

  • 1.4.5 Apr 24 2023 Fixed a bug for systems without a mopping system, and some additional error catching
  • 1.4.4 Apr 08 2023 Updated ecovacs-deebot library to 0.9.5 stable
  • 1.4.3 Apr 08 2023 Corrected a verbose logging problem
  • 1.4.2 Apr 08 2023 Better error handling
  • 1.4.1 Apr 07 2023 Typo in one of the flow cards
  • 1.4.0 Apr 01 2023 Add a ‘parking spot’ on request
  • 1.3.6 Apr 01 2023 Fixed a broken triggerCard
  • 1.3.5 Mar 29 2023 Change back the image token after fixes on the HP2023
  • 1.3.4 Feb 26 2023 Updated mrbungle64’s Ecovacs-deebot library to version 0.9.3-beta.0
  • 1.3.3 Feb 25 2023 Solved a problem with multimap configurations. Enhanced some debug options.
  • 1.3.2 Feb 03 2023 Added error codes, and localiztion of settings and error messages
  • 1.3.1 Feb 02 2023 Added trigger card for error state
  • 1.3.0 Feb 01 2023 Fixed yet another error in catching errors
  • 1.2.9 Feb 01 2023 Fixed an error in catching errors
  • 1.2.8 Jan 31 2023 Solve proble with ‘operation’ trigger
  • 1.2.7 Jan 30 2023 Even beter error handling, and added logging module (see app settings)
  • 1.2.5 Jan 20 2023 Beter error handling, and added translations
  • 1.2.4 Jan 17 2023 Fixed another bug
  • 1.2.2 Jan 16 2023 Device status synchronization enhancement
  • 1.2.1 Jan 15 2023 minor bug correction
  • 1.1.8 Jan 14 2023 Fixed a few bugs and optimized some flows
  • 1.1.7 Jan 14 2023 Initial published version
4 Likes

Hi @Le_Cactus,

Thnx for the app. I have a T9. But how can I get my room ID’s? The filter field is not showing all my rooms like your screenshot so I want to use the ID’s. Can I find them somewhere?

Below are the rooms I get, but I have more rooms in the Ecovacs app. I also don’t know what the single F and B rooms are… (I did not make them)

(Ignore ‘buiten’ (outside), my T9 sees the garden true the glass that runs to the floor :joy:.

Hi Sjoerd,

Strange… Is the “Clean zone” action card also not showing all rooms? And, does the log (see app settings) show any errors or abnormalities?

Please send me a diagnostics report, I’ll have a look at it. Maybe that reveals why not all rooms are listed.

I made a report: 147cc3c0-d52f-4571-be0f-8fa51e50bfb2

If I select the card for cleaning one room i get other rooms then the multiple rooms card.

I did also checked the log. There are all maps/rooms noted…

I did not yet try to delete and re-add the T9. Could try this also :slightly_smiling_face:

The diagnostics isn’t holding enough information to resolve this. Please clear the current log, enable the Library Debug logging in the Log settings, and restart the app. Then, after a few minutes, create a diagnostics report again.

Thanks, sorry for the inconvenience

No problem, thanks for your help.

New report: 3bcdf588-d80f-4e1c-9f0f-463a956ddfbd

Seems you have some zones without a name (in the attic), I guess the app can’t handle that at this moment. I’ll have a look if I can prevent such situations, and publish an update.

subsets: [
    { mssid: '0', name: 'Gang (z)'},
    { mssid: '1', name: ''},
    { mssid: '2', name: 'Kantoor'},
    { mssid: '3', name: ''}
  ]

Can you confirm this? Does the Ecovacs Mobile app also shows zones without a name? If so can you give them a name (or merge them with another zone/room) and try again?

Oh, and best disable the Library Debug logging again; this option logs monstrous amounts of data :slight_smile:

And F.Y.I., these are the zone ID’s for the other floors:

subsets: [
    { mssid: '0', name: 'Woonkamer'},
    { mssid: '4', name: 'Buiten'},
    { mssid: '2', name: 'Keuken'},
    { mssid: '3', name: 'Gang'}
  ]
subsets: [
    { mssid: '0', name: 'Gang (1e)'},
    { mssid: '1', name: 'Slaapkamer'},
    { mssid: '2', name: 'Kleedkamer'},
    { mssid: '3', name: 'Babykamer'}
  ]

Thnx for your fast respons.

I did have 2 rooms in the attic indeed that had no name or a standard name (bedroom), now it is called ‘Wasmachine’ and ‘slaapkamer’. I can’t merge rooms in the attic (wasmachine / gang are one room and bedroom/kantoor also)… Maybe because it has only run 2 times in attic in total. (New to the ecovacs :slight_smile:)

It shows the new rooms, but not alle the rooms.

I will run the vacuum cleaner tomorrow again upstairs and in the attic to look if this helps.

If after restarting the app still not all rooms are listed, please send me an diagnostics report again (first clear, and enable library debugging again). I’ll try and figure out why this happens.

Report: 4ae10355-8df0-4425-85df-e995a3235e09

One of the renamed room is showing.

The ecovacs-deebot.js librabi I’m using is reporting 12 zones on 3 floors:

subsets: [
    { mssid: '0', name: 'Woonkamer'},
    { mssid: '4', name: 'Buiten'},
    { mssid: '2', name: 'Keuken'},
    { mssid: '3', name: 'Gang'}
  ]
  
subsets: [
    { mssid: '0', name: 'Gang (1e)'},
    { mssid: '1', name: 'Slaapkamer'},
    { mssid: '2', name: 'Kleedkamer'},
    { mssid: '3', name: 'Babykamer'}
  ]
  
 subsets: [
    { mssid: '0', name: 'Gang (z)'},
    { mssid: '1', name: 'Wasmachine'},
    { mssid: '2', name: 'Kantoor'},
    { mssid: '3', name: 'Slaakamer'}
  ]

The app is updating flowTokens for all those zones:

[log] 2023-02-25 10:17:20 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Gang (1e)
[log] 2023-02-25 10:17:20 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Slaapkamer
[log] 2023-02-25 10:17:20 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Babykamer
[log] 2023-02-25 10:17:20 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Kleedkamer
[log] 2023-02-25 10:17:20 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Wasmachine
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Slaakamer
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Kantoor
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Woonkamer
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Gang
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Gang (z)
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Buiten
[log] 2023-02-25 10:17:21 [ManagerDrivers] [Driver:Deebot] [Device:57cbd6ce-ae89-45ef-bb66-fdb8974bf591] --Updating Zone Keuken

Question is, do you not see a flowToken for all 12 zones, or do you have more than 12 zones?
And, is the “Clean zone” (not the “Clean zones…” / “Maak meerdere kamers schoon”) showing the correct zones, or is that also missing zones?

The 12 zones and 3 floors are correct.

Both the card ‘Clean Zone’ and ‘Clean Zones’ are missing 7 rooms.



The ‘beganegrond’ is for me the most important for automation. Did not test if I can start the Ecovacs with the ID’s yet.

1 Like

I now know what the problem is, thanks!

image

I’ve fiddled a lot with the Ecovacs maps (merging and dividing rooms) and by doing that my mssid’s are all unique. In your specific case you don’t see “Gang (1e)” and “Gang (z)” because they have mssid 0, the same as the “Woonkamer” does.

I use the mssid’s in the autocomplete and flowTokens, and since their values must be unique you are presented with only one zone per unique mssid.

I’ll try and find a solution for this this weekend, it shouldn’t be that difficult. I’ll let you know when I publish a new test version.

If you want a solution before that time, you can divide and merge a room (it then gets a new mssid) until every room has a unique ID. But that is somewhat cumbersome :joy:

1 Like

A that make sense. No rush, luckily I can just start the Ecovacs with the app :slight_smile:,.

Just tested it also with the ID’s. And then it is working correctly (for the ground floor). So the only problem is indeed that I don’t see the rooms in the action cards to select.

Please try the new 1.3.3 (test-) version < Ecovacs Deebot > | Homey and let me know if this solves your problem. Thanks in advance.

Hmm i see more rooms now, all rooms of the ground floor and attic. But I miss the rooms of the second floor. I made a report: fe1d77ed-8c63-41a2-96cf-9a09ec52b3d5

Seems like the Ecovacs-Deebot.js library is at fault here. I contacted the developers hoping confimation and/or a solution. As far as I can see though there is a good chance that restarting the app might solve the problem.

As soon as I know more I’ll let you know. Please let me know if restarting the app gives the same result.

Please try the new 1.3.4 (test-) version < Ecovacs Deebot > | Homey . A new version of the Ecovacs-Deebot.js library was implemented (thank you mrbungle64) that may solve the problem.

Please let me know if this solves your problem.

1 Like

Fixed! The update made all rooms visible :smiley::partying_face:
Thnx for your work and help! Let me know if I have to test something.

1 Like

Thanks! I have nothing to test, but please let me know if anything isn’t working as expected, or if you miss anything that could improve the app.

1 Like