Skip to content

Script to fetch 1-wire sensors temperature via OWserver and push it into InfluxDB

Notifications You must be signed in to change notification settings

captnbp/owserver2influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker OWclient -> InfluxDB

This script fetch the temperature from one or many OWservers. It adds some tags using a configuration file.

Config file

This config file conf.yml is used to setup your InfluxDB connection settings and the list of you OWservers with their sensors.

interval: 300
influxdb:
  host: 
  port: 8086
  user: 
  password: 
  db: temperature
owservers:
  - region: 
    hostname: yourserverhostname
    owserver_host: 
    owserver_port: 4304
    sensors: 
      - zone: bedroom
        id: /28.XXXXXXXXXXXX
      - zone: kitchen
        id: /28.XXXXXXXXXXXX
      - zone: ext
        id: /28.XXXXXXXXXXXX

Build

docker build -t temperature .

Run

docker run -d --name=temperature -v /srv/temperature/etc/conf.yml:/conf.yml:ro temperature

About

Script to fetch 1-wire sensors temperature via OWserver and push it into InfluxDB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages