https://github.com/pmdevita/shellyexporter
Export Prometheus stats from the Shelly Plug Plus US
https://github.com/pmdevita/shellyexporter
Last synced: 9 months ago
JSON representation
Export Prometheus stats from the Shelly Plug Plus US
- Host: GitHub
- URL: https://github.com/pmdevita/shellyexporter
- Owner: pmdevita
- Created: 2024-10-30T22:49:47.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-31T04:34:00.000Z (over 1 year ago)
- Last Synced: 2025-09-09T03:35:58.551Z (9 months ago)
- Language: Rust
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Shelly Plus Plug US Prometheus Exporter
Exports power usage info from the Shelly Plus Plug US to Prometheus.
Written in Rust (with a lot of help from Claude) as a learning exercise.
## Usage
Set the following env vars (.env file works too)
- `HOST` - The network interface to bind the webserver to (default: 127.0.0.1)
- `PORT` - The port to bind the webserver to (default: 9000)
- `SHELLY_HOST` - The address of the Shelly Plug to request (required)
- `SHELLY_DEVICE_ID` - The device ID to request stats for (default: 0)