Ecovac Deebot

Python and python framework

Moderator: leecollings

Post Reply
rlschulz
Posts: 20
Joined: Sunday 25 October 2015 16:33
Target OS: Windows
Domoticz version: 3.5877
Contact:

Ecovac Deebot

Post by rlschulz »

Has anyone written a script for use with Ecovac Deebot?
dakarli
Posts: 5
Joined: Monday 16 March 2020 10:47
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Contact:

Re: Ecovac Deebot

Post by dakarli »

I know its an old Topic but it is always the first result in Google if you Search for "Domoticz" and "Ecovacs Deebot" Vacuum Cleaners.

I was also searching for it, and have found some sources which i now combined and implemented to my Domoticz Setup.

Details can be found on my GitHub Repository: https://github.com/DaKarlii/Domoticz_Ec ... ementation

In a short Detail: Im Using the Python Libary "Deebotozmo" from And3rsL https://github.com/And3rsL/Deebotozmo and a self written bash script to Control the Robot and get some informations from it.

I hope this will help some other Domoticz and Ecovacs Ozmo Users.
xKingx
Posts: 15
Joined: Tuesday 03 June 2014 11:23
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Holland
Contact:

Re: Ecovac Deebot

Post by xKingx »

Edit 1: Must have something to do with permissions, root vs user as found here: viewtopic.php?t=7465.
Edit 2: I have hardcoded the path to the config file in cli.py and now it works as under root it knows where to find it too.

Sorry to re-awaken this one after a year+. I managed to get this almost working with my new Ecovacs Deebot T9 AIVI. I am so far that I can run commands from the command line to execute start / stop / pause routines. What isn't working is the command through the selector action in Domoticz though.

I have it setup as follows for all commands (pause, clean, charge, resume):
script:///home/my-username-is-here/domoticz/scripts/deebot/venv/bin/deebotozmo pause

However when executed through the script action in my Domoticz selector I get:
Error: Error executing script command (/home/my-username-is-here/domoticz/scripts/deebot/venv/bin/deebotozmo).returned:256

Anyone any clue what this could be? Something in the environment perhaps? Should I write a little wrapper script maybe?
Raspberry Pi running Domoticz image
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest