Commit Graph

92 Commits

Author SHA1 Message Date
Samer Albahra
bc713d0380 Fix bug with Weather Underground queries 2015-07-03 16:05:03 -05:00
Samer Albahra
2bdc995825 Fix incorrect variable definitions 2015-07-03 14:17:40 -05:00
Samer Albahra
b7bf17ee9d Add fallback coordinates if none are provided by observation location 2015-07-03 13:56:06 -05:00
Samer Albahra
1a1a744dd7 Add timezone offset to Date object so overflow is handled 2015-07-03 13:22:45 -05:00
Samer Albahra
6ad0f0ff33 Add data validation before running water calculation function 2015-07-03 13:13:30 -05:00
Samer Albahra
d07e861722 Fix timezone issues with sunrise/sunset times 2015-07-03 11:21:44 -05:00
Samer Albahra
7541c21bb4 Attempt to generate UTC timestamp for sun times 2015-07-03 11:08:39 -05:00
Samer Albahra
261ffb4d35 Attempt to remove timezone offset from sun time calculations 2015-07-03 10:50:02 -05:00
Samer Albahra
c096106738 Generate date using the local observation time instead of server 2015-07-03 10:29:05 -05:00
Samer Albahra
859bce73dd Remove debug code 2015-07-03 02:54:58 -05:00
Samer Albahra
288733a190 Add the ability to retrieve weather data from Weather Underground 2015-07-03 02:53:51 -05:00
Samer Albahra
cd67a6f997 Minor fixes 2015-07-03 01:27:40 -05:00
Samer Albahra
687e3c6ca7 Remove unnecessary IIFE
https://stackoverflow.com/questions/21531329/are-node-js-modules-need-to
-be-wrapped-inside-the-module-pattern
2015-07-03 01:10:59 -05:00
Samer Albahra
69d4c9ca4d Many improvements and big fixes 2015-07-02 20:53:18 -05:00
Samer Albahra
8bfe799a01 Small changes to read and weather route 2015-07-02 20:28:16 -05:00
Samer Albahra
e82d72067f Change cronjob for weather cache processor to daily 2015-07-02 19:45:12 -05:00
Samer Albahra
90faf0f2fb Speed up Elastic Beanstalk update times 2015-07-02 19:43:57 -05:00
Samer Albahra
057480fb7f Fix bugs incorporating cached value of yesterday's humidity 2015-07-02 19:30:39 -05:00
Samer Albahra
66b4d1ccbd Add local weather caching mechanism 2015-07-02 19:19:56 -05:00
Samer Albahra
199399ff5e Add more error handling 2015-07-01 21:48:32 -05:00
Samer Albahra
3091fecb43 Add comments to the code 2015-07-01 21:41:20 -05:00
Samer Albahra
237fe2a483 Restrict yesterday weather result to only one day 2015-07-01 20:03:27 -05:00
Samer Albahra
712792679a Add the ability to parse XML from WSI history API 2015-07-01 19:57:01 -05:00
Samer Albahra
664cc3666a Wrap code within a closure function 2015-07-01 18:45:27 -05:00
Samer Albahra
8c7d5b5bc7 Add Amazon Elastic Beanstalk exceptions to gitignore 2015-07-01 18:16:34 -05:00
Samer Albahra
da4a540e92 Refactor to remove nested function definition 2015-07-01 17:57:43 -05:00
Samer Albahra
91b429c1dd Small bug fixes 2015-07-01 00:26:07 -05:00
Samer Albahra
3d6c7d6da3 Initial version of Node.js rewrite 2015-07-01 00:12:02 -05:00
Samer Albahra
3bd0decc2d Change logs to show correct IP instead of load balancer 2015-06-07 15:50:09 -05:00
Samer Albahra
63999cd09f Base: Rename parameter options 2015-06-05 23:08:58 -05:00
Samer Albahra
75e167522b Base: Add support for weather adjustments options 2015-06-05 21:45:37 -05:00
Samer Albahra
b4fa0f3350 Add support for calculating Evapotranspiration 2015-04-23 14:38:14 -05:00
Samer Albahra
2ce7450d21 Use restrict variable for weather restrictions
This replaces the scale modification which messes with users using a
manual watering level
2015-04-13 18:21:15 -05:00
Samer Albahra
8a343c464a Fix bug testing weather method 2015-04-12 21:28:32 -05:00
Samer Albahra
1a5bc1e0c0 Allow users not using Zimmerman method to use California restriction 2015-04-12 21:08:16 -05:00
Samer Albahra
e2ace817a7 Add support for modifiers including California restriction rule 2015-04-12 20:52:30 -05:00
Samer Albahra
ebf750ae39 Prevent location change when using PWS or ICAO 2015-03-18 19:29:21 -05:00
Samer Albahra
19b63b7b4c Readme: Add why analytics are used 2015-03-17 21:59:56 -05:00
Samer Albahra
88db127705 Readme: Add some emphasis 2015-03-17 21:57:54 -05:00
Samer Albahra
a9628796df Readme: Add description and disclosure 2015-03-17 21:54:34 -05:00
Samer Albahra
c1bed5e34a Output requester's IP in reply 2015-02-16 21:39:51 -06:00
Samer Albahra
1d08085ddc first commit 2015-01-20 21:59:37 -06:00