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