Public | Automated Build

Last pushed: a year ago
Short Description
Reads information from mqtt and plots on plot.ly. Best used with homematic HM-CC-RT-DN and homegear
Full Description

hgplot

Reads information from mqtt and plots on plot.ly. Best used with homematic HM-CC-RT-DN and homegear

prerequisites

homegear

enable mqtt in /etc/homegear/mqtt.conf

plotly

get api-key and tokens at https://plot.ly/settings/api
and edit config.yml

docker quickstart

$ cp config-dist.yml config.yml
$ vim config.yml
$ docker run -it -v $(pwd)/config.yml:/config.yml willies/hgplot:latest

dev

virtualenv

use pyvenv rvenv to setup virtualenv and source rvenv/bin/activate to activate

run

(rvenv) ➜  hgplot git:(master) ✗ python hgplot.py
https://plot.ly/~joe/1
Connected to broker mqtt.broker.lan
2016-05-31 21:29:42.130964+02:00: 1, 23.7
2016-05-31 21:29:42.131873+02:00: 2, 23.9
2016-05-31 21:29:42.132849+02:00: 3, 23.4
[...]

and visit the plot.ly dashboard

links

Docker Pull Command
Owner
willies
Source Repository

Comments (0)