Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 533 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 533 Bytes

drehtuer

Connects the door's status, received via MQTT, with either an InfluxDB or Prometheus. The result can be viewed in the Grafana, for example.

Installation

go build

vim systemd/drehtuer.conf

sudo cp drehtuer /usr/bin
sudo cp systemd/drehtuer.conf /etc/conf.d
sudo cp systemd/drehtuer.service /etc/systemd/system

sudo systemctl daemon-reload
sudo systemctl enable drehtuer.service
sudo systemctl start drehtuer.service