Commit Graph

83 Commits

Author SHA1 Message Date
JayWll
104a5faef7
Merge pull request #3 from JayWll/glitch
Adding /showsettings endpoint to display settings table
2020-04-13 11:36:04 -06:00
Glitch (jasonsplant)
7ec5440bb5 Adding /showsettings endpoint to display settings table 2020-04-13 17:34:37 +00:00
JayWll
d3c7b7171a
Merge pull request #2 from JayWll/settings
Adding settings table with flags to control alerts
2020-04-13 11:07:23 -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
71042e5939
Merge pull request #1 from JayWll/glitch
Adding export endpoint to move live data to dev environment
2020-04-10 11:52:21 -06:00
Glitch (jasonsplant)
bea81bc280 Adding export endpoint to move live data to dev environment 2020-04-10 17:51:31 +00: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
Glitch (hello-express)
0c6080298b 💄👘 Checkpoint
./package.json:7435365/14
2019-12-21 04:41:59 +00:00
Glitch (hello-express)
c4485b07ab 🕍🍂 Checkpoint
./app.js:7435365/15
2019-12-21 04:13:55 +00:00
Glitch (hello-express)
c3f72650f5 👜👏 Checkpoint
./package.json:7435365/2852
2019-12-21 03:50:08 +00:00
Glitch (hello-express)
1305ca8cc1 🎷 Checkpoint
./package.json:7435365/14
2019-12-21 00:25:44 +00:00
Glitch (hello-express)
383e3efffc 🌾🍖 Checkpoint
./package.json:7435365/7077
2019-12-20 23:48:12 +00:00
Glitch (hello-express)
79e6f852b3 🚋🚪 Checkpoint
./server.js:7435365/193
./package.json:7435365/3052
./README.md:7435365/914
2019-12-20 23:36:03 +00:00
Glitch (hello-express)
451d581782 🎥🏑 Checkpoint
./server.js:7435365/533
2019-12-20 23:24:05 +00:00
Glitch (hello-express)
06aad43cf3 🛎️ Checkpoint
./server.js:7435365/3113
2019-12-20 23:12:05 +00:00
Glitch (hello-express)
a1aebd61ee 🏚🎻 Checkpoint
./server.js:7435365/730
2019-12-20 23:00:10 +00:00
Glitch (hello-express)
fa06f2b2bd 🐀👫 Checkpoint
./server.js:7435365/52
2019-12-20 22:48:08 +00:00
Glitch (hello-express)
f7671afd7d 👬💐 Checkpoint
./server.js:7435365/130
2019-12-20 22:36:06 +00:00
Glitch (hello-express)
3e2ef29648 🙇🎫 Checkpoint
./server.js:7435365/4061
2019-12-20 22:24:04 +00:00
Glitch (hello-express)
7a9e6b22c5 🚲🏉 Checkpoint
./server.js:7435365/1521
./package.json:7435365/1369
2019-12-20 22:12:17 +00:00
Glitch (hello-express)
78a5b2e6e2 🐯🎨 Checkpoint
./server.js:7435365/1442
./views/index.html:7435365/14616
2019-12-20 22:00:14 +00:00
Glitch (hello-express)
f6ff300e61 🌋💐 Checkpoint
./server.js:7435365/1328
2019-12-20 21:48:15 +00:00
Glitch (hello-express)
343cf657a0 🏚🚵 Checkpoint
./package.json:7435365/45
./server.js:7435365/2177
2019-12-20 21:36:14 +00:00
Glitch (hello-express)
e99e5d98f6 💖🍄 Checkpoint
./server.js:7435365/776
2019-12-16 20:50:56 +00:00
Glitch (hello-express)
0106f01cea 🚥🐊 Checkpoint
./server.js:7435365/1161
2019-12-16 19:34:21 +00:00
Glitch (hello-express)
ce75066657 🍕 Checkpoint
./server.js:7435365/248
2019-12-16 19:05:18 +00:00