Skip to content

Commit

Permalink
0.9.20
Browse files Browse the repository at this point in the history
Update GetPassword for local use
(recommend using irobot account for inital setup)
  • Loading branch information
Ghawken committed Oct 15, 2022
1 parent 0701b98 commit 8fea2b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion iRobot-Roomba.indigoPlugin/Contents/Info.plist
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>0.9.19</string>
<string>0.9.20</string>
<key>ServerApiVersion</key>
<string>3.0</string>
<key>IwsApiVersion</key>
Expand Down
3 changes: 2 additions & 1 deletion iRobot-Roomba.indigoPlugin/Contents/Server Plugin/roomba.py
Expand Up @@ -410,7 +410,8 @@ def get_password(self, ipaddress):

# strip null character from end of string
# from EricMcM and for iRobot i7 Roomba
passwordroomba = str(data[7:]).partition(b'\0')[0]
#passwordroomba = str(data[7:]).partition(b'\0')[0]
passwordroomba = str(data[7:].decode().rstrip('\x00'))
self.logger.info('Password=> %s <= Yes, all this string.' % str(passwordroomba))

Config = configparser.ConfigParser()
Expand Down

0 comments on commit 8fea2b1

Please sign in to comment.