Smart Home Control
"Cuttlefish, set the living room light to warm white, 40% brightness." — One sentence, and the light turns on.
Scenario Description
You have Philips Hue or other smart lighting devices. Through Hermes Agent's openhue skill, you can control lights and switch scenes directly from chat.
Prerequisites
- ✅ Philips Hue Bridge installed and connected to your LAN
- ✅
openhueskill installed - ✅ Hermes Gateway running (Feishu/Telegram recommended)
Step 1: Install the Skill
You: Install the openhue skill
Hermes: openhue installed. You need to configure the Hue Bridge IP and username.If you don't have a Philips Hue Bridge, you can also achieve smart home control through other methods:
| Solution | Supported Devices | Skill |
|---|---|---|
| Philips Hue | Hue lights | openhue |
| Home Assistant | All categories | homeassistant |
| HomeKit | Apple ecosystem | Apple skill group |
| MQTT | Custom devices | Custom skill |
Step 2: Configure Hue Bridge
bash
# In ~/.hermes/.env
HUE_BRIDGE_IP=192.168.1.xxx
HUE_USERNAME=your-hue-usernameTo get the Hue Username: press the button on the Bridge, then have Hermes execute pairing.
Step 3: Test Control
You: List all lights
Hermes: [Querying Hue Bridge...]
Found 6 lights:
1. Living Room Main Light (on, brightness 80%)
2. Living Room Ambient Light (off)
3. Bedroom Light (on, brightness 50%)
4. Study Desk Lamp (off)
...You: Set the living room main light to warm white, 40% brightness
Hermes: [Executing command...] Living room main light set to warm white, 40% brightness.Step 4: Create Scenes
You: Create a "Movie Mode" scene:
- Living room main light off
- Living room ambient light set to deep blue, 20% brightness
- All other lights offThen simply say:
You: Switch to movie mode
Hermes: Switched to movie mode 🎬Step 5: Add Scheduled Tasks
You: Create the following scheduled tasks:
1. Every morning at 7:00 — Gradually turn on lights, simulating sunrise
2. Every night at 11:00 — Dim all lights to minimum, signal bedtimeExample Scheduled Scene Configuration
Hermes: Created 2 scheduled tasks —
☀️ Sunrise Mode (Daily 07:00)
07:00 → Bedroom light 5% warm white
07:05 → Bedroom light 15% warm white
07:10 → Bedroom light 30% natural white + Living room light 10%
07:15 → All lights at normal brightness
🌙 Sleep Mode (Daily 23:00)
23:00 → All lights switch to warm tone
23:10 → Brightness down to 50%
23:20 → Brightness down to 20%
23:30 → Only night light remains, all others off💡 You can combine a weather API to let Cuttlefish adjust automatically: brighten lights on overcast days, keep normal brightness on sunny days.
Advanced Tips
- Geofencing: Combined with Home Assistant, lights turn on automatically when you arrive home
- Weather integration: Automatically brighten lights on overcast days
- Voice control: Control lights via Feishu voice messages
- Status check: Check your home light status even when you're away
Further Reading
- openhue skill source — Built-in smart home skill
- Home Assistant integration