Skip to content

pierok13/rest2influxdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

This script reads values for a defined item from openHAB via the REST interface. The values are written to text files and converted to a specific format to import them in InfluxDB. see: https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_reference/

Usage

Copy config.cfg.example to config.cfg and define your parameters like server name, user, password etc.

Start script ./rest2influxdb.sh <Item_Name>

Done.

Processing groups

./rest2influxdb_gr.sh <Group_Name>

(un)known Issues

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%