Tuya Device Management Dashboard for Distributor
Central control panel for 200+ smart home devices for a distributor — Flask, Tuya Cloud API, 90-day event history, bulk scene control, CSV export.
Challenge
A smart home distributor managed a showroom with 200+ demo devices across different categories — sockets, bulbs, sensors, cameras. The official Tuya Smart app offered no aggregate view, no event log and no bulk scene management. Every client visit required manually toggling devices across 4 separate apps.
Solution
We built a Flask web panel that polls Tuya Cloud API every 60 seconds and caches device states to SQLite. Bootstrap dashboard with filtering by device type, room and status. Bulk scene control with one click — ideal for client demos.
90-day event history (on/off, setting changes) with CSV export to Excel. Docker Compose on a mini PC in the showroom — no dependency on a salesperson’s laptop.
Results
- 200+ devices in a single view — previously spread across 4 apps
- Showroom preparation before client visit: from 15 minutes to 30 seconds
- 90-day history lets staff spot faulty devices before client complaints