Skip to content
Connects the door’s status, received via MQTT, with an InfluxDB.
Go
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
systemd
LICENSE
README.md
drehtuer.go
go.mod
go.sum
influx.go
mqtt.go
mqtt_logger.go

README.md

drehtuer

Connects the door's status, received via MQTT, with an InfluxDB. 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
You can’t perform that action at this time.