An excurciatingly shitty Prometheus exporter for Shelly H&T sensors.
- Run Exporter
via container:
docker run -p 9439:9439 ghcr.io/sapslaj/shelly_ht_exporter:latest
not via container:
go mod download
go build
./shelly_ht_exporter
- Configure Sensor
Configure the sensor to report sensor values to the /report
endpoint on the exporter.
- Configure Prometheus
do the normal thing to get promtheus to scrape it