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?