Founder experienceClient anonymisedIoT & smart home
Smart-home IoT platform: cloud migration and subscription model
Role: Team Lead & Delivery Lead
Led backend engineering and delivery as a smart-home automation company moved a platform supporting a 6M+ device network to Azure and introduced recurring subscriptions.
Launched self-service customer and admin portals, subscription billing, energy dashboards and voice-assistant integrations.
The challenge
A 4-week discovery and code audit of the inherited codebase found mixed frameworks, no tracing, a non-standard data access layer, and no subscription or role-based access model.
Key decisions
- Moved from polling to an event-driven design on managed IoT services, so live telemetry and energy dashboards became possible.
- Separated storage by workload: transactional user data, a cache for device state, and a time-series store for energy telemetry.
- When an early dashboard sync failure led the client to question delivery, aligned the backend and data teams under one accountability model instead of trading blame.
Evidence
- Sanity-testing report on the inherited codebase (~159k lines): 34 high-severity security issues, 285 reliability issues, ~4.2k maintainability issues, 0% test coverage, 12.2% duplication.
- 71 security hotspots fixed.
- Tested against the OWASP Top 10 categories.
- Load-tested with 1M devices in batch.
The architecture
- Azure IoT Hub
- Node.js
- NestJS
- PostgreSQL
- Redis
- Azure Data Explorer
- Stripe
- Auth0
Next case study
Multi-tenant audience platform: replacing a failing serverless deployment
Read itFacing a similar decision?
Tell us what you're trying to build or improve and we'll suggest a sensible next step.
Discuss Your Project