Skip to content

romulus-ai/roomba-exporter

 
 

Repository files navigation

Roomba exporter

Prometheus exporter for iRobot Roomba robot vacuum cleaners.

Extended the available Metric by everything we could get in the mission event. However the meaning of those values is not yet quite clear and may the translation to numbers is also incomplete.

Configuration

  1. Connect to the same network as the Roomba 📶
  2. Find the Roomba IP, e.g. by running an arp scan arp -a
  3. Obtain the Roomba details
# Get required dependency
npm install

# Follow in-terminal instructions
npx get-roomba-password

Running

  1. Start the Roomba exporter, setting the following environment variables
# Required environment variables
ROOMBA_IP_ADDRESS=<ip from configuration step 2>
USERNAME=<blid from configuration step 3>
PASSWORD=<password from configuration step 3>

# Optional environment variables
PORT=<Port for endpoint exposing metrics> # Defaults to 9117
  1. Run as a standalone container or a sidecar in Kubernetes
docker run \
    -p 9117:9117 \
    --env=ROOMBA_IP_ADDRESS=192.168.87.120 \
    --env=USERNAME=3192801C39119775 \
    --env=PASSWORD=foobarbaz123 \
    romulus-ai/roomba-exporter:latest

Compatability

Tested with:

  • iRobot Roomba 980 ✅
  • iRobot Roomba 895 ✅

About

iRobot Roomba Prometheus exporter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.5%
  • Dockerfile 2.5%