iRoomba iRobot Plugin

Posted on
Mon May 06, 2019 3:39 am
kwijibo007 offline
Posts: 325
Joined: Sep 27, 2013
Location: Melbourne, Australia

Re: iRoomba iRobot Plugin

So far so good with the 960 - I think you can put it in the confirmed basket. I haven’t tested everything out yet but will report any issues if I find any.

Boy, it was a challenge getting Roomba to give up its password... I was trying for about 1/2 an hour before it decided work.

Great plugin - thanks very much.

Posted on
Tue May 07, 2019 2:16 am
GlennNZ offline
User avatar
Posts: 1552
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

Thanks! Good to know

Also can report that 0.4.0 fixes the binFull not updating! (Took a while to trigger it)

Glenn


Sent from my iPhone using Tapatalk

Posted on
Sat May 11, 2019 9:21 am
MarcoGT online
Posts: 1090
Joined: Sep 11, 2014
Location: Germany

Re: iRoomba iRobot Plugin

GlennNZ wrote:
Thanks! Good to know

Also can report that 0.4.0 fixes the binFull not updating! (Took a while to trigger it)

Glenn


Sent from my iPhone using Tapatalk


Yes, it fixes the bug

Posted on
Sun Aug 11, 2019 12:59 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

I just purchased a s9 and a Braava. Anyone confirm if these models work? I'll report back my experience.

Posted on
Fri Aug 16, 2019 4:00 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

vtmikel wrote:
I just purchased a s9 and a Braava. Anyone confirm if these models work? I'll report back my experience.


So I'm not having much luck. The plugin will not fetch the password from my s9+.

To test, I downloaded the node library that the plugin is based on (https://github.com/NickWaterton/Roomba980-Python) and I was able to get my password. Can you help me force the password I got externally into my device config?

Posted on
Fri Aug 16, 2019 4:04 pm
GlennNZ offline
User avatar
Posts: 1552
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

vtmikel wrote:
vtmikel wrote:
I just purchased a s9 and a Braava. Anyone confirm if these models work? I'll report back my experience.


So I'm not having much luck. The plugin will not fetch the password from my s9+.

To test, I downloaded the node library that the plugin is based on (https://github.com/NickWaterton/Roomba980-Python) and I was able to get my password. Can you help me force the password I got externally into my device config?


Happy to try to support. Send me some debug logging trying to get password and will see what can do.
Could add password to the config file in user/documents under the up IP address of iRoomba

Glenn


Sent from my iPad using Tapatalk
Last edited by GlennNZ on Fri Aug 16, 2019 5:21 pm, edited 1 time in total.

Posted on
Fri Aug 16, 2019 4:09 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

Thanks! Here's the log when I try to get my password.

Code: Select all
iRobot-Roomba                   File should equal:/Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba                   found 1 Roombas
   iRobot-Roomba                   Make sure your robot (Roomba) at IP 10.66.0.32 is on the Home Base and powered on (green lights on). Then press and hold the HOME button on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light.
   iRobot-Roomba                   Received: {
  "robotname": "Roomba",
  "sku": "s955020",
  "nc": 0,
  "ver": "3",
  "proto": "mqtt",
  "ip": "10.66.0.32",
  "hostname": "iRobot-33D775FD973E4FF5B0CAF3BCF558EDC4",
  "sw": "soho+1.14.22+soho-releases+105",
  "robotid": "33D775FD973E4FF5B0CAF3BCF558EDC4",
  "mac": "50:14:79:10:EF:11",
  "cap": {
    "pmaps": 0,
    "carpetBoost": 1,
    "pp": 0,
    "pose": 1,
    "sched": 1,
    "log": 2,
    "ota": 2,
    "dockComm": 1,
    "binFullDetect": 1,
    "prov": 3,
    "area": 1,
    "eco": 1,
    "svcConf": 1,
    "maps": 3,
    "edge": 0,
    "team": 1,
    "multiPass": 2,
    "5ghz": 1
  }
}
   iRobot-Roomba                   

Roomba (Roomba) IP address is: 10.66.0.32
   iRobot-Roomba                   Error getting password.  Follow the instructions and try again.
   iRobot-Roomba Error             Error in send Packet.  ? Timeout


Posted on
Fri Aug 16, 2019 5:00 pm
GlennNZ offline
User avatar
Posts: 1552
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

Thanks

Can you try to get a password a few times - it seems to have received data (so must have connected at some point) but on this try there is no reply.

Presume is just the annoying, fiddly nature of pressing iRoomba button and timing of plugin?
Can you do this step a few more times and see how far it gets?

(Have checked the password code and the base library and plugin is pretty much the same...)

(Have pushed version 0.4.1 - download from github
https://github.com/Ghawken/Indigo-iRobotRoomba
Add some logging to this timeout if doesn't get past it with a few goes.)

G

Posted on
Fri Aug 16, 2019 5:35 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

Here's the log when I try to get my password on your latest build:

Code: Select all
   Starting plugin "iRobot-Roomba 0.4.1" (pid 22634)
   iRobot-Roomba                   
   iRobot-Roomba                   ================================================ Initializing New Plugin Session =================================================
   iRobot-Roomba                   Plugin name:                   iRobot-Roomba
   iRobot-Roomba                   Plugin version:                0.4.1
   iRobot-Roomba                   Plugin ID:                     com.GlennNZ.indigoplugin.irobot
   iRobot-Roomba                   Indigo version:                7.3.1
   iRobot-Roomba                   Python version:                2.7.10 (default, Feb 22 2019, 21:55:15) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
   iRobot-Roomba                   Python Directory:              /System/Library/Frameworks/Python.framework/Versions/2.7
   iRobot-Roomba                   ==================================================================================================================================
   Started plugin "iRobot-Roomba 0.4.1"
   iRobot-Roomba                   Starting Roomba
   iRobot-Roomba                   File should equal:/Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba                   found 1 Roombas
   iRobot-Roomba                   Make sure your robot (Roomba) at IP 10.66.0.32 is on the Home Base and powered on (green lights on). Then press and hold the HOME button on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light.
   iRobot-Roomba                   Received: {
  "robotname": "Roomba",
  "sku": "s955020",
  "nc": 0,
  "ver": "3",
  "proto": "mqtt",
  "ip": "10.66.0.32",
  "hostname": "iRobot-33D775FD973E4FF5B0CAF3BCF558EDC4",
  "sw": "soho+1.14.22+soho-releases+105",
  "robotid": "33D775FD973E4FF5B0CAF3BCF558EDC4",
  "mac": "50:14:79:10:EF:11",
  "cap": {
    "pmaps": 0,
    "carpetBoost": 1,
    "pp": 0,
    "pose": 1,
    "sched": 1,
    "log": 2,
    "ota": 2,
    "dockComm": 1,
    "binFullDetect": 1,
    "prov": 3,
    "area": 1,
    "eco": 1,
    "svcConf": 1,
    "maps": 3,
    "edge": 0,
    "team": 1,
    "multiPass": 2,
    "5ghz": 1
  }
}
   iRobot-Roomba                   

Roomba (Roomba) IP address is: 10.66.0.32
   iRobot-Roomba                   Error getting password.  Follow the instructions and try again.
   iRobot-Roomba Error             Error in send Packet.  ? Timeout. Exception:[SSL: SSL_HANDSHAKE_FAILURE] ssl handshake failure (_ssl.c:1647)


Posted on
Fri Aug 16, 2019 6:01 pm
GlennNZ offline
User avatar
Posts: 1552
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

Thanks

Ek - don't like the look of that error...
The SW version is quite different as well - it may be incompatible, but still odd you found the main library could get password...

OK, Question time:
What version MacOS are you running?
&
Would double check App or another connection isn't connected to the iRoomba (as that can cause issue)
[Probably not that error though]
&
If have received password with Main Library - probably means issue lies in Python version within Indigo and OpenSSL files used.
(depends on your Mac OSX version) Although I have found can overcome by packaging the whole OpenSSL within the plugin as did with FindFriends
&
Have updated to 0.42 with a change to SSL if your firmware is found.

G

Posted on
Fri Aug 16, 2019 7:41 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

Password capture worked! Thanks for the great support.

Here was password capture:

Code: Select all
   iRobot-Roomba                   found 1 Roombas
   iRobot-Roomba                   Make sure your robot (Roomba) at IP 10.66.0.32 is on the Home Base and powered on (green lights on). Then press and hold the HOME button on your robot until it plays a series of tones (about 2 seconds). Release the button and your robot will flash WIFI light.
   iRobot-Roomba                   Received: {
  "robotname": "Roomba",
  "sku": "s955020",
  "nc": 0,
  "ver": "3",
  "proto": "mqtt",
  "ip": "10.66.0.32",
  "hostname": "iRobot-33D775FD973E4FF5B0CAF3BCF558EDC4",
  "sw": "soho+1.14.22+soho-releases+105",
  "robotid": "33D775FD973E4FF5B0CAF3BCF558EDC4",
  "mac": "50:14:79:10:EF:11",
  "cap": {
    "pmaps": 0,
    "carpetBoost": 1,
    "pp": 0,
    "pose": 1,
    "sched": 1,
    "log": 2,
    "ota": 2,
    "dockComm": 1,
    "binFullDetect": 1,
    "prov": 3,
    "area": 1,
    "eco": 1,
    "svcConf": 1,
    "maps": 3,
    "edge": 0,
    "team": 1,
    "multiPass": 2,
    "5ghz": 1
  }
}
   iRobot-Roomba                   

Roomba (Roomba) IP address is: 10.66.0.32
   iRobot-Roomba                   blid is: 33D775FD973E4FF5B0CAF3BCF558EDC4
   iRobot-Roomba                   Password=> :1:1dd56574e5016:iobO84PQrXenfFef <= Yes, all this string.
   iRobot-Roomba                   Saved Device Config File/Password. Click OK to continue.



Update, I attempted to trigger a start command:

Code: Select all
   Stopped plugin "iRobot-Roomba 0.4.2"
   Starting plugin "iRobot-Roomba 0.4.2" (pid 43467)
   iRobot-Roomba                   
   iRobot-Roomba                   ================================================ Initializing New Plugin Session =================================================
   iRobot-Roomba                   Plugin name:                   iRobot-Roomba
   iRobot-Roomba                   Plugin version:                0.4.2
   iRobot-Roomba                   Plugin ID:                     com.GlennNZ.indigoplugin.irobot
   iRobot-Roomba                   Indigo version:                7.3.1
   iRobot-Roomba                   Python version:                2.7.10 (default, Feb 22 2019, 21:55:15) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
   iRobot-Roomba                   Python Directory:              /System/Library/Frameworks/Python.framework/Versions/2.7
   iRobot-Roomba                   ==================================================================================================================================
   iRobot-Roomba Debug             logLevel = 10
   Started plugin "iRobot-Roomba 0.4.2"
   iRobot-Roomba                   Starting Roomba
   iRobot-Roomba Debug             updateFrequency = 86400.0
   iRobot-Roomba Debug             statusFrequency = 600.0
   iRobot-Roomba Debug             deviceStartComm called for Roomba
   iRobot-Roomba Debug             Continuous ON and not connected..
   iRobot-Roomba Debug             getRoombaInfo for Roomba
   iRobot-Roomba Debug             connecting Roomba Device: Roomba
   iRobot-Roomba Debug             Using config file: /Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba Debug             CONTINUOUS connection
   iRobot-Roomba Debug             Reading Config File: 10.66.0.32-config.ini
   iRobot-Roomba Debug             Reading config file... /Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba Debug             reading info from config file /Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba Debug             Sections ['10.66.0.32']
   iRobot-Roomba Debug             Posting DECODED data
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:ffff:iobO84PQrXenfFef
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Seting TLS
   iRobot-Roomba Debug             MQTT Client Succesfully setup
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba Debug             Attempting new Connection# 1
   Z-Wave                          received "Upstairs Hallway Motion Sensor" status update is off
   Script                          auto_lights script for Zone 'Master Bathroom', zone has been changed outside of the auto_lights script.  Devices: [Master Bathroom Vanity Lights].  Current State: [False], Previous State: [True], zone is locked for 5 minutes (until 2019-08-16 21:50:31)
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:15657fff45016:iobO84PQrXenfFef
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba Debug             Attempting new Connection# 2
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:15dfd65ss7450v16:iobO84PQrXenfFef
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba Debug             Attempting new Connection# 3
   Trigger                         Start Roomba when no one is home
   iRobot-Roomba Debug             startRoombaAction for Roomba: Action : start
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:1sdf5ee6574f5fv0v6:iobO84PQrXenfFef
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba                   Unable to connect to Roomba
   iRobot-Roomba                   This may because your Roomba has lost charge and network connection.
   iRobot-Roomba                   Restarting Plugin in effort to resolve...
   iRobot-Roomba Debug             Setting restart switch....



Also, the plugin is restarting itself:

Code: Select all
   iRobot-Roomba Debug             Self.Kill is true,  restarting plugin
   iRobot-Roomba                   restart Plugin Called.
   Reloading plugin "iRobot-Roomba 0.4.2"
   Stopping plugin "iRobot-Roomba 0.4.2" (pid 43467)
   Z-Wave                          received "005 - Basement Motion Sensor" status update battery level 87%
   Z-Wave                          received "Autumns Room Motion Sensor" status update is off
   Z-Wave                          received "Master Bathroom Motion Sensor" status update is off
   Error                           process (pid 43467) failed to quit after polite request -- forcing it to quit now
   Stopped plugin "iRobot-Roomba 0.4.2"
   Starting plugin "iRobot-Roomba 0.4.2" (pid 43745)

Last edited by vtmikel on Sat Aug 17, 2019 7:22 am, edited 4 times in total.

Posted on
Fri Aug 16, 2019 7:43 pm
GlennNZ offline
User avatar
Posts: 1552
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

That is Great to hear!

But how?
Did the new version work? (could you post log and can finalise code)

Thanks

Posted on
Fri Aug 16, 2019 7:48 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

Sorry, I spoke to soon... see updated previous message.

Posted on
Fri Aug 16, 2019 7:49 pm
GlennNZ offline
User avatar
Posts: 1552
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: iRoomba iRobot Plugin

vtmikel wrote:
Password capture worked! Thanks for the great support.

Update, I attempted to trigger a start command:

Code: Select all
   Stopped plugin "iRobot-Roomba 0.4.2"
   Starting plugin "iRobot-Roomba 0.4.2" (pid 43467)
   iRobot-Roomba                   
   iRobot-Roomba                   ================================================ Initializing New Plugin Session =================================================
   iRobot-Roomba                   Plugin name:                   iRobot-Roomba
   iRobot-Roomba                   Plugin version:                0.4.2
   iRobot-Roomba                   Plugin ID:                     com.GlennNZ.indigoplugin.irobot
   iRobot-Roomba                   Indigo version:                7.3.1
   iRobot-Roomba                   Python version:                2.7.10 (default, Feb 22 2019, 21:55:15) [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)]
   iRobot-Roomba                   Python Directory:              /System/Library/Frameworks/Python.framework/Versions/2.7
   iRobot-Roomba                   ==================================================================================================================================




Ok - almost cross replying here

1. To confirm 0.4.2 version enabled Password to work correctly?

1a. What version of Mac OSX are you running?

2. Error as above - enable Display Roomba Communication and save to log - see what it is like
(the Software 'SW' version of this is completely different to every other version so may not be compatible)

Posted on
Fri Aug 16, 2019 7:53 pm
vtmikel offline
Posts: 628
Joined: Aug 31, 2012
Location: Boston, MA

Re: iRoomba iRobot Plugin

1 - Yes, latest version fixed password capture.
1a - Running 10.14.6

This is the result of a restart of the plugin after turning on the Roomba Communication.


Code: Select all
   iRobot-Roomba Debug             logLevel = 10
   Started plugin "iRobot-Roomba 0.4.2"
   iRobot-Roomba                   Starting Roomba
   iRobot-Roomba Debug             updateFrequency = 86400.0
   iRobot-Roomba Debug             statusFrequency = 600.0
   iRobot-Roomba Debug             deviceStartComm called for Roomba
   iRobot-Roomba Debug             checkALlRoombas called.
   iRobot-Roomba Debug             self.connected equals:False& self.continuous equals:True
   iRobot-Roomba Debug             Continuous ON and not connected..
   iRobot-Roomba Debug             getRoombaInfo for Roomba
   iRobot-Roomba Debug             connecting Roomba Device: Roomba
   iRobot-Roomba Debug             Using config file: /Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba Debug             CONTINUOUS connection
   iRobot-Roomba Debug             Reading Config File: 10.66.0.32-config.ini
   iRobot-Roomba Debug             Reading config file... /Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba Debug             reading info from config file /Users/mike/Documents/Indigo-iRobotRoomba/10.66.0.32-config.ini
   iRobot-Roomba Debug             Sections ['10.66.0.32']
   iRobot-Roomba Debug             Posting DECODED data
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1::
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Seting TLS
   iRobot-Roomba Debug             MQTT Client Succesfully setup
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba Debug             Attempting new Connection# 1
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba Debug             Attempting new Connection# 2
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba Debug             Attempting new Connection# 3
   Z-Wave                          received "Basement Dehumidifier" energy total to 119.203 kWh
   Z-Wave                          received "Basement Dehumidifier" power load to 615.527 W
   iRobot-Roomba Debug             Connecting: Roomba  :  10.66.0.32  :  :1:
   iRobot-Roomba Debug             Connecting Roomba
   iRobot-Roomba Debug             Client Connect Running now Roomba
   iRobot-Roomba Debug             Connection Roomba Error: 54
   iRobot-Roomba                   Unable to connect to Roomba
   iRobot-Roomba                   This may because your Roomba has lost charge and network connection.
   iRobot-Roomba                   Restarting Plugin in effort to resolve...
   iRobot-Roomba Debug             Setting restart switch....

Aug 16, 2019 at 9:53:33 PM
   iRobot-Roomba Debug             Self.Kill is true,  restarting plugin
   iRobot-Roomba                   restart Plugin Called.

Last edited by vtmikel on Sat Aug 17, 2019 7:23 am, edited 1 time in total.

Page 8 of 18 1 ... 5, 6, 7, 8, 9, 10, 11 ... 18

Who is online

Users browsing this forum: No registered users and 1 guest

cron