Traceback (most recent call last):
File “roomba.py”, line 25, in
from roomba.password import Password
File “/home/Roomba980-Python/roomba/roomba.py”, line 25, in
from roomba.password import Password
ImportError: No module named password
Checking the folder where is located the roomba.py file I’ve verified that it exist the password.py and exists the class Password.
pi@homeassistant:~/Roomba980-Python/roomba $ sudo ./getpassword.py
Traceback (most recent call last):
File "./getpassword.py", line 12, in <module>
from roomba import Password
File "/home/pi/Roomba980-Python/roomba/roomba.py", line 25, in <module>
from roomba.password import Password
ImportError: No module named password
Getting the same thing… six is installed but I am running python3.4. Has this component been checked on an Rpi3?
@m14t Thanks for the answer! I could not check it but I’m using a Raspberry Pi 2 with hassbian @001010 Are you using hassbian as well?
Hope someone else has face this problem and fix it and can help us.
Thanks a lot
I still fail at this miserably. So incredibly hard to get the blid and password.
sudo apt install node
sudo apt install npm
cd /home/dorita
npm install dorita980 --save
cd /home/dorita/node_modules/dorita980
npm run getpassword 192.168.1.101
Get the following errors…
npm ERR! Error: ENOENT, open ‘/home/dorita/node_modules/dorita980/node_modules/g etpassword/package.json’
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues
npm ERR! System Linux 4.9.35-v7+
npm ERR! command “/usr/bin/nodejs” “/usr/bin/npm” “run” “getpassword” “192.168.1 .101”
npm ERR! cwd /home/dorita/node_modules/dorita980
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! path /home/dorita/node_modules/dorita980/node_modules/getpassword/packa ge.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/dorita/node_modules/dorita980/npm-debug.log
npm ERR! not ok code 0
Agree, it’s quite challenging. I had the same problem last week when setting-up hass.io and Roomba 960 for the first time, but was successful in the end.
I solved it by installing node.js, npm and dorita980 on my Mac using the following commands:
For Linux instead of “brew install” use “sudo apt-get update”, “sudo apt-get install nodejs” & “sudo apt-get install npm”.
I noticed that dorita980 gives the following instruction, which is not shown (to me) in the regular roomba package.
"Make sure your robot 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.
Then press any key here… "
After performing this trick a couple of times to get the timing right it provided the blid and password.
Also, it is important that you have a static IP address assigned to your roomba on your router.
Install the “SSH & Web Terminal” addon and use
‘’’
docker exec -it “homeassistant” roomba-password ROOMBA-IP
‘’’
will return BLID & PWD, no need to install something