Implemented in Python with voice control integration and UDP networking capabilities for direct hardware control of smart lighting systems
💡 IntelliGlow - AI-Powered Smart Lighting
"Smart lighting, brilliantly simple"
IntelliGlow is a Model Context Protocol (MCP) server that allows AI assistants like Claude to control real smart bulbs via UDP network communication. This Python implementation features voice commands, AI reasoning, and direct hardware control.
🏗️ Architecture
The smart bulb system that actually thinks!
🌟 Features
🔴 Real Hardware Support
- UDP Network Communication: Direct communication with real smart bulbs
- Default Bulb Configuration: Connects to
192.168.1.45:4000
by default - Network Discovery: Automatically find smart bulbs on your network
- Connection Management: Persistent connections with auto-reconnect
🎤 Voice Intelligence
- Natural Voice Commands: "Turn on lights", "Set brightness to 75", "Make it blue"
- AI-Powered Parsing: Understands context and natural language
- Text-to-Speech Feedback: Speaks responses back to you
- Smart Color Recognition: Recognizes color names and descriptive terms
🧠 AI Integration
- MCP Protocol: Works with Claude, GPT, and other AI models
- Context Understanding: AI can reason about lighting needs
- Workflow Integration: Bulbs become part of larger AI workflows
- Learning Capability: Can adapt to user patterns and preferences
🔧 Smart Bulb Control
- Power Control: Turn bulbs on/off via UDP commands
- Brightness Control: Adjust brightness levels (0-100%)
- Color Control: Full RGB control with hex color codes (#FF0000)
- Status Monitoring: Get real-time bulb status
- Ping/Connectivity: Test network connectivity to bulbs
🌐 Network Features
- Multi-bulb Support: Connect to multiple bulbs simultaneously
- Discovery: Scan network for available smart bulbs
- Environment Configuration: Set bulb IP/port via environment variables
🚀 Quick Start
Installation
- Install IntelliGlow:
- Configure your bulb (optional):
Running IntelliGlow
Testing Network Connectivity
🔧 AI Integration (Claude Desktop)
Add this to your Claude Desktop claude_desktop_config.json
:
🛠️ Available Commands
🎤 Voice Commands
- "Turn on the lights" - Power control
- "Set brightness to 75 percent" - Brightness with smart parsing
- "Make it blue" - Color recognition
- "How are the lights?" - Status inquiry
- "Find smart bulbs" - Network discovery
🤖 MCP Tools (for AI)
discover_bulbs()
- Find smart bulbs on the networkconnect_to_bulb(ip, port)
- Connect to a specific bulbturn_on_bulb(ip, port)
- Turn on a bulb via UDPturn_off_bulb(ip, port)
- Turn off a bulb via UDPset_bulb_brightness(brightness, ip, port)
- Set brightness (0-100)set_bulb_color(color, ip, port)
- Set color using hex codesget_bulb_status(ip, port)
- Get current bulb statusping_bulb(ip, port)
- Test connectivity to a bulb
📡 Network Configuration
Default Bulb Setup
IntelliGlow connects to 192.168.1.45:4000
by default. You can override this:
Bulb Configuration File
Create bulb_config.json
:
🔍 IntelliGlow vs Traditional Solutions
Feature | Alexa/Google | IntelliGlow |
---|---|---|
Voice Control | ✅ Basic commands | ✅ Natural language + AI reasoning |
AI Integration | ❌ Limited ecosystem | ✅ Works with any AI model (Claude, GPT, etc.) |
Hardware Control | ❌ Cloud-dependent | ✅ Direct UDP networking |
Customization | ❌ Vendor limitations | ✅ Full control over protocol |
Context Understanding | ❌ Simple keywords | ✅ AI understands context and workflows |
Privacy | ❌ Cloud processing | ✅ Local processing |
Developer Freedom | ❌ Closed ecosystem | ✅ Open protocol, extensible |
Result: IntelliGlow = Convenience of Alexa + Intelligence of AI + Freedom of Open Source! 🎉
🧪 Testing
This will:
- 🔌 Test direct connection to 192.168.1.45:4000
- 🔍 Scan network for other bulbs
- 🤖 Simulate AI/MCP commands
- 🎤 Test voice command processing
🐛 Troubleshooting
No Bulb Found
- Ensure your smart bulb is on the same network
- Check that the bulb is listening on port 4000
- Try network discovery:
python -c "import asyncio; from mcp_server_smartbulb.bulb_discovery import BulbDiscovery; asyncio.run(BulbDiscovery().discover_bulbs())"
Voice Not Working
- Install voice dependencies:
pip install -e .[voice]
- Check microphone permissions
- Test with:
python -m mcp_server_smartbulb.voice_interface
Connection Timeout
- Check firewall settings
- Verify bulb IP address
- Increase timeout in
bulb_config.json
📁 Project Structure
Clean, focused, and intelligent! 🧠💡
🎯 What Makes IntelliGlow Special
IntelliGlow isn't just another smart bulb controller - it's the bridge between AI intelligence and physical hardware.
🔥 Key Innovations:
- AI-Native Design: Built for AI reasoning, not just voice commands
- Open Protocol: Works with any AI model, not locked to one vendor
- Local Processing: Privacy-focused, no cloud dependency required
- Hybrid Interface: Voice + AI chat + MCP protocol
- Developer Freedom: Full customization and extensibility
🌟 Real-World Magic:
This is the future of smart homes - lighting that truly understands and adapts to your needs! 🚀
Made with ❤️ for the next generation of intelligent home automation
This server cannot be installed
A Model Context Protocol (MCP) server that allows AI assistants like Claude to control real smart bulbs via UDP network communication, featuring voice commands, AI reasoning, and direct hardware control.
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that enables AI assistants like Claude to interact with your AWS environment. This allows for natural language querying and management of your AWS resources during conversations. Think of better Amazon Q alternative.Last updated -3264TypeScript
- -securityAlicense-qualityA Model Context Protocol server that enables AI assistants like Claude to interact directly with Home Assistant, allowing them to query device states, control smart home entities, and perform automation tasks.Last updated -15PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that enables AI assistants to control and interact with Android devices, allowing for device management, app debugging, system analysis, and UI automation through natural language commands.Last updated -29143PythonApache 2.0
- -securityFlicense-qualityA Model Context Protocol interface that enables AI assistants like Claude to control Philips Hue smart lighting systems through natural language commands.Last updated -Python