Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 538 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 538 Bytes

ShellyPlug Exporter

Periodically get information from a Shelly Plus Plug S and publish it as Prometheus metrics.

Exposed metrics

Output button state, power, voltage, current, total energy, temperature (in °C), updates available and last update time.

How to run

Build and run with Docker:

docker build -t shellyplug-exporter .
docker run -it --rm \
    -e SHELLYPLUG_URL=host/ip_address \
    -e PORT=9185 \
    -e PERIOD=60 \
    shellyplug-exporter