Commit Graph
31 Commits
Author SHA1 Message Date
JayWll 9c8b2d45c1 Minor change to wording of thank you tweet 2020-04-23 09:49:49 -06:00
JayWll 289141591e Randomizing wording of "thank you for watering me" tweet. 2020-04-20 10:39:40 -06:00
JayWll 9c30d07271 Updating alert threshold to four days 2020-04-17 17:29:27 -06:00
JayWll fc2ad0014c Updating five day interval following testing. 2020-04-17 17:26:22 -06:00
JayWll c6369f7795 Added posting to twitter when the plant needs water 2020-04-17 17:08:47 -06:00
JayWll bbad48ee90 Added handlers to set flags when a new reading is received
- Reset the 'low' and 'alert' flags if the reading is greater than high-trigger
- Set the 'low' flag if it isn't set, and the reading is less than low-trigger
- Send an alert and set the 'alert' flag if the 'low' flag is more than 5 days old
2020-04-13 11:04:27 -06:00
JayWll 6d3e74aac9 Adding sync() commands to database scripts 2020-04-13 10:01:40 -06:00
JayWll 8832c658bf Script to initialize app settings table 2020-04-13 09:56:52 -06:00
JayWll 0f52429911 Adding table definition for settings. 2020-04-13 09:49:56 -06:00
JayWll 6f3a5c923e Disabling sequelize console logging 2020-04-11 13:34:59 -06:00
JayWll ad6d6b79a4 Adding error checking to import utility 2020-04-11 13:34:32 -06:00
JayWll 0711674a79 Adjust all functions to use factored out database definition 2020-04-11 13:07:57 -06:00
JayWll b5b49c5424 Adding dotenv to app.js to enable running in dev environment 2020-04-11 13:00:00 -06:00
JayWll b64126a7fe Refactoring database and model definition into its own file 2020-04-11 12:57:35 -06:00
JayWll 555ae80afc Simplifying database connection options 2020-04-11 12:29:56 -06:00
JayWll fcc89e75e6 Utility script to import data from production to development environment 2020-04-11 12:26:34 -06:00
JayWll 81564ad85e Adding .env parsing for development environment 2020-04-11 12:25:20 -06:00
JayWll 8b3a8b8c9b Adding fallback to port 4200 for development server 2020-04-11 12:10:24 -06:00
JayWll 5e31a3edab Updating .gitignore to include NPM and .data files 2020-04-11 11:47:15 -06:00
JayWll 4aaec6bd9b Cleaning up 2020-01-04 12:19:04 -07:00
JayWll f3ad62eb10 Removing GCP app publishing from the arduino app 2020-01-04 12:16:26 -07:00
JayWll d1e2f2b4cc Removing temporary functionality used during development 2020-01-04 12:15:36 -07:00
JayWll 9c4276a184 Require secret header to trigger /cleaup 2020-01-04 12:15:01 -07:00
JayWll 8fe6a1e649 Adding link to live app to README.md 2020-01-04 12:13:44 -07:00
JayWll 341f8e16d4 Updating README.md to always use latest version of the circuit diagram image 2020-01-04 12:10:05 -07:00
JayWll be5b4c8384 Adding README.md 2020-01-04 12:09:12 -07:00
JayWll 1dd2ef3737 Rotating circuit diagram 90 degrees to improve readability 2020-01-04 11:59:04 -07:00
JayWll 47c29c8900 Adding fritzing circuit diagram 2020-01-04 11:45:01 -07:00
JayWll 5794c07195 Updating repository address 2020-01-04 11:32:01 -07:00
JayWll 889232ceba Adding arduino code 2020-01-04 11:28:46 -07:00
JayWll c8877d182a Moving nodeJS app files to nodeapp subfolder 2020-01-04 11:27:28 -07:00