gilmrt / Domoticz-Botvac-Plugin

Domoticz Plugin for Botvac (Neato) Vacuum
2 stars 2 forks source link

'onCommand' failed 'NeatoRobotException' #3

Closed RowanRivierenland closed 3 years ago

RowanRivierenland commented 3 years ago

I get the follow error when trying tot start my neato D7 using Domoticz (2020.2).

2020-10-12 17:02:05.580 (STOF-E) Creating images from file '/home/pi/Domoticz/plugins/Domoticz-Botvac-Plugin/icons.zip'. 2020-10-12 17:02:05.607 (STOF-E) Image created. ID: 108 2020-10-12 17:02:06.012 Error: (STOF-E) 'onStart' failed 'NeatoRobotException'. 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 279 in '/home/pi/Domoticz/plugins/Domoticz-Botvac-Plugin/plugin.py', function onStart 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 154 in '/home/pi/Domoticz/plugins/Domoticz-Botvac-Plugin/plugin.py', function onStart 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 230 in '/home/pi/Domoticz/plugins/Domoticz-Botvac-Plugin/plugin.py', function botvacGetValues 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 47 in '/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py', function init 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 239 in '/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py', function service_version 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 235 in '/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py', function available_services 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 231 in '/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py', function state 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 189 in '/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py', function get_robot_state 2020-10-12 17:02:06.012 Error: (STOF-E) ----> Line 69 in '/usr/local/lib/python3.7/dist-packages/pybotvac/robot.py', function _message

gilmrt commented 3 years ago

Rowan, Sorry being late Can you edit the python script in /home/pi/domoticz/plugins/Domoticz-Botvac-Plugin/plugin.py (if using Raspberry) And replace line 181 and 190 robot.start_cleaning(mode=2, navigation_mode=2, category=4) by robot.start_cleaning() Then disable and enable Botvac plugin in Domoticz and try again

gilmrt commented 3 years ago

No update ... closing