Commit Graph

49 Commits

Author SHA1 Message Date
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
282662d6e1 restructured to allow preloader to run async, for now with timeout... 2021-03-13 19:11:25 +07:00
db700d07bb added preloader so css can be applied properly even after dom loaded 2021-03-13 19:10:26 +07:00
3c7ce744f9 adding helper files to sync up to deploy and update automatically 2021-03-11 18:10:19 +07:00
eaa36d8e06 added hourly avg graph to frontend 2021-03-11 18:09:53 +07:00
e3286af0cd backend creating bar chart for hourly avg aqi values 2021-03-08 12:40:16 +07:00
0fe1e73d17 context about pandas and matplotlib in the backend 2021-03-08 11:14:38 +07:00
054a544ee6 newest updates notification via php incl into colorbox on top 2021-03-07 22:03:35 +07:00
524cd8379c small graph title improvements, fontsize 2021-03-07 12:05:43 +07:00
5ea110e4a4 added pm 2.4 and pm 10 to /graphs 2021-03-07 11:43:01 +07:00
af93660e03 new fancy cloud.png 2021-03-06 22:53:41 +07:00
e78976b576 creating bar charts for pm2.5 and pm10 daily average compared against thresh from WHO 2021-03-06 22:37:16 +07:00
02df0b4026 helper scripts for import, testing and backup 2021-03-05 18:35:53 +07:00
91832a95c0 scipy for smoth interpolation 2021-03-05 14:31:18 +07:00
e5a80fc0a7 rebuild the last_7 graph to add a daily avg ax 2021-03-05 14:29:56 +07:00
d5cd7a402c added og: tags and img preview 2021-03-01 20:25:52 +07:00
bf5619b346 sticky colorbox on top and other small ui improvements 2021-02-28 15:16:27 +07:00
f6ada0ff00 last-7 days to homepage, using flex instead of grid for graph page for better mobile comp 2021-02-27 15:28:01 +07:00
c7a53f0a1a added last-7 days graph to backend 2021-02-27 15:10:23 +07:00
0ef353b1b9 small mobile ui nav bar fix 2021-02-25 10:15:40 +07:00
d9c3f65cfe added graph as a dedicated page 2021-02-24 16:33:43 +07:00
de4d2a36e4 added lokesh/lightbox2 to nicely display the graphs 2021-02-24 15:01:04 +07:00
fb8fe182bf daily export three graphs with values from last three days 2021-02-24 11:52:25 +07:00
379f0acdbb wifi keeps droping, trying some wifi reconnect logic. 2021-02-23 18:49:36 +07:00
71dc41bb14 making the build and write plt functions reusable 2021-02-23 14:36:29 +07:00
ff3a6e816b creating plot of last 3h values with pandas and matplotlib 2021-02-23 12:09:26 +07:00
5626c48a0e rewrote db_insert to db_connect to make the connection functions reusable for other queries 2021-02-22 20:02:07 +07:00
6be7acbebc some marginal mobile UI improvements 2021-02-22 11:40:41 +07:00
12f3a52304 restructured how data subdomain serves air.json to main domain by mounting the dyn folder directly into the main docker container, by that avoiding any CORS complications. 2021-02-22 10:33:24 +07:00
56199766ee custom icons for all weather states, categories and static weather elements 2021-02-22 09:54:01 +07:00
13646f387b added about page, improved js to no throw errors so same file can be used on about, external footer and nav files for easy reuse with php include 2021-02-21 15:12:20 +07:00
4782f88650 added acme volume to nginx-proxy 2021-02-20 17:22:47 +07:00
f0c93e346e fixed a wifi connection error with a different wifi library 2021-02-20 17:16:43 +07:00
e59eefca06 added active category with description to hopepage, pull updates dynamically. 2021-02-19 20:21:51 +07:00
af07065462 displaying dynamic weather data on the homepage 2021-02-19 12:57:04 +07:00
9fb0846bc4 added some error checking if pm2.5 value read out fails on esp8266 2021-02-19 10:10:28 +07:00
383e09f69d input function now returns a dict instead of a str so the value can be reused for db INSERT 2021-02-18 23:53:40 +07:00
c895edc1e9 values get stored into postgres now 2021-02-18 23:42:42 +07:00
d842970b73 minimal mobile improvements 2021-02-18 17:53:46 +07:00
c28b7b1891 set weather api call interval to sensible 900 secs 2021-02-18 17:53:09 +07:00
9b3c0b06c5 added postgres to docker for later integration 2021-02-16 17:57:25 +07:00
58406828ee added secondary call to openweathermap api for additional weather data to be return from main route 2021-02-16 15:20:26 +07:00
39740276ec minimum viable product 2021-02-16 10:40:22 +07:00