All case studies

Case studyUnder NDA Energy monitoring platform for smart buildings

A B2B smart building startup monitors energy use through sensors in buildings. Its first version could not take more than 500 sensors. We rebuilt the backend and dashboard, and the platform now runs more than 12,000.

Client
Smart building startup, Western Europe
Industry
IoT, Smart buildings
Platform
Web, cloud
Scope
Full development, web and cloud
Energy dashboard with a floor plan and live power readings per room
12,000+sensors connected, up from 500
5 sto raise an alert, down from 15 minutes
10months of development, now in support
4people: 2 full-stack engineers, DevOps, QA
The challenge

An MVP that stopped at 500 sensors

The platform started as a monolithic MVP. Once more than 500 sensors were connected, it went down, and the data was collected locally.

The client needed a backend that could keep up with a growing number of devices, and a dashboard that showed readings as they arrived.

The solution

What we built

01

Telemetry backend

A microservice backend that receives sensor data over MQTT through AWS IoT Core and parses the binary packets. Readings go to PostgreSQL with TimescaleDB.

02

Live dashboard

A React web dashboard with live charts of the readings.

03

Over-the-air updates

Gateways get software updates over the air (OTA).

04

Calm reconnects

When many sensors reconnected at once, the database went down. We put a message queue with throttling and batch writes in front of it.

Energy use across all sites with a live chart
Live dashboard
Gateway firmware rollout in waves with per-gateway status
OTA updates
The stack

Technology stack

Backend
  • Python
  • FastAPI
Frontend
  • React
Data
  • PostgreSQL
  • TimescaleDB
  • Redis
IoT and cloud
  • AWS IoT Core
  • MQTT
Results

What the client got

  • The platform stays stable under load
  • It grew from 500 to more than 12,000 connected sensors
  • Alerts arrive in 5 seconds instead of 15 minutes
  • The platform is now in support with our team

Building an IoT platform?

Tell us about it. We'll suggest an approach and estimate the cost.