Commit Graph

142 Commits

Author SHA1 Message Date
15c0945d1a extend hazardous category to avoid out of range 2021-08-23 12:04:15 +07:00
931f1f9e62 better handeling of return value validation by datatype 2021-08-21 17:14:11 +07:00
8a700bf83d fix error on empty year comparison column 2021-08-06 09:20:57 +07:00
b56e02fbc2 various mobile front end improvements 2021-08-01 12:09:32 +07:00
8a6aa8392d fix monthly scheduler job 2021-08-01 12:08:52 +07:00
052d8d32ac improve mobile aqi value layout 2021-07-31 12:22:49 +07:00
a02dd4ed17 grey out nan value in table 2021-07-31 12:21:41 +07:00
aa6b150d25 ignore unsave import message 2021-07-30 18:00:17 +07:00
5bf25699df try this again with this __pycahche__ thing 2021-07-30 17:58:00 +07:00
dc4e5703f3 handle nan value in year comparison data 2021-07-30 17:57:07 +07:00
c51e843947 return a validation value for the monitor to restart on value error 2021-07-30 17:55:00 +07:00
ffb25d5559 exporting 10 days to table header 2021-07-21 17:07:39 +07:00
f74927774c add post_data to output for debug 2021-07-20 16:30:42 +07:00
d87f449e21 set id for autorefresh graph 2021-07-19 11:10:14 +07:00
398d3411c2 better aqi value and category conversion from pm2.5 amount 2021-07-18 19:10:11 +07:00
77b1c211b5 typo for pycache ignore 2021-07-14 21:01:46 +07:00
c7af9c7114 mobile frontent improvement 2021-07-14 21:01:10 +07:00
cda956da02 updated for new comined flask app 2021-07-12 13:21:41 +07:00
4c727dc8aa recreating all monthly graphs if needed 2021-07-11 22:47:13 +07:00
2d6ef3a447 reverse data table json export to newest on top 2021-07-11 22:46:34 +07:00
adde5b75c4 some housekeeping 2021-07-07 19:18:06 +07:00
129caa06a4 indexing on epoch_time for faster where queries 2021-07-07 19:17:26 +07:00
efc2a61520 point to new api endpoints 2021-07-07 19:16:33 +07:00
0ac8d21284 major app rebuild into a single flask application 2021-07-07 19:08:46 +07:00
a8641d94a6 updating input function for new db layout 2021-06-04 18:25:09 +07:00
78a628dc4f sending sensor_id for future multiple sensors and some better error correction 2021-06-03 17:08:53 +07:00
32a74c611c adding backupdir variable to db rotate 2021-05-15 21:47:08 +07:00
497d530f64 showing nice social preview img on top 2021-05-09 12:27:51 +07:00
b1e3b62e4b auto rotating pg dump files 2021-05-09 12:26:38 +07:00
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
fd28ca9ca3 creating aqi tables now directly with php, js just for coloring 2021-04-14 17:27:59 +07:00
1a76c3633f rewrote get_epoch for a more robust date dedection 2021-04-13 17:02:41 +07:00
0eee8a36fc added initial monthly graph to frontent 2021-04-03 18:52:56 +07:00
4857960c07 moved last year comparison to graphs page 2021-04-02 18:37:35 +07:00
4b75e880b5 added monthly graph and json export to backend 2021-04-02 18:27:18 +07:00
6a28abcc58 added US AQI subtitle to cloud to make it obvious 2021-03-26 14:17:18 +07:00
05a71389cd improved readability in last-7.png with better date format 2021-03-26 14:15:45 +07:00
d122bda8b6 added year comparison graph to frontent 2021-03-22 19:36:14 +07:00
4b478d47a9 reduced to last 7days for better layout 2021-03-22 19:35:45 +07:00
f7cb5ffb03 standard good-bad colors through front and backend 2021-03-21 16:58:56 +07:00
e2b0506b9f exporting table to barchart in backend 2021-03-21 15:53:56 +07:00
6b187607bb refactored to have color_colums in a separte reusable function 2021-03-21 15:52:58 +07:00
7853a9febb added year comparison table to frontent 2021-03-21 12:33:10 +07:00
4d9b2ddd2f closing plt to no accumulate memory over time 2021-03-21 12:32:39 +07:00
360ff9422e interpolate single NaN value for nicer graph 2021-03-20 09:44:18 +07:00
e2d95166ba creating json file in backend to populate year comp table 2021-03-20 09:29:08 +07:00
da37342332 more useful log output with row count for each table 2021-03-19 13:06:07 +07:00
a2f88a795c skip if no lastThreeImg is found 2021-03-19 13:04:01 +07:00
74972282af refreshing current.png on an interval with query string 2021-03-14 12:33:02 +07:00
1ec5023c53 some example postgresql commands in use 2021-03-13 19:13:50 +07:00