Commit Graph

17 Commits

Author SHA1 Message Date
e2d95166ba creating json file in backend to populate year comp table 2021-03-20 09:29:08 +07:00
e3286af0cd backend creating bar chart for hourly avg aqi values 2021-03-08 12:40:16 +07:00
524cd8379c small graph title improvements, fontsize 2021-03-07 12:05:43 +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
e5a80fc0a7 rebuild the last_7 graph to add a daily avg ax 2021-03-05 14:29:56 +07:00
c7a53f0a1a added last-7 days graph to backend 2021-02-27 15:10:23 +07:00
fb8fe182bf daily export three graphs with values from last three days 2021-02-24 11:52:25 +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
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
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
c28b7b1891 set weather api call interval to sensible 900 secs 2021-02-18 17:53:09 +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