Prometheus Exporter for TP-Link Smart Plugs
1.8K
Prometheus Exporter for TP-Link Smart Plugs
The exporter listens on port 9784 by default.
docker run -d \
-e HS1X_HOSTS='192.168.1.156:9999,192.168.1.159:9999' \
--network host \
--name tplink_smartplug_exporter \
chhaley/tplink_smartplug_exporter
helm repo add charlie-haley https://charlie-haley.github.io/private-charts
helm repo update
helm install tplink-smartplug-exporter charlie-haley/tplink-smartplug-exporter --set "hs1xHosts={"192.168.1.156:9999","192.168.1.159:9999"}" -n monitoring
If you want to use the ServiceMonitor (which is enabled by default) you'll need to have prometheus-operator deployed to your cluster, see values to disable it if you'd like use ingress instead.
You can find the chart repo here, if you'd like to contribute.
| Name | Description | Labels |
|---|---|---|
| current_ma | Current being used in milliamps | host |
| voltage_mv | Voltage being used in millivolts | host |
| power_mw | Watts being used in milliwatts | host |
| total_wh | Total watt-hours | host |
Content type
Image
Digest
Size
326.8 MB
Last updated
about 5 years ago
docker pull chhaley/tplink_smartplug_exporter