Build a full-stack IoT Home Assistant mobile and web application.
Core Requirements:
- The app should allow users to control smart home devices such as lights, fans, AC, smart plugs, and sensors (temperature, motion, humidity).
- Include real-time device status updates using MQTT or WebSockets.
- Provide manual control (on/off, sliders for brightness/speed).
- Support automation rules (e.g., "turn on lights at 7 PM", "turn off AC when temperature < 24°C").
- Include voice command integration (optional, mock API is fine).
Tech Stack:
- Frontend: React Native (mobile) + React.js (web dashboard)
- Backend: Node.js with Express
- Database: MongoDB
- IoT Communication: MQTT (use Mosquitto or a mock broker)
Features:
1. User authentication (JWT-based login/signup)
2. Device management (add/remove/edit devices)
3. Room-based grouping (Living Room, Bedroom, etc.)
4. Real-time dashboard with device states
5. Automation rule engine (if-this-then-that logic)
6. Notifications (push or in-app alerts)
7. Energy usage tracking (simulated data is fine)
UI/UX:
- Clean, modern smart home dashboard
- Toggle switches, sliders, and status indicators
- Dark mode support
Bonus:
- Add AI-based suggestions (e.g., recommend turning off unused devices)
- Add scheduling calendar view
- Role-based access (admin vs guest users)
Output:
- Folder structure
- Complete backend API with routes
- Frontend components
- Sample MQTT topics and payloads
- Setup instructions
No comments yet. Be the first!