AIoT Platform · NestJS + React Native + MQTT

Yoohome - Smart Home & AIoT Platform

Smart-home control plus an AI assistant trained on the data the household generates.

Stack

NestJSReact NativeJava SpringMQTTMicroservicesZigbee2MQTTKafkaOpenAIRedisBullMongoDB

Context

An AIoT platform that lets residents control their smart-home devices and gives building operators a centralized management view. The app also doubles as a daily-life virtual assistant - it learns from control and management data over time, so the more it is used, the better it gets at predicting what the household actually wants.

Role

Fullstack Developer · Tech Lead

Highlighted Use Cases

  1. Role and permission management for building operators
  2. Integration with third-party hardware ecosystems - Zigbee directly, vendor cloud APIs where the hardware insists
  3. Centralized device management for both operations staff and end-user smart-home devices
  4. Telemetry and control-data ingestion that feeds an in-app virtual assistant

Challenges

  1. Realtime, low-latency requirements - the user expects a light switch to feel like a light switch
  2. Bursty message load in peak household-activity windows (think 7am and 6pm)
  3. A long tail of third-party hardware, each speaking a slightly different dialect
  4. Safety-critical surface area - fire alarms, door locks, gas leak detectors. No room for "eventually consistent" here.

Capacity Profile

MetricBaselinePeakCapacity Plan
Device connections500K500K1.5M (3× headroom)
MQTT msg/s42K112K300K (2.7× peak)
Bandwidth8.4 MB/s100 MB/s (with camera)2 Gbps
Storage growth1.9 TB/day~same20 TB total (with tiering)
API req/s1005002000 (4× peak)
WebSocket concurrent18K30K100K
Kafka throughput42K msg/s112K msg/s500K msg/s (4×)
DB writes/s (post-filter)4K12K50K

Deployments & Ecosystem

  1. Live deployments include 90 Lang Street and Royal Da Nang
  2. 500,000+ devices operating 24/7
  3. 10,000+ end users
  4. Vendor integrations - Tuya, Legrand, Schneider Electric, Panasonic, Rang Dong

Product Links

500K+ devices and 10K+ users in production across multiple smart-building deployments.