Skip to content

Instantly share code, notes, and snippets.

@zanaca
Created January 20, 2020 21:42
Show Gist options
  • Save zanaca/83869310017c3ffcda20a47973f0f8e3 to your computer and use it in GitHub Desktop.
Save zanaca/83869310017c3ffcda20a47973f0f8e3 to your computer and use it in GitHub Desktop.
Retrieve your Roomba's BLID and password
#!/usr/bin/env sh
# creating entrypoint
echo -e '#!/usr/bin/env sh\necho "Please inform your iRobot Roomba'\''s IP address or hostname"\nread ROOMBASIP' > /tmp/roomba.sh;
echo -e "npm install -g dorita980 --save\nget-roomba-password \$ROOMBASIP" >> /tmp/roomba.sh;
# making it executable
chmod +x /tmp/roomba.sh
# running docker
docker run -ti --rm --name roomba-credentials-retrieve --net=host -v /tmp/roomba.sh:/roomba.sh --entrypoint=/roomba.sh node:alpine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment