Skip to content

API and Map UI for tracking the status of AoT Chicago nodes

License

Notifications You must be signed in to change notification settings

UrbanCCD-UChicago/node_status

Repository files navigation

Array of Things Chicago Node Status

This is an application suite that pulls data from several sources and combines it into a simple reporting system. The aggregated data is then made available for consumption via CSV, JSON, or GeoJSON export. There is also an interactive Map UI.

<iframe src="https://aot-status.plenar.io/" style="height:500px;width:500px;"></iframe>

Local Development

This is a pretty straight forward process:

$ docker-compose build
$ docker-compose up

This will bring up the following containers:

  • rabbitmq as the task queue store
  • postgres to store the pulled/scraped data
  • tasks that run on a schedule to pull and scrape data and prune the database
  • web to expose the resource endpoints and serve the map ui

SOURCE MATERIAL:

STATUS:

  • red: matches none
  • orange: has a record <= 24 hrs in boot_events
  • yellow: has a record <= 24 hrs in rssh_ports
  • blue: orange and yellow, not green
  • green: has a record <= 24 hrs in latest_observations