Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect weather data from Dark Sky API and store it to farmOS #99

Open
petteripitkanen opened this issue Sep 24, 2019 · 3 comments
Open

Comments

@petteripitkanen
Copy link
Collaborator

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 and rain. Temperature should be in celsius, that looks easier for frost detection. For now rain should be 0 if there is no rain and 1 if there is rain.

Include the timestamp property when sending temperature and rain 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 variables LATITUDE and LONGITUDE.

Easiest way to install farmOS seems to be with Docker, see https://farmos.org/development/docker/, for example on Debian:

$ apt-get install docker-compose
$ mkdir farmos; cd farmos
$ wget https://raw.githubusercontent.com/farmOS/farmOS/7.x-1.x/docker/docker-compose.development.yml
$ mv docker-compose.development.yml docker-compose.yml
$ sudo docker-compose up
@j12i
Copy link

j12i commented Aug 28, 2022

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

@R2DEV0
Copy link

R2DEV0 commented Jan 12, 2023

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.

@aimeejulia
Copy link
Contributor

@R2DEV0 very happy to see new contributors to this project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants