OPEnSLab-OSU / WeatherChimes

2 stars 1 forks source link

Low-priority Feature request: Dynamic 4G upload time based on rainfall #117

Open udellc opened 1 year ago

udellc commented 1 year ago

For Chimes using rainfall, hourly reports over 4G may be sufficient to extend battery life, but will want to dynamically increase reports to 4G sampling rate to once every 15 or even 10min based on a high rainfall threshold (TBD by the science team). This would entail adding code to check if Tipping Bucket is even being used or not - and if so, set the RTC wakeup time for next cycle after checking and calculating the rainfall rate for the last sample. This may require a readjustment of how we calculate rainfall rate over the hour, instead of and array of 4 values each representing 15min, we will need to analyze the accumulated rainfall based on timestamp. Low priority, but needs to be an active issue till addressed in future.