Skip to content
An InfluxDB importer for HomeSeer
Java Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
grafana
screenshots
src/main
.gitignore
.travis.yml
LICENSE
README.md
hsinflux.properties.example
pom.xml
run.sh

README.md

Travis Codacy Badge

HomeSeer InfluxDB Importer

A Java application which imports HomeSeer device status data into InfluxDB

License

hsinflux is distributed under the BSD 3-Clause License.

Screen shots

Grafana was used to produce graphs and alerts on the InfluxDB Data

House Temperatures

temperatures.png

House Relative Humidity

humidities.png

Battery Status

batteries.png

Dimmer Status

dimmers.png

Configuration

hsinflux is configured via the file "hsinflux.properties". A typical example is

# HomeSeer
hsurl=http://192.168.75.129/JSON
hsuser=HOMESEERUSERNAME
hspassword=HOMESEERPASSWORD

# Influx
influxurl=http://192.168.75.71:8086
influxuser=INFLUXUSERNAME
influxpassword=INFLUXPASSWORD
influxdb=hsinflux

# Number of threads to poll HomeSeer on
pollingthreads=5

# minutes
pollinginterval=1

Preparing the InfluxDB database

The following command create the InfluxDB database

CREATE DATABASE hsinflux 
CREATE RETENTION POLICY hsinflux ON hsinflux DURATION 52w REPLICATION 1
USE hsinflux
CREATE USER INFLUXUSERNAME WITH PASSWORD 'INFLUXPASSWORD' WITH ALL PRIVILEGES;

Usage

java -jar target/hsinflux-1.0.0-SNAPSHOT.jar 

A log file is generated to hsinflux.log and rotated every 30 days.

You can’t perform that action at this time.