Skip to content
Pull Proove multisensor data from Cozify Hub into InfluxDB
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.
cozifytemp
.gitignore
LICENSE
README.md
cozify-sample-loop.py
cozify-single-sample.py
cozify-thingspeak-loop.py
csv-import.py
legacy-single-sample.py

README.md

cozify-temp

Pull Proove multisensor data from Cozify Hub into InfluxDB

Authentication is handled by python-cozify bindings developed separately: github.com/Artanicus/python-cozify

installation

  • Install dependencies:
sudo pip3 install cozify pytz
  • For storage, create a InfluxDB database called 'cozify':
influx -execute 'CREATE DATABASE cozify'
  • Test connection by running cozify-single-sample.py to get a single snapshot and push it to InfluxDB. The single-sample script is more naive but simpler to get started with.
  • If you so choose, customize db connection parameters in ~/.config/cozify-temp/influxdb.cfg (config created with defaults at first runtime)
  • if a single sample was fine, run cozify-sample-loop.py to get and push data on a 60s interval. The loop script is more robust than the single sample and is usable as a systemd daemon.

example Grafana graphs

You can’t perform that action at this time.