jjpavlik / homemetrics

1 stars 0 forks source link

Only update Openweather data if changed from last time #4

Open jjpavlik opened 4 years ago

jjpavlik commented 4 years ago

Right now, every minute I'm pushing from OpenWeather to arduino every minute:

https://github.com/jjpavlik/homemetrics/blob/master/collector.py#L199

while for the livingroom sensor I only push an update to the LCD if the data is has changed compared with the past (actually this hasn't reached master yet xD).

https://github.com/jjpavlik/homemetrics/blob/LCDRotationMultiDataDisplay-002/collector.py#L196