Sign inSign up

cgarnier/hs110-influx

By cgarnier

•Updated over 8 years ago

A TT-Link hs110 smart plug exporter for influxDB

Image
0

1.5K

cgarnier/hs110-influx repository overview

⁠hs110 influx exporter

A TP-link hs110 smart plug exporter for influxDB

⁠Install

git clone https://github.com/cgarnier/hs110-influx.git
npm i

⁠Usage

TIMER=1000 \
DEVICE_IP_ADDR=10.0.0.35 \
DEBUG=true \
INFLUX_HOST=influx.exemple.com \
HOSTNAME=rig_github \
npm start

⁠Docker usage

# Run the exporter
docker run \
  -e TIMER=1000 \
  -e DEVICE_IP_ADDR=10.0.0.35 \
  -e DEBUG=true \
  -e INFLUX_HOST=influx.exemple.com \
  -e HOSTNAME=rig_github \
  -d cgarnier/hs110-influx

⁠Metrics

This exporter export one metric: power_consumption with current, power, total and voltage.

Tag summary

Content type

Image

Digest

Size

258.7 MB

Last updated

over 8 years ago

docker pull cgarnier/hs110-influx