Scenes

Create and manage scenes to control multiple devices with a single action.

What are Scenes?

Scenes are predefined configurations that set multiple devices to specific states simultaneously. Think of them as snapshots of your home's state that you can instantly activate.

Scene Benefits

  • One-Touch Control: Set multiple devices with a single action
  • Consistent Experience: Reproduce the same ambiance reliably
  • Automation Integration: Use scenes in automations and schedules
  • Quick Setup: Instantly configure rooms for different activities

Types of Scenes

Homix supports different types of scenes for various use cases:

🏠 Room Scenes

Control all devices in a specific room

Examples: "Living Room Movie", "Bedroom Sleep", "Kitchen Cooking"

🌍 Global Scenes

Control devices throughout the entire home

Examples: "Good Morning", "Away Mode", "Good Night", "Party Time"

🎭 Activity Scenes

Optimized for specific activities

Examples: "Reading", "Cooking", "Working", "Relaxing"

🚨 Security Scenes

Activate security and safety measures

Examples: "Vacation Mode", "Night Security", "Emergency"

Creating Your First Scene

Follow these steps to create a new scene:

  1. Navigate to the "Scenes" section in the Homix dashboard
  2. Click "Create New Scene"
  3. Give your scene a descriptive name (e.g., "Living Room Movie Night")
  4. Add devices by clicking "Add Device"
  5. Configure the desired state for each device
  6. Test the scene to ensure it works as expected
  7. Save and activate when needed

Pro Tip

Set up your devices manually to the desired states first, then use the "Capture Current State" feature to quickly create a scene from the current setup.

Scene Configuration

Device States

Each device in a scene can be configured with specific states:

Lighting

  • On/Off state
  • Brightness level (0-100%)
  • Color temperature (warm/cool)
  • RGB color values
  • Transition duration

Climate Control

  • Target temperature
  • Heating/cooling mode
  • Fan speed
  • Humidity settings

Media & Entertainment

  • Volume levels
  • Input sources
  • Power states
  • Playlist or content selection

Window Treatments

  • Position (open/closed percentage)
  • Tilt angle for blinds
  • Operation speed

Advanced Scene Options

Customize scene behavior with advanced options:

Execution Order: Control the sequence in which devices are activated
Delays: Add delays between device activations for smooth transitions
Conditions: Only activate devices if certain conditions are met
Fallback Actions: Alternative actions if primary devices are unavailable
Restoration: Option to restore previous states when scene is deactivated

Scene Examples

Good Morning Scene

Start your day with a comprehensive morning routine:

Bedroom: Gradually increase lights to 80%, open blinds to 75%
Kitchen: Turn on under-cabinet lights, start coffee maker
Bathroom: Turn on mirror lights, set heated floor to 75°F
Living Room: Turn on ambient lighting, display weather on smart display
Climate: Set temperature to 72°F throughout the house

Movie Night Scene

Create the perfect ambiance for movie watching:

Living Room Lights: Dim to 20%, warm color temperature
TV: Turn on, switch to media player input
Sound System: Turn on, set volume to 40%
Accent Lighting: Enable bias lighting behind TV
Window Treatments: Close blinds completely

Away Mode Scene

Secure and optimize your home when leaving:

Lights: Turn off all lights except security lighting
Climate: Set to away mode (energy saving)
Security: Arm security system, enable cameras
Appliances: Turn off non-essential devices
Doors: Ensure all doors are locked

Bedtime Scene

Wind down for the night with a relaxing routine:

All Lights: Turn off except bedroom and hallway path lighting
Bedroom: Dim lights to 10%, warm color
Climate: Lower temperature to 68°F
Security: Enable night mode, arm motion sensors
Entertainment: Turn off TVs and music systems

Scene Activation

Manual Activation

Activate scenes manually through various methods:

  • Dashboard: Click the scene button in the web interface
  • Mobile App: Tap scene buttons on your mobile device
  • Voice Commands: "Hey Google, activate Movie Night scene"
  • Physical Buttons: Assign scenes to smart switches or remotes
  • Shortcuts: Use device-specific shortcuts and widgets

Automated Activation

Integrate scenes into automations for smart activation:

Time-Based

Activate scenes at specific times or based on sunrise/sunset

Presence-Based

Activate when people arrive, leave, or move between rooms

Event-Based

Activate based on device states, weather conditions, or calendar events

Scene Management

Organization

Keep your scenes organized for easy management:

  • Categories: Group scenes by room, activity, or time of day
  • Favorites: Mark frequently used scenes as favorites
  • Tags: Use tags for flexible organization and filtering
  • Folders: Create hierarchical folder structures
  • Search: Use search functionality to quickly find scenes

Scene Scheduling

Schedule scenes to activate automatically:

# Example scene schedules
Good Morning: Monday-Friday at 6:30 AM
Away Mode: Monday-Friday at 8:00 AM
Welcome Home: Monday-Friday at 6:00 PM
Bedtime: Daily at 10:30 PM
Weekend Sleep-in: Saturday-Sunday at 8:30 AM

Scene Testing and Validation

Testing Strategies

Test your scenes thoroughly before relying on them:

  1. Device Check: Verify all devices are online and responsive
  2. State Validation: Confirm each device reaches the expected state
  3. Timing Tests: Check execution timing and delays
  4. Condition Testing: Test scenes under different conditions
  5. Fallback Testing: Test behavior when devices are unavailable

Scene Monitoring

Monitor scene performance and reliability:

Execution Logs: Review scene activation history
Error Tracking: Monitor failed device activations
Performance Metrics: Track execution times
Usage Statistics: See which scenes are used most

Troubleshooting Scenes

Common Issues

Scene Not Activating

  • Check if scene is enabled
  • Verify device connectivity
  • Review condition requirements
  • Check NATS connectivity

Partial Scene Execution

  • Identify which devices failed
  • Check device-specific error logs
  • Verify device states and capabilities
  • Test individual device commands

Slow Scene Execution

  • Check network performance
  • Reduce unnecessary delays
  • Optimize device communication protocols
  • Consider device grouping strategies

Advanced Scene Features

Scene Variables

Use variables to make scenes more dynamic:

{{time.hour}} - Current hour for time-based adjustments
{{weather.condition}} - Weather-based scene modifications
{{occupancy.count}} - Number of people home
{{user.preferences}} - User-specific settings

Scene Inheritance

Create scene templates and inherit from them:

  • Base Scenes: Define common device configurations
  • Scene Extensions: Modify base scenes for specific situations
  • Room Templates: Create reusable room configurations
  • Seasonal Variations: Modify scenes based on seasons

Best Practices

Design Guidelines

  • Keep It Simple: Start with basic scenes and add complexity gradually
  • Use Descriptive Names: Make scene names clear and meaningful
  • Test Regularly: Verify scenes work as expected after device changes
  • Plan for Failures: Design fallback behaviors for unreliable devices
  • Consider Context: Design scenes that work in different situations

Performance Tips

  • Group devices by communication protocol for faster execution
  • Use appropriate delays to avoid overwhelming devices
  • Limit the number of devices in a single scene for reliability
  • Cache device states to reduce unnecessary commands
  • Use conditional execution to skip unnecessary actions

Related Documentation