November 2Nov 2 From 2.0.17..2025-11-02 10:02:30.597 Thread-6 (userDiscover) udi_interface ERROR roomba-poly:getPassword: 'utf-8' codec can't decode byte 0xf0 in position 0: invalid continuation byteTraceback (most recent call last): File "/var/polyglot/pg3/ns/0021b9026dfb_3/roomba-poly.py", line 795, in getPassword password = str(data[7:].decode().rstrip("\x00")) ^^^^^^^^^^^^^^^^^UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf0 in position 0: invalid continuation byte
November 3Nov 3 I can't seem to get past discovery. The PG3 Roomba plug-in seems to make the Roombas block connection attempts, even from the app, because it says the Roomba may be on another subnet when I try to display the connection info. If I stop the plug-in and reboot the Roomba, or wait, it eventually recovers. The plus-in is stuck doing this when I stop it...2025-11-03 13:56:55.260 Thread-5 (handleConfigDone) udi_interface INFO roomba-poly:getPassword: Connecting to 192.168.1.211 on port 88832025-11-03 13:56:55.264 Thread-5 (handleConfigDone) udi_interface ERROR roomba-poly:getPassword: Connection Error (for 192.168.1.211): [Errno 61] Connection refused2025-11-03 13:56:55.264 Thread-5 (handleConfigDone) udi_interface INFO roomba-poly:getPassword: start password discovery2025-11-03 13:56:55.265 Thread-5 (handleConfigDone) udi_interface INFO roomba-poly:getPassword: Connecting to 192.168.1.211 on port 88832025-11-03 13:56:55.268 Thread-5 (handleConfigDone) udi_interface ERROR roomba-poly:getPassword: Connection Error (for 192.168.1.211): [Errno 61] Connection refused2025-11-03 13:56:55.268 Thread-5 (handleConfigDone) udi_interface INFO roomba-poly:getPassword: start password discovery
November 4Nov 4 So what changed between your two posts above?The first looks like it connected to the roomba and got something while waiting for the password. However, it doesn't appear to be valid password data. That line of code where it failed, has been in the plug-in since the beginning so I don't think it's suddenly wrong. It just looks like the roomba sent something it can't handle.The second isn't even connecting and the roomba is refusing to connect.Looks like I need to quit trying to connect if I get anything other than a timeout error. I'll add that to the code. But I don't think the plug-in can do anything to make the roomba accept the connection request, that's controlled by the roomba itself.The roomba can only have one connection at a time. If you connect with the app, the plug-in will be unable to connect and if the plug-in is connected, the app won't be able to connect.
November 4Nov 4 I'm not trying to connect with the app until after I stop the plug-in and the Roomba acts like it still has a connection. Is it possible the app is trying to reconnect before the previous try has disconnected? It seems to connect the first time, and if I'm quick on the button, it'll even move on to the next Roomba.
November 4Nov 4 I'm far from an expert on how the Roombas work. Basically, if you're going to use the plug-in, don't use the app and if you're going to use the app, don't use the plug-in. And when I say don't use the app, I mean you should not have it running, not even in the background.I don't know what happens if the app is connected and you press the button on the roomba.Pressing the button on the roomba, puts it in a mode where it will send it's password to whatever makes a connection to it.Once something has that password, it can connect directly to the roomba without having to get the password again. So when the plug-in gets the password, it saves it along with the IP address of the roomba so that from that point on, it simply connects to the roomba when it starts.
Monday at 02:14 PM3 days Well Roombas were working with 2, 0, 14 version and made the mistake of upgrading to the latest version 2.0.17. to see if it worked and installed the nodes Nodes stayed after update but lost abilty to control the rommba from the plugin ( could no activate the roomba from plugin) deleted the nodes in eisy and the plugin and reinstalled program gives error same as Lore is seeing above when trying to parse the password tried what worked with version 2.0.14 with having the roombas in linking mode on plugin install and that no longer works gives the same error in parsing the passwordnot sure if you can go back to a later version (2,0,14) to see if that still works Roomba_11-10-2025_90648_AM.zip
Monday at 05:17 PM3 days That line of code that's throwing the error hasn't changed. What did change was that it moved inside a loop so that it will keep trying to connect instead of timing out after 10 seconds.I'll take a look at that section and try to determine what's going one to make it fail now.
Create an account or sign in to comment