Back to personal projects

IoT dashboard · Vue

aerolit

Stack
  • Vue 3
  • TypeScript
  • PrimeVue
  • TanStack Query
  • Pinia
  • Leaflet
  • ECharts

An operator dashboard for 240 air-quality sensors in Berlin, with key decisions written up as ADRs.

The Approach

  • The domain layer (AQI, trends, KPIs) is pure functions with no dependencies, enforced by ESLint and checked against figures computed separately in Python.
  • Cursor pagination in both directions. Search switches the table to a mode that covers the whole network and says so.
  • Light and dark themes from one token set, including map tiles and charts. Works from 2560px down to a phone, with nothing hover-only.
  • End-to-end tests at three widths, with axe checks in both themes.

The Outcome

240

sensors on a live map

5

test layers, from unit tests to pixel baselines

Dashboard: KPIs, sensor map and tracked districts
Dark theme from the same tokens, map included
Sensor list with sorting and cursor pagination