Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/teverett/hsinflux
An InfluxDB importer for HomeSeer
https://github.com/teverett/hsinflux
grafana homeseer influxdb iot java
Last synced: 13 days ago
JSON representation
An InfluxDB importer for HomeSeer
- Host: GitHub
- URL: https://github.com/teverett/hsinflux
- Owner: teverett
- License: bsd-3-clause
- Created: 2020-01-01T01:39:31.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-10T01:59:32.000Z (10 months ago)
- Last Synced: 2024-11-24T10:42:40.392Z (2 months ago)
- Topics: grafana, homeseer, influxdb, iot, java
- Language: Java
- Homepage:
- Size: 396 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![CI](https://github.com/teverett/hsinflux/workflows/CI/badge.svg)
HomeSeer InfluxDB Importer
========A Java application which imports HomeSeer device status data into InfluxDB
hsInflux is one of numerous HomeSeer support applications created by khubla.com, including
* [hsClient](https://github.com/teverett/hsclient)
* [hsInflux](https://github.com/teverett/hsinflux)
* [hsMQTT](https://github.com/teverett/hsOpenAPI)
* [hsOpenAPI](https://github.com/teverett/hsOpenAPI)License
-------------------hsinflux is distributed under the BSD 3-Clause License.
Screen shots
-------------------[Grafana](https://grafana.com/) was used to produce graphs and alerts on the InfluxDB Data
House Temperatures
![temperatures.png](https://github.com/teverett/hsinflux/blob/master/screenshots/temperatures.png)
House Relative Humidity
![humidities.png](https://github.com/teverett/hsinflux/blob/master/screenshots/humidities.png)
Battery Status
![batteries.png](https://github.com/teverett/hsinflux/blob/master/screenshots/batteries.png)
Dimmer Status
![dimmers.png](https://github.com/teverett/hsinflux/blob/master/screenshots/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.