https://github.com/adyanth/kasa-exporter
https://github.com/adyanth/kasa-exporter
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adyanth/kasa-exporter
- Owner: adyanth
- Created: 2025-07-21T05:26:15.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-02T22:48:38.000Z (10 months ago)
- Last Synced: 2025-08-04T08:35:31.609Z (10 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kasa Smart Plug (Energy Monitoring) exporter
The exporter expects the following env vars for operation with newer Kasa/Tapo devices: `KASA_USERNAME`, `KASA_PASSWORD`.
This is your TP-Link Kasa email and password.
A comma separated list of IP addresses can be passed in with `KASA_PLUGS`. This will disable auto discovery. Helpful for when a broadcast does not work for discovery (e.g. from a different subnet).
An optional `SCRAPE_SLEEP_INTERVAL` can be set (defaults to `5` seconds) to set how long to sleep between scrapes.
An optional `PROMETHEUS_PORT` can be set (defaults to `8000`)