Open petteripitkanen opened 5 years ago
dark sky is going dark at the end of the year... here's a project that aims to replace the api compatibly: https://pirateweather.net
I found this issue on https://ovio.org/projects and would love to contribute! I am looking for a project for my college report. I have experience working with Node/Javascript and with APIs.
@R2DEV0 very happy to see new contributors to this project
Accurately detecting weather warnings for rain, frost and drought depends on recent weather data (#2, #98). Make powerplant server to poll the Dark Sky API every 5 minutes and store the data by sending it to farmOS sensor listener interface.
For now the weather variables that we are interested in are
temperature
andrain
. Temperature should be in celsius, that looks easier for frost detection. For nowrain
should be0
if there is no rain and1
if there is rain.Include the
timestamp
property when sendingtemperature
andrain
to farmOS, when we are later processing the data it needs to be relevant to powerplant's clock.Configure garden location in
secrets.example.js
in variablesLATITUDE
andLONGITUDE
.Easiest way to install farmOS seems to be with Docker, see https://farmos.org/development/docker/, for example on Debian: