iRoomba iRobot Plugin
Re: iRoomba iRobot Plugin
Hi
Sorry to hear has had slight hiccup.
The limited instructions needed to install paho-mqtt are in the first post in this thread. If you haven’t installed it you should see a big error message.
Check the first post and run the terminal command to install paho-mqtt.
Questions
1. Are you getting any logging/messaging from the plugin?? From Indigos event log. That is where any errors etc should be displayed.
2. May need to turn debug logging on within the plugin config settings to see other messages.
Finally if still issues please feel free to PM me the debug log file as will be quickest way to seeing what is going on.
Glenn
Sent from my iPad using Tapatalk
Sorry to hear has had slight hiccup.
The limited instructions needed to install paho-mqtt are in the first post in this thread. If you haven’t installed it you should see a big error message.
Check the first post and run the terminal command to install paho-mqtt.
Questions
1. Are you getting any logging/messaging from the plugin?? From Indigos event log. That is where any errors etc should be displayed.
2. May need to turn debug logging on within the plugin config settings to see other messages.
Finally if still issues please feel free to PM me the debug log file as will be quickest way to seeing what is going on.
Glenn
Sent from my iPad using Tapatalk
Re: iRoomba iRobot Plugin
Glenn, thank you so much for such a quick reply.
The plug-in is writing to the log. It's definitely indicating the library is missing:
I ran the Terminal code as instructed. I get a missing file error, which is expected since I didn't provide any sort of file for it to install. That's what I'm missing, where to find the mqtt file.
I just tried it again, using Terminal and this command:
I get this, from Terminal:
I didn't point Terminal at any particular directory. Would paho-mqtt be included on a Mac standard OS install, or do I need to download it from somewhere?
The plug-in is writing to the log. It's definitely indicating the library is missing:
Code: Select all
iRobot-Roomba Error Need to install module Mqtt for this plugin to work. See Forum.
I just tried it again, using Terminal and this command:
Code: Select all
<sudo> pip install paho-mqtt Code: Select all
-bash: sudo: No such file or directoryiRoomba iRobot Plugin
Just type: (no brackets)
sudo pip install paho-mqtt
Sent from my iPad using Tapatalk
sudo pip install paho-mqtt
Sent from my iPad using Tapatalk
Re: iRoomba iRobot Plugin
Shows ya how much I know about Terminal!
Stand by, I'll give it a go...
Re: iRoomba iRobot Plugin
Now I get this from Terminal:
Am I missing any punctuation in the sudo command. This is what I tried:
Code: Select all
sudo: pip: command not foundCode: Select all
sudo pip install paho-mqttiRoomba iRobot Plugin
Ok
Your python is missing the pip command install
There are a few posts here about how to fix/install.
Could try
sudo easy_install pip
Then the one last post, to install paho-mqtt
https://stackoverflow.com/questions/172 ... os-or-os-x
Sent from my iPad using Tapatalk
Your python is missing the pip command install
There are a few posts here about how to fix/install.
Could try
sudo easy_install pip
Then the one last post, to install paho-mqtt
https://stackoverflow.com/questions/172 ... os-or-os-x
Sent from my iPad using Tapatalk
Re: iRoomba iRobot Plugin
Now this:
Code: Select all
Back:~ mark$ sudo easy_install pip
Password:
Searching for pip
Reading https://pypi.python.org/simple/pip/
Couldn't find index page for 'pip' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for pip
error: Could not find suitable distribution for Requirement.parse('pip')
Re: iRoomba iRobot Plugin
Hi
Could try
sudo easy_install paho-mqtt
But check the linked post as well as I’m running out of ‘live’ time.
Glenn
Sent from my iPad using Tapatalk
Could try
sudo easy_install paho-mqtt
But check the linked post as well as I’m running out of ‘live’ time.
Glenn
Sent from my iPad using Tapatalk
Re: iRoomba iRobot Plugin
Nope:
I've made a mess now. I think I got a pip installed, but it is not compatible with Python 2.7 (I have 2.7.16). Apparently 2.7.18 will work? Uhg. Now I think I have to try to uninstall what I did, and then try to upgrade Python? I know just enough to end up tanking my OS... Or at least my Python...
Thanks for you help so far...
Code: Select all
Back:~ mark$ sudo easy_install paho-mqtt
Password:
Searching for paho-mqtt
Reading https://pypi.python.org/simple/paho-mqtt/
Couldn't find index page for 'paho-mqtt' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for paho-mqtt
error: Could not find suitable distribution for Requirement.parse('paho-mqtt')
Thanks for you help so far...
iRoomba iRobot Plugin
Don’t fiddle with you default python install - it will cause major issues for indigo.Mark wrote:Nope:
I've made a mess now. I think I got a pip installed, but it is not compatible with Python 2.7 (I have 2.7.16). Apparently 2.7.18 will work? Uhg. Now I think I have to try to uninstall what I did, and then try to upgrade Python? I know just enough to end up tanking my OS... Or at least my Python...Code: Select all
Back:~ mark$ sudo easy_install paho-mqtt Password: Searching for paho-mqtt Reading https://pypi.python.org/simple/paho-mqtt/ Couldn't find index page for 'paho-mqtt' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ No local packages or download links found for paho-mqtt error: Could not find suitable distribution for Requirement.parse('paho-mqtt')![]()
Thanks for you help so far...
Hopefully someone else can take over as need to go offline
But check this forum, for pip install there are a few posts about how to solve.
How to install python modules in Indigo 7
https://r.tapatalk.com/shareLink/topic? ... source=app
Sent from my iPad using Tapatalk
Re: iRoomba iRobot Plugin
OK, got a pip to install and then your original Terminal instructions worked, ending in:
Holding breath while I restart everything...
Code: Select all
Successfully installed paho-mqtt-1.5.1Re: iRoomba iRobot Plugin
Before I do, this is what worked on Mac Mojave:
and then:
and then:
Code: Select all
sudo curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.pyCode: Select all
sudo python2.7 get-pip.pyCode: Select all
sudo pip install paho-mqtt
Re: iRoomba iRobot Plugin
Well done, you can use terminal after all!
Sent from my iPad using Tapatalk
Sent from my iPad using Tapatalk
Re: iRoomba iRobot Plugin
Ta da!
Looks like the plug-in loaded with no issues. No errors in log.
All Custom States are filled in now, except: SqFT, X and Y (perhaps because my Roomba is parked in the charger?).
I'll give it a good test and see what happens...
Thanks again for pointing me in the right direction.
Looks like the plug-in loaded with no issues. No errors in log.
All Custom States are filled in now, except: SqFT, X and Y (perhaps because my Roomba is parked in the charger?).
I'll give it a good test and see what happens...
Thanks again for pointing me in the right direction.
Re: iRoomba iRobot Plugin
Use Terminal? Well, I can copy and paste! If it wasn't for stackoverflow.com none of my stuff would work!! 