-
Notifications
You must be signed in to change notification settings - Fork 1
Capture precipitation rain/snow by day #57
Comments
This could be a simple quick form that creates observation logs with a "Weather" category. |
Add quick form to capture this data |
(copied from my duplicate issue:)
|
I started a new Weather module: https://github.com/mstenta/farm_weather It provides a "Weather" log category - that's all it does right now. Here is the issue specifically for the quick form: farmOS/farm_weather#2 |
Done. |
Please add example code how to query these observations |
I added a new function to farmOS specifically for querying+loading logs with quantity data on them: Here is how you would use that to load rain and snow precipitation observation logs created by the new quick form:
With that array of
This will give you an array like this:
(Note that it is an array of arrays, because technically logs can contain multiple measurements. The weather quick form currently only adds a single measurement.) |
Capture precipitation rain/snow by day
I think we discussed a more generalized weather module in #3
from #3 #39
The text was updated successfully, but these errors were encountered: