Skip to content

kotio-home-automation/data-collector

Repository files navigation

data-collector

Data collector for kotio sensors and switches.

Collects sensor and swich data from kotio REST API's and saves it to influxdb.

Written in clojure.

Development and installation requirements

Requires

  • Java
  • leiningen

Run tests

lein test

Installation

lein uberjar

Usage requirements

Requires kotio REST API's for ruuvitag and tellstick, influxdb, Java.

Usage

Copy configuration file template to your preferred location and adjust configuration settings as needed.

Run the jar with configuration file parameter `java -Dconfig=your-config-file -jar data-collector-0.1.0-standalone.jar``

Installing as systemd service

Edit kotio-data-collector.service to your preferences.

Link it to /etc/systemd/system/ e.g. ln -s /home/pi/kotio-data-collector.service /etc/systemd/system/kotio-data-collector.service.

Check status systemctl status kotio-data-collector.service.

Start as service systemctl start kotio-data-collector.service.

Stop service systemctl stop kotio-data-collector.service.

License

Copyright © 2017 Jori Lytter

Distributed under the MIT License.

About

kotio data collector for sensor and switch data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published