A smart home management service. Users connect their Tuya devices and DIY Arduino devices, organize them by houses and rooms, and build their own control panel from widgets. Data is updated every 5 minutes instead of once an hour as in the Tuya app.
Within the project we delivered:
Tuya Cloud integration: account linking, loading device specifications, scheduled collection of readings every 5 minutes and control of switches and sockets
An API for DIY Arduino devices: devices send readings to the system and receive settings and commands from it
Houses, rooms and devices: house address with geocoding (OpenStreetMap Nominatim), devices by room, online/offline status
A customizable widget dashboard: multi-series charts for an hour, 6 hours, a day, 3, 7 and 30 days (Chart.js), current value with a sparkline, switches, control blocks
A house tile: an isometric house rotated to the cardinal directions, current weather, wind direction, outdoor temperature sensor; a 3-day weather forecast
Live updates without page reload: a PostgreSQL trigger (LISTEN/NOTIFY) and a custom PHP WebSocket server, access via signed HMAC tokens
Automation scenarios: conditions on sensor readings control devices of both platforms — Tuya and Arduino work together
A Telegram bot for notifications
Light and dark themes, a full-screen dashboard mode for wall panels