iRoomba 980 iRobot Plugin

Posted on
Tue Jan 09, 2018 11:33 pm
GlennNZ offline
Posts: 201
Joined: Dec 07, 2014

iRoomba 980 iRobot Plugin

pmgendon wrote:
Hey !

thanks for the awesome work with this plugin.

Now I'm getting the following errors when running the start and dock commands:

Jan 9, 2018, 11:13:27 PM
Action Group roomba - ++ - rdc - start
iRobot-Roomba Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 544, in startRoombaAction
File "plugin.py", line 569, in RoombaAction
AttributeError: 'NoneType' object has no attribute 'send_command'

Action Group roomba - ++ - rdc - dock
iRobot-Roomba Error Error in plugin execution ExecuteAction:

Traceback (most recent call last):
File "plugin.py", line 556, in dockRoombaAction
File "plugin.py", line 569, in RoombaAction
AttributeError: 'NoneType' object has no attribute 'send_command'

the actions are not performed.

cheers!

pm


I presume the other issues earlier have been overcome by installing paho-mqtt?

Essentially you are getting that error because the plugin is not connected to your Roomba - either at anytime because of the earlier issues, or when you are trying to send the Commands.
(should add some better checks for a connected state - but that won’t change the end result for you)

Probably need a bit more info about the connection itself - (a debug log from beginning)

Glenn

Posted on
Thu Jan 11, 2018 3:43 pm
GlennNZ offline
Posts: 201
Joined: Dec 07, 2014

Re: iRoomba 980 iRobot Plugin

OK

Have found the issue - only applies if not running in 'continuous connection mode' which is default and recommended if you have 1 roomba.

Have posted a fix and version 0.2.4

Glenn

Who is online

Users browsing this forum: No registered users and 1 guest