Commit Graph

98 Commits

Author SHA1 Message Date
simon 7b52192ea5 specify compose file 2021-11-03 16:19:23 +07:00
simon 836f64520b lock postgres 13 2021-11-03 16:18:48 +07:00
simon aaae24b486 speedup deployment with slim python image and build step outside of compose 2021-09-09 10:57:26 +07:00
simon 49c3f55482 removed the in progress message 2021-09-09 10:33:17 +07:00
simon f8eec5c74f replacing 0 with on for graphs to coninue the line 2021-09-09 10:26:08 +07:00
simon f4dd0d08aa allowing for nan values in year comparison 2021-09-01 11:55:10 +07:00
simon 15c0945d1a extend hazardous category to avoid out of range 2021-08-23 12:04:15 +07:00
simon 931f1f9e62 better handeling of return value validation by datatype 2021-08-21 17:14:11 +07:00
simon 8a700bf83d fix error on empty year comparison column 2021-08-06 09:20:57 +07:00
simon b56e02fbc2 various mobile front end improvements 2021-08-01 12:09:32 +07:00
simon 8a6aa8392d fix monthly scheduler job 2021-08-01 12:08:52 +07:00
simon 052d8d32ac improve mobile aqi value layout 2021-07-31 12:22:49 +07:00
simon a02dd4ed17 grey out nan value in table 2021-07-31 12:21:41 +07:00
simon aa6b150d25 ignore unsave import message 2021-07-30 18:00:17 +07:00
simon 5bf25699df try this again with this __pycahche__ thing 2021-07-30 17:58:00 +07:00
simon dc4e5703f3 handle nan value in year comparison data 2021-07-30 17:57:07 +07:00
simon c51e843947 return a validation value for the monitor to restart on value error 2021-07-30 17:55:00 +07:00
simon ffb25d5559 exporting 10 days to table header 2021-07-21 17:07:39 +07:00
simon f74927774c add post_data to output for debug 2021-07-20 16:30:42 +07:00
simon d87f449e21 set id for autorefresh graph 2021-07-19 11:10:14 +07:00
simon 398d3411c2 better aqi value and category conversion from pm2.5 amount 2021-07-18 19:10:11 +07:00
simon 77b1c211b5 typo for pycache ignore 2021-07-14 21:01:46 +07:00
simon c7af9c7114 mobile frontent improvement 2021-07-14 21:01:10 +07:00
simon cda956da02 updated for new comined flask app 2021-07-12 13:21:41 +07:00
simon 4c727dc8aa recreating all monthly graphs if needed 2021-07-11 22:47:13 +07:00
simon 2d6ef3a447 reverse data table json export to newest on top 2021-07-11 22:46:34 +07:00
simon adde5b75c4 some housekeeping 2021-07-07 19:18:06 +07:00
simon 129caa06a4 indexing on epoch_time for faster where queries 2021-07-07 19:17:26 +07:00
simon efc2a61520 point to new api endpoints 2021-07-07 19:16:33 +07:00
simon 0ac8d21284 major app rebuild into a single flask application 2021-07-07 19:08:46 +07:00
simon a8641d94a6 updating input function for new db layout 2021-06-04 18:25:09 +07:00
simon 78a628dc4f sending sensor_id for future multiple sensors and some better error correction 2021-06-03 17:08:53 +07:00
simon 32a74c611c adding backupdir variable to db rotate 2021-05-15 21:47:08 +07:00
simon 497d530f64 showing nice social preview img on top 2021-05-09 12:27:51 +07:00
simon b1e3b62e4b auto rotating pg dump files 2021-05-09 12:26:38 +07:00
simon e3e0f294c3 now directly mounting dyn folder into container instead of second root to allow php to read it from web_root 2021-04-14 17:29:46 +07:00
simon fd28ca9ca3 creating aqi tables now directly with php, js just for coloring 2021-04-14 17:27:59 +07:00
simon 1a76c3633f rewrote get_epoch for a more robust date dedection 2021-04-13 17:02:41 +07:00
simon 0eee8a36fc added initial monthly graph to frontent 2021-04-03 18:52:56 +07:00
simon 4857960c07 moved last year comparison to graphs page 2021-04-02 18:37:35 +07:00
simon 4b75e880b5 added monthly graph and json export to backend 2021-04-02 18:27:18 +07:00
simon 6a28abcc58 added US AQI subtitle to cloud to make it obvious 2021-03-26 14:17:18 +07:00
simon 05a71389cd improved readability in last-7.png with better date format 2021-03-26 14:15:45 +07:00
simon d122bda8b6 added year comparison graph to frontent 2021-03-22 19:36:14 +07:00
simon 4b478d47a9 reduced to last 7days for better layout 2021-03-22 19:35:45 +07:00
simon f7cb5ffb03 standard good-bad colors through front and backend 2021-03-21 16:58:56 +07:00
simon e2b0506b9f exporting table to barchart in backend 2021-03-21 15:53:56 +07:00
simon 6b187607bb refactored to have color_colums in a separte reusable function 2021-03-21 15:52:58 +07:00
simon 7853a9febb added year comparison table to frontent 2021-03-21 12:33:10 +07:00
simon 4d9b2ddd2f closing plt to no accumulate memory over time 2021-03-21 12:32:39 +07:00