18 lines
873 B
Plaintext
18 lines
873 B
Plaintext
create a flask-service that collects data from the netatmo cloud api every 10 mins and puts that data
|
|||
|
|
into rrd graphs.
|
||
|
|
Example of the data coming from netatmo's service is in payload_dict.py.
|
||
|
|
I have registered this app at netatmo as 'GetNetatmoData v2'
|
||
|
|
Create the following rrd's, each for 1 day, 2 weeks, 1 year:
|
||
|
|
- Outdoor: min and max temp, humidity, pressure
|
||
|
|
- Wind: gusts as line, average as bars. the (rainbow) color of the bar represent the wind-angle
|
||
|
|
- Bedroom: average temp, co2, humidity
|
||
|
|
- Study: average temp, co2, humidity
|
||
|
|
- Living: average temp, co2, humidity
|
||
|
|
rrdfolder must be configurable.
|
||
|
|
|
||
|
|
The flask-service:
|
||
|
|
- has a route to allow to query the last available data: .../last/[rrd-name]/[name of data-point]
|
||
|
|
- has a route to get the rrd-graph ...graph/[rrdname][period]
|
||
|
|
|
||
|
|
create a html page that display all graphs and allows to switch between periods.
|