sensebox / openSenseMap

Platform for storing and exploring sensor data
https://opensensemap.org
MIT License
99 stars 51 forks source link

Rain gauge 24h values #247

Open ei-ke opened 6 years ago

ei-ke commented 6 years ago

Good morning,

first of all thank you for offering openSenseMap. I started using it approx. 2 month ago when I build my first air quality sensor. As I recently started working more with Arduino I was thinking of writing rain gauge measurements to openSenseMap. E. g. in 5 minute intervals. But often the rain ammount for the last 24 hours is more interesting. As I don't want to leave the data that long on the ESP8266 in case of some quirks I think maybe we could get something like a "sum up" function for sensor values to oSM. But I've no idea how cumbersome such a feature is to build. I also considered writing this data to my own shared hosting environment and visualize it with D3.js or maybe even RRDtool - but for me that's not as easy as I thought...

Greetings Eike

mpfeil commented 6 years ago

Hi Eike, thank you for your feedback and ideas. We are already discussing about offering an aggregation of data (https://github.com/sensebox/openSenseMap/issues/192) within our backend / API. But we are not sure about it right now. I will let you know after the christmas break.

If you are familiar with d3.js (we use it already for our charts) and want to contribute some new visualization features you are very welcome to contribute. If you need more help or introduction to the code (the README and CONTRIBUTION Guideline is not so good) you can text me.

ei-ke commented 6 years ago

Hello Matthias,

I'd like to have a look into how everything works though I have no real programming knowledge and would start with a trial and error approach. Currently I'm trying to get OSM up in a VM... but I think this will take a while :)

PS: Maybe I should try Docker, but I'd have to figure out how to access the src there.

KillerJulian commented 1 year ago

Are there any updates on this issue? I think the function should become a part of the OSM.

Another example: My weather station sends wind speed to OSM every minute. Wind gusts can thus be displayed. But often an average value is much more interesting.

I thank you anyway for this great project ❤️

mpfeil commented 1 year ago

Hi @KillerJulian,

thanks for picking this one up and asking for the status. We are working on this functionality right now and hopefully we can integrated it within our backend providing options for different averages like 1h/1d/1w/1m/1y.

KillerJulian commented 1 year ago

That sounds really great! Is there also the possibility to introduce 10 minutes to evaluate short-lasting weather events?

Thanks

mpfeil commented 1 year ago

10 minute intervals are also possible. Do you have more intervals on mind that could be interesting?

KillerJulian commented 1 year ago

No thanks, I would be happy if the mentioned intervals will be implemented :smiley:

Best regards Julian :de: