Revamping my Sensor Dashboard

New Release

Introducing SensorDash 2.0

A complete architectural overhaul designed for speed, scalability, and a superior user experience.

storage

The Engine Room

Moving from SQLite to InfluxDB

The original version relied on SQLite, which lagged with continuous streams. We migrated to InfluxDB, a dedicated Time-Series Database (TSDB).

  • Blazing Fast Queries: Instant aggregation for historical data.
  • Automatic Data Lifecycle: Retention policies keep storage lightweight.
  • Scalability: Ingests thousands of data points per second.
web

The Visuals

Embracing ShadCN UI

A powerful backend deserves a beautiful frontend. We rebuilt the UI using ShadCN UI (Tailwind) for a minimalist aesthetic.

  • Modern Aesthetics: Data is put front and center.
  • Interactive Widgets: Responsive, real-time monitoring.
  • Accessibility: Keyboard-friendly by default.
  • Dark Mode: A highly requested feature, now built-in.
compare_arrows

Version Comparison

Feature SensorDash 1.0 (Old) SensorDash 2.0 (New)
Database SQLite (Relational) InfluxDB (Time-Series)
Query Speed Slower on large datasets Real-time / Instant
UI Library Standard CSS/Bootstrap ShadCN UI (Tailwind)
Scalability Limited High

What's Next?

With this robust foundation in place, I plan to introduce customizable alerts and multi-sensor overlay graphs in the next update.

No comments:

Post a Comment