Nothing Special   »   [go: up one dir, main page]

Skip to content

bodsch/dht_to_influx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dht_to_influx

Pushed DHT sensor data into an InfluxDB.

This works similar to my dht_exporter for a Prometheus.

Configuration

[influx]
url    =
token  =
org    =
bucket =

[sensor]
pin   = 4
model = 22
measurement_name = dht22
test = false
verbose = false

[location]
host     = sensor-0x
name     =

[process]
sleep = 60

install

git clone https://github.com/bodsch/dht_to_influx.git

bash dht_to_influx/install.sh

# edit /etc/dhtsensors.rc!

sudo systemctl enable --now dht-push-to-influx.service