{"id":30055548,"url":"https://github.com/fuzziecoder/smart-home","last_synced_at":"2026-04-13T03:36:44.246Z","repository":{"id":306347797,"uuid":"1025712053","full_name":"fuzziecoder/Smart-Home","owner":"fuzziecoder","description":"Smart Home Dashboard is a modern, interactive web application designed to simulate and manage smart home functionalities with a futuristic user interface. It allows users to control and monitor various smart home devices such as lights, temperature, humidity sensors, and energy usage from a single dashboard.","archived":false,"fork":false,"pushed_at":"2025-08-04T15:23:54.000Z","size":252,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T19:17:22.916Z","etag":null,"topics":["ai","artificial-intelligence","fuzziecoder","home-automation","html-css-javascript","javascript","npm","smart-home","ui","vercel-deployment"],"latest_commit_sha":null,"homepage":"https://smart-home-theta-two.vercel.app","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fuzziecoder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-24T17:16:54.000Z","updated_at":"2025-08-04T15:23:58.000Z","dependencies_parsed_at":"2025-07-25T06:33:13.584Z","dependency_job_id":null,"html_url":"https://github.com/fuzziecoder/Smart-Home","commit_stats":null,"previous_names":["fuzziecoder/smart-home"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fuzziecoder/Smart-Home","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzziecoder%2FSmart-Home","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzziecoder%2FSmart-Home/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzziecoder%2FSmart-Home/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzziecoder%2FSmart-Home/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fuzziecoder","download_url":"https://codeload.github.com/fuzziecoder/Smart-Home/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fuzziecoder%2FSmart-Home/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269331755,"owners_count":24399143,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","artificial-intelligence","fuzziecoder","home-automation","html-css-javascript","javascript","npm","smart-home","ui","vercel-deployment"],"created_at":"2025-08-07T22:00:39.455Z","updated_at":"2026-04-13T03:36:44.238Z","avatar_url":"https://github.com/fuzziecoder.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart-Home Dashboard\n\nA modern, responsive smart home dashboard with real-time device control, voice commands, and analytics.\n\n## ✨ Features\n\n- **Device Control**: Toggle lights, speakers, AC, fans, and locks \n- **Voice Commands**: Control devices with voice using Web Speech API\n- **Real-time Weather**: Live weather data integration\n- **Energy Analytics**: Dynamic energy consumption charts using Chart.js\n- **Room Temperature Control**: Multi-room temperature management\n- **AI Chatbot**: GPT-powered assistant with device control integration\n- **State Persistence**: Device states saved using localStorage\n- **Toast Notifications**: Modern notification system\n- **Responsive Design**: Works on desktop and mobile devices\n\n## 🚀 Quick Start\n\n1. **Clone the repository**\n   ```bash\n   git clone \u003crepository-url\u003e\n   cd smart-home\n   ```\n\n2. **Open the application**\n   - Simply open `index.html` in your browser\n   - Or use a local server: `python -m http.server 8000`\n\n3. **Access the dashboard**\n   - Main dashboard: `index.html`\n   - About page: `aboutus.html`\n\n## 🎮 How to Use\n\n### Voice Commands\n- **Double-click anywhere** or click the microphone button\n- Say commands like: \"turn on light\", \"turn off speaker\", \"turn on AC\"\n\n### Device Control\n- Toggle switches to control devices\n- States are automatically saved and restored\n- Real-time notifications for all actions\n\n### Room Temperature\n- Select different rooms from the dropdown\n- Temperatures update based on real weather data\n- Preferences are saved automatically\n\n### AI Chatbot\n- Click the chat button to open the AI assistant\n- Ask questions or give device commands\n- Try: \"Turn on the living room lights\"\n\n## 🔧 Configuration\n\n### API Keys\nThe project uses these APIs (optional for basic functionality):\n\n1. **OpenWeatherMap API** (for weather data)\n   - Get your key at: https://openweathermap.org/api\n   - Set as environment variable: `WEATHER_API_KEY`\n\n2. **OpenAI API** (for chatbot)\n   - Get your key at: https://platform.openai.com/\n   - Update in `script.js` (line with API_KEY)\n\n### Environment Variables\n```bash\nWEATHER_API_KEY=your_weather_api_key_here\n```\n\n## 🏗️ Backend Integration (Advanced)\n\nFor full smart home functionality, consider setting up a backend:\n\n### Option 1: Node.js + Express + MongoDB\n\n1. **Install dependencies**\n   ```bash\n   npm init -y\n   npm install express mongoose cors dotenv jsonwebtoken bcryptjs\n   ```\n\n2. **Create server structure**\n   ```\n   backend/\n   ├── server.js\n   ├── models/\n   │   ├── User.js\n   │   ├── Device.js\n   │   └── Log.js\n   ├── routes/\n   │   ├── auth.js\n   │   ├── devices.js\n   │   └── analytics.js\n   └── middleware/\n       └── auth.js\n   ```\n\n3. **Basic server setup**\n   ```javascript\n   // server.js\n   const express = require('express');\n   const mongoose = require('mongoose');\n   const cors = require('cors');\n   require('dotenv').config();\n\n   const app = express();\n   app.use(cors());\n   app.use(express.json());\n\n   mongoose.connect(process.env.MONGODB_URI);\n   \n   app.use('/api/auth', require('./routes/auth'));\n   app.use('/api/devices', require('./routes/devices'));\n   app.use('/api/analytics', require('./routes/analytics'));\n\n   const PORT = process.env.PORT || 5000;\n   app.listen(PORT, () =\u003e console.log(`Server running on port ${PORT}`));\n   ```\n\n### Option 2: Deploy to Cloud Platforms\n\n- **Vercel**: Perfect for static sites with serverless functions\n- **Render**: Easy deployment with automatic scaling\n- **Railway**: Simple container deployment\n- **Netlify**: Great for static sites with form handling\n\n## 📁 Project Structure\n\n```\nsmart-home/\n├── index.html          # Main dashboard\n├── aboutus.html        # About page\n├── script.js           # Main JavaScript functionality\n├── styles.css          # Main stylesheet\n├── aboutus.css         # About page styles\n├── profile/            # Profile images and favicon\n└── README.md           # This file\n```\n\n## 🔒 Security Considerations\n\n- **API Keys**: Never commit API keys to version control\n- **HTTPS**: Use HTTPS in production for secure communication\n- **Input Validation**: Validate all user inputs\n- **Rate Limiting**: Implement rate limiting for API endpoints\n- **Authentication**: Use JWT tokens for user authentication\n\n## 🐛 Troubleshooting\n\n### Common Issues\n\n1. **Voice commands not working**\n   - Ensure microphone permissions are granted\n   - Check browser compatibility (Chrome/Edge recommended)\n\n2. **Weather data not loading**\n   - Verify API key is correct\n   - Check network connectivity\n\n3. **Chart not displaying**\n   - Ensure Chart.js CDN is loading\n   - Check browser console for errors\n\n### Browser Support\n- Chrome/Edge: Full support\n- Firefox: Most features supported\n- Safari: Limited voice command support\n\n## 🤝 Contributing\n\n1. Fork the repository\n2. Create a feature branch\n3. Make your changes\n4. Test thoroughly\n5. Submit a pull request\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## 👨‍💻 Author\n\n**Ramkumar V** - Intern @COSMIC365 AI\n- GitHub: [fuzziecoder](https://github.com/fuzziecoder)\n- Instagram: [fuzziecoder](https://www.instagram.com/fuzziecoder/)\n\n---\n\n**Design by** 😄 fuzziecoder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuzziecoder%2Fsmart-home","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffuzziecoder%2Fsmart-home","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffuzziecoder%2Fsmart-home/lists"}