Skip to content

A script that scrapes my ISP router and push them to an influxdb backend using puppeteer

Notifications You must be signed in to change notification settings

ROUKIEN/sfr-box-scraper

Repository files navigation

sfr box scraper

Docker Pulls

A cli tool to scrape your SFR box web UI.

Installation

NPM package

Checkout the packages section of the repo.

Docker image

Checkout the packages section of the repo too 😄.

If you are not able to run the docker image hosted on ghcr.io, I'm also publishing the docker image on hub.docker.com.

Usage

By default, the scraper will only run once then stop. You can schedule the execution by adding the --interval 10m option to export metrics every 10 minutes.

sfr-box-scraper collect -h

Configuring the box authentication

Copy the .env.dist to .env with your custom box settings or define the corresponding environment variables.

Configuration

sfr-box-scraper is only able to push metrics to an influxdb 2.x backend for now.

Supported models

Model Firmware version
NB6V2-FXC-r0 NB6V2-MAIN-R3.5.8

Dashboard

Here's an influxdb 2 OSS dashboard example that I built from the metrics:

influx dasbboard

About

A script that scrapes my ISP router and push them to an influxdb backend using puppeteer

Topics

Resources

Stars

Watchers

Forks

Packages