Roomba980-Python icon indicating copy to clipboard operation
Roomba980-Python copied to clipboard

Problem with Roomba i7 since 3.0.11 firmware upgrade

Open jmvedrine opened this issue 5 years ago • 5 comments

Hello, I am using this great library in a plugin for the French home automation system Jeedom. One of my users reported that since his Roomba i7 has been upgraded (in the last week of September) the plugin is no more working and he even unable to retrieve the password (even after trying many times). For all other users having different robot models (including me) the script is still working great so until now the problem seems limited to i7/i7+ I did a bit of debugging on his system and in fact the problem arise at connection step https://github.com/NickWaterton/Roomba980-Python/blob/master/build/lib.linux-x86_64-2.7/roomba/password.py#L127 because the robot is returning a 104 error connection reset by peer. After a search it appears that other have the same exact problem see ratsputin comment here https://github.com/home-assistant/home-assistant/issues/27028.

jmvedrine avatar Oct 05 '19 14:10 jmvedrine

Hello,

It seems they have changed the tls config, like indicated here : https://github.com/NickWaterton/Roomba980-Python/issues/39#issuecomment-538665656 this commit : https://github.com/zhouF96/Roomba980-Python/commit/ede7e95e5b10c7e1d52154815f96098859287365 fix the issue

tidalf avatar Oct 06 '19 17:10 tidalf

I have fixed the TLS problem. Let me know if there are still problems.

NickWaterton avatar Oct 07 '19 13:10 NickWaterton

thx !

tidalf avatar Oct 07 '19 19:10 tidalf

Any chance of getting this fix getting published to the pypi.org?

crkochan avatar Oct 30 '19 05:10 crkochan

This 'fix' breaks it for me (windows/python37). Should be TLSv1_2 or just leave it as TLS and tell people to upgrade python to a version where the default of TLS translates into TLSv1_2.

wuench avatar Nov 10 '19 15:11 wuench