farberm wrote:ok. I got paho-mqtt install from the 13th page of the discussion using
How to install python modules in Indigo 7
1. Open the Terminal app on your Mac running Indigo.
2. First, ensure Pip is installed by typing:
sudo /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python -m ensurepip --default-pip
3. Then, install your Python module(s) by typing:
sudo /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python -m pip install yourmodule
This will ensure the modules get correctly installed into:
/Library/Python/2.7/site-packages/
I still am having problems connecting..
Started plugin "iRobot-Roomba 0.8.4"
iRobot-Roomba Starting Roomba
iRobot-Roomba Debug updateFrequency = 86400.0
iRobot-Roomba Debug statusFrequency = 60
iRobot-Roomba Debug deviceStartComm called for J755020
iRobot-Roomba Debug updatevar run.
iRobot-Roomba Debug checkALlRoombas called.
iRobot-Roomba Debug getRoomba Info Running..
iRobot-Roomba Debug getRoombaInfo for J755020
iRobot-Roomba Debug connectRoomba Called self.roomba_list = []
iRobot-Roomba Debug Device Name = Roomba
iRobot-Roomba Debug connecting Roomba Device: J755020
iRobot-Roomba Debug Using config file: /Users/markfarber/Documents/Indigo-iRobotRoomba/192.168.2.141-config.ini
iRobot-Roomba Debug CONTINUOUS connection
iRobot-Roomba Debug Reading Config File: 192.168.2.141-config.ini
iRobot-Roomba Debug Reading config file... /Users/markfarber/Documents/Indigo-iRobotRoomba/192.168.2.141-config.ini
iRobot-Roomba Debug reading info from config file /Users/markfarber/Documents/Indigo-iRobotRoomba/192.168.2.141-config.ini
iRobot-Roomba Debug Sections ['192.168.2.141']
iRobot-Roomba Debug Posting DECODED data
iRobot-Roomba Debug Connecting: Roomba : 192.168.2.141 : ::1:1638708376:5igeGMHobaLWrtv
iRobot-Roomba Debug Connecting Roomba
iRobot-Roomba Debug Selecting the best SSL TLS Settings
iRobot-Roomba Debug s9 iRoomba VERSION: Using Protocol SSLv23
iRobot-Roomba Debug MQTT Client Succesfully setup
iRobot-Roomba Debug Client Connect Running now Roomba
iRobot-Roomba Debug Client LoopStart Running now Roomba
iRobot-Roomba Debug Adding myroomba to self.roomba_list..
iRobot-Roomba Debug self.roomba_list:[<roomba.Roomba object at 0x10fe99510>]
iRobot-Roomba Debug Reconnecting device/checked
iRobot-Roomba Debug Roomba Connected Roomba
iRobot-Roomba Debug Roomba failed Connection with result code 4
iRobot-Roomba Debug Please make sure your blid and password are correct Roomba
iRobot-Roomba Debug Disconnected From Roomba Roomba
iRobot-Roomba Debug checkALlRoombas called.
iRobot-Roomba Debug getRoomba Info Running..
iRobot-Roomba Debug getRoombaInfo for J755020
iRobot-Roomba Debug connectRoomba Called self.roomba_list = [<roomba.Roomba object at 0x10fe99510>]
iRobot-Roomba Debug Device Name = Roomba
iRobot-Roomba Debug connectRoomba Msg: iRoomba IP Already Exists in roomba_list:
iRobot-Roomba Debug Reconnecting myroomba already exists in self.roomba_list
iRobot-Roomba Debug Connecting: Roomba : 192.168.2.141 : ::1:1638708376:5igeGMHobaLWrtv
iRobot-Roomba Debug Connection Roomba Error: not all arguments converted during string formatting
iRobot-Roomba Debug Attempting new Connection# 1
Roomba failed Connection with result code 4????. I know my blid and password are correct. I am using the entire blid number (32 characters/digits) as is the password :1:1638.....
Other suggestions fro my j7+?
I can confirm that I got the J7 working now...
First of all use a packetsniffer to capture your BLID and Password. Make sure you use it on your phone where the Roomba app is installed.. I used Thor Http sniffer (make sure you install the SSL certificate otherwise you will only see bla bla)
Next instal the config.ini file.. It should be in your documents folder.. /Users/
YOURDIRECTORY/Documents/Indigo-iRobotRoomba/192.168.1.51-config.ini where you change the IP adres for that of your Roomba
This file should contain..
[
192.168.1.51]
blid =
JOURBLIDHEREpassword =
JOURPASSWORDdata = {u'robotname': u'
Lisa', u'sku':
u'j755840', u'nc': 0, u'ver': u'4', u'proto': u'mqtt', u'ip': u'
192.168.1.51', u'hostname': u'
iRobot-D354B1B2EBF3416786F0DF9BE6452AD8', u'sw': u'
sapphire+0.8.16+Firmware-Production+41', u'mac': u'
50:14:79:b3:98:38', u'cap': {u'dockComm": 1, u'pp': 0, u'log': 2, u'area': 1, u'prov': 3, u'5ghz': 1, u'lang': 2, u'bleDevLoc': 1, u'sched': 1, u'langOta': 0, u'binFullDetect': 2, u'wDevLoc': 2, u'team': 1, u'ota': 2, u'maps': 3, u'pose': 1, u'eco': 1, u'tLine': 2, u'pmaps': 5, u'eco': 1, u'multiPass': 2, u'edge': 0, u'svcConf': 1}}
Change the bold text for your own!! Be carefull to copy and paste this sins I don't know If the [b] from bold will be included otherwise remove all of them.
Now once done with this make sure you don't have a Roomba device if so delete it.. and restart the Roomba plugin...
Next create a new Roomba device.. but just fill in the IP adres and the name you gave your Roomba... don't use "get password" and make sure SSL is checked..
That should be all there is to it..
Good luck
Regards
Vincent