Device Management
Learn how to add, configure, and manage devices in your Homix system.
Supported Device Types
Homix supports a wide variety of smart home devices through different protocols:
💡 Lighting
- Smart bulbs (Philips Hue, LIFX)
- Smart switches
- Dimmers
- LED strips
🌡️ Climate Control
- Thermostats
- Temperature sensors
- Humidity sensors
- Smart vents
🔒 Security
- Smart locks
- Door/window sensors
- Motion detectors
- Security cameras
🏠 Home Control
- Smart plugs
- Window covers
- Garage doors
- Smart speakers
Device Discovery
Homix can automatically discover many devices on your network using several methods:
Automatic Discovery
- Open the Homix dashboard
- Navigate to the "Devices" section
- Click "Auto-discover devices"
- Wait for the scan to complete
- Review and add discovered devices
Discovery Methods
- mDNS/Bonjour: Discovers network-enabled devices
- UPnP: Finds multimedia and control devices
- Protocol scanning: Zigbee, Z-Wave, WiFi protocols
- Manufacturer APIs: Cloud-connected devices
Manual Device Addition
For devices that can't be auto-discovered, you can add them manually:
- Click "Add Device" in the devices section
- Select the device type or protocol
- Enter device-specific information (IP address, device ID, etc.)
- Configure authentication if required
- Test the connection and save
Device Configuration
Basic Settings
Each device can be configured with:
- Name: Friendly name for the device
- Room: Assign to a specific room or area
- Tags: Labels for grouping and automation
- Icon: Visual representation in the dashboard
Advanced Configuration
Protocol Settings
Configure protocol-specific parameters like polling intervals, authentication keys, and communication preferences.
State Mapping
Map device states to standard Homix formats for consistent automation and display across different device types.
Update Frequency
Set how often the device state is polled or how frequently it reports changes to optimize performance and battery life.
Device States and Commands
Understanding Device States
Device states represent the current condition of a device. Common states include:
on/off
, open/closed
, locked/unlocked
temperature
, brightness
, battery_level
mode
, status
, color
Sending Commands
Control devices by sending commands through the dashboard or automations:
Device Groups and Rooms
Organizing Devices
Group devices logically for easier management:
- Rooms: Organize by physical location (Living Room, Kitchen, Bedroom)
- Device Types: Group by function (All Lights, All Sensors, Security Devices)
- Custom Groups: Create custom groupings for specific automation needs
Group Actions
Perform actions on entire groups:
- Turn off all lights in a room
- Set all thermostats to away mode
- Check battery levels of all sensors
- Update firmware for all devices of a type
Device Health and Monitoring
Health Indicators
Monitor device health through various indicators:
Troubleshooting Device Issues
Common device problems and solutions:
Device Not Responding
- Check network connectivity
- Verify power supply
- Restart the device
- Check protocol-specific requirements
Slow Response Times
- Check network congestion
- Adjust polling frequency
- Move closer to hub/router
- Update device firmware
Inconsistent States
- Refresh device state manually
- Check for interference
- Verify state mapping configuration
- Reset device and reconfigure
Device Security
Authentication
Secure your devices with proper authentication:
- API Keys: Use manufacturer-provided API keys
- Certificates: Install device certificates for encrypted communication
- Local Authentication: Use local credentials when available
- Network Isolation: Consider VLANs for device isolation
Best Practices
- Change default passwords on all devices
- Keep device firmware updated
- Use separate network for IoT devices when possible
- Regularly audit device access and permissions
- Monitor device communications for unusual activity
Integration Examples
Popular Device Integrations
Philips Hue
# Manual: Add bridge IP and generate API key
# Supports: Lights, sensors, switches
Nest Thermostat
# Uses OAuth2 for authentication
# Supports: Temperature control, schedules, sensors
Zigbee Devices
# Uses Zigbee2MQTT bridge
# Supports: Wide variety of manufacturers
Related Documentation
- Automations - Using devices in automations
- Scenes - Creating device scenes
- Troubleshooting - Device troubleshooting