kingsloi / community-airmonitor

Miller Beach / NWI air quality monitor using PurpleAir PM sensor, tracking PM2.5, PM10, weather, traffic congestion, trains in "The Region", etc. built in node.js/express.js, updated every 15 minutes.

Home Page:https://millerbeach.community

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Community Air Monitor

Tracking PM2.5/PM10 via a Purple Air Sensor, weather, traffic congestion, trains schedules, and more, in the Miller Beach neighbourhood of Gary, IN.

https://millerbeach.community

In August 2019, ArcelorMittal leaked cyanide into the Little Calumet River in Portage, IN, killing fish, forcing the closure of the Indiana Dunes National Park, and the many beaches along the Lake Michigan shoreline, affecting the livelihood of the many thousands of people who rely on the Lake/beach daily, but also the many tourists who were visiting the region, during the peak of summer. A few months later in October 2019, neighbours reported a foul odour that was causing eye irritation, headaches, and nausea. Northwest Indiana is described as housing "the largest steelmaking complex in North America" with:

  • BP Whiting Refinery
  • U.S. Steel's East Chicago Tin
  • ArcelorMittal Indiana Harbor in East Chicago
  • Gary Works, once the world's largest steel mill, now the largest mill in North America. source

all within 15 miles of Gary, IN. Suspecting the foul odor was caused by one of the many mills in the region, and sick of constant air/water polluting, a handful of residents of Gary residents crowd-funded a Purple Air PA-II air sensor to track the air quality in our community. Pulling in other sources of pollutants such as car congestion, train traffic, mill train traffic/coal/fuel/steel deliveries, flights overhead to/from ORD, MDW, GYY, tanker traffic in Lake Michigan, etc., we may be able to determine who, where, and how is impacting the air we breathe. As soon as other means of affordable/open tracking other pollutants, water quality, etc. we'll add and track it here.

Getting Started

Create & host your own community air monitor site:

git clone https://github.com/kingsloi/community-airmonitor.git
cd community-airmonitor
npm install
cp .env.example .env
vi .env
node app.js

# Update stats manually
curl http://localhost:8080/sync?hash=YOUR_HASH_SET_IN_ENV_FILE

# Update stats automatically every 10 minutes
crontab -e
*/10 * * * * curl --request GET 'http://localhost:8080/sync?hash=YOUR_HASH_SET_IN_ENV_FILE'

Sources:

About

Miller Beach / NWI air quality monitor using PurpleAir PM sensor, tracking PM2.5, PM10, weather, traffic congestion, trains in "The Region", etc. built in node.js/express.js, updated every 15 minutes.

https://millerbeach.community

License:MIT License


Languages

Language:Vue 49.2%Language:JavaScript 43.1%Language:SCSS 5.1%Language:CSS 1.7%Language:HTML 0.8%