All projects
Mobile Apps31% energy cost reduction

Ambien — Smart Home Automation & Energy AI

Your home, learning to live around you

FlutterIoTOn-device MLMQTTPython

Project Overview

A smart home hardware brand sold great devices but had a fragmented app experience — customers needed separate apps for lights, thermostat, and security. Ambien unified everything under one roof, added cross-device automation, and layered in an on-device ML model that learns each household's patterns without sending behavioural data to the cloud — a key differentiator in a privacy-conscious market.

The Challenges

  • 1

    40+ device brands use different protocols (Zigbee, Z-Wave, Matter, Wi-Fi REST) — a universal integration layer was non-trivial.

  • 2

    Privacy was a core promise: learning occupancy patterns while keeping all behavioural data on-device required efficient on-device ML, not cloud inference.

  • 3

    Automations that are wrong (lights off while you're still in the room) are worse than no automations — confidence thresholds had to be conservative.

  • 4

    Multi-user households have conflicting preferences — the model needed to learn per-person patterns via presence detection, not household averages.

Our Approach

The integration layer runs a local home hub (Raspberry Pi or a NAS) that speaks all four protocols and exposes a unified MQTT broker. The Flutter app communicates with the hub over the local network (with end-to-end encrypted cloud relay as fallback). On-device ML is implemented using TensorFlow Lite: a lightweight LSTM model trained locally on the device using federated-learning-style local fine-tuning — no raw behavioural data ever leaves the home. Person identification uses Bluetooth Low Energy proximity from paired phones, so the system knows which household member is in which room. Automations are only triggered above an 85% confidence threshold; below that, the app suggests rather than acts.

Key Features & Metrics

40+ brand integrations via Zigbee, Z-Wave, Matter, and Wi-Fi REST protocols

On-device LSTM occupancy learning — zero behavioural data in the cloud

Per-person preference profiles via BLE proximity detection

Energy dashboard with appliance-level usage breakdown and cost projection

Confidence-gated automation: 85% threshold before acting autonomously, suggestion mode below

Voice control via Siri Shortcuts and Google Assistant without third-party cloud dependency

Results & Business Outcome

Households using the full automation suite saw an average 31% reduction in energy costs within 60 days. App store ratings averaged 4.8★ across iOS and Android. The hardware brand reported a 44% reduction in support tickets related to fragmented app UX — the unified interface alone drove significant NPS improvement.

A smart home should feel invisible — it should just be right, before you even realise you wanted it. That only happens when the AI learns you, not a generic household archetype.
Ready to Build?

Let's Build Something Intelligent Together

Tell us about your project. We'll respond within 24 hours with a custom plan and transparent pricing.