sapslaj / shelly_ht_exporter

A very bad Prometheus exporter for Shelly H&T sensors

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

shelly_ht_exporter

An excurciatingly shitty Prometheus exporter for Shelly H&T sensors.

Setup

  1. 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
  1. Configure Sensor

Configure the sensor to report sensor values to the /report endpoint on the exporter.

Under "Actions", "REPORT SENSOR VALUES" enabled and "Report as GET parameters to HTTP url:" point at the exporter endpoint with the /report path

  1. Configure Prometheus

do the normal thing to get promtheus to scrape it

About

A very bad Prometheus exporter for Shelly H&T sensors


Languages

Language:Go 91.8%Language:Dockerfile 8.2%