Created
January 20, 2020 21:42
-
-
Save zanaca/83869310017c3ffcda20a47973f0f8e3 to your computer and use it in GitHub Desktop.
Retrieve your Roomba's BLID and password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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