mmcc-xx / BirdCAGE

180 stars 18 forks source link

Add weather reporting to db #56

Open matthew73210 opened 1 year ago

matthew73210 commented 1 year ago

Had a quick look at the backend, and it shouldn't be too hard to the stream_processing.py a function that grabs the weather every hour and appends it to the db. Using the mdata variable. + also changing various files etc.. conditions: rainy, sun etc temp : lol hum : xx pressure :

I suppose that air quality could also be added and where the sun is at (can be calucated from lat/log + time)

I'll give it a go sometime and do a pr, unless you want to have a go at it too.

matthew73210 commented 1 year ago

for futur reference open-meteo has all that is needed