Samer Albahra 58bc020f34 Move weather-based rain delay into it's own adjustment method
The previous implementation caused the scale to change to zero for
user’s not using a weather adjustment method. This is not ideal since
the water scale will remain at 0% until there is user intervention.

Now it will be a user selectable method which uses a user-configurable
delay value which defaults to 24 hours.
2015-07-30 21:23:19 -07:00
2015-07-06 17:09:37 -05:00
2015-07-02 20:53:18 -05:00
2015-07-30 20:57:52 -07:00

 OpenSprinkler Weather Service GitHub version

 Build Status codecov.io devDependency Status
 Official Site | Support | Changelog

This script is used by OpenSprinkler Unified Firmware to update the water level of the device. It also provides timezone information based on user location along with other local information (sunrise, sunset, daylights saving time, etc).

The production version runs on Amazon Elastic Beanstalk (AWS EB) and therefore this package is tailored to be zipped and uploaded to AWS EB. The script is written in Javascript for Node.JS.


File Detail

server.js is the primary file launching the API daemon.

routes/*.js contains all the endpoints for the API service. Currently, only one exists for weather adjustment.

models/*.js contains all the database models used by the routes. Currently, only one exists to manage weather cache data.

Description
No description provided
Readme 715 KiB
Languages
TypeScript 87.7%
C 9%
Shell 2.2%
JavaScript 0.7%
Dockerfile 0.4%