Smart Home Integration¶
Genius Gateway offers two levels of smart home integration via MQTT, allowing you to choose between simple alarm notifications and full Home Assistant device integration with comprehensive automation capabilities.
| Approach | Description | Best for |
|---|---|---|
| Simple Alarm Publishing | Basic fire alarm notifications forwarded to your smart home system without individual device tracking. | Quick setup, simple alarm notifications for all smart home systems with MQTT interface |
| Home Assistant Integration | Full device integration with automatic discovery, individual detector tracking, and rich automation possibilities. | Home Assistant users, detailed monitoring, advanced automation scenarios |
| Feature | Simple Alarm Publishing | Home Assistant Integration |
|---|---|---|
| Setup Complexity | Minimal - one topic | Moderate - add detectors |
| Detector Configuration | Not required | Required |
| Device Tracking | Individual Entities | |
| Location Information | Customizable | |
| Automation Capabilities | Basic - single trigger | Advanced - per detector |
| Platform Support | Any MQTT platform | Home Assistant optimized |
| Unknown Detectors | Supported | Supported |
| Historical Data (besides Genius Gateway) | Limited | Full Home Assistant history |
Simple Alarm Publishing¶
Overview¶
Simple alarm publishing provides a straightforward way to integrate fire alarm detection into your smart home system. When any smoke detector in range triggers an alarm, Genius Gateway publishes a message to a central MQTT topic.
Key Characteristics:
- Single topic for all alarm events
- No device configuration required in Genius Gateway
- Detects unknown detectors within radio range (if enabled)
- System agnostic - compatible with any MQTT-capable smart home platform
How It Works¶
- Detection: Genius Gateway continuously monitors 868 MHz radio traffic for Genius Plus X alarm signals
- Processing: When an alarm packet is detected, the gateway processes the alarm state
- Publishing: Alarm information is published to the configured MQTT topic
- Counter: The message includes how many detectors are currently in alarm state
See the MQTT API - Global Alarm State Topic for detailed payload format and examples.
Configuration Requirements¶
To enable simple alarm publishing:
- Configure MQTT broker connection - Set up connection to your MQTT broker
- Enable Simple Alarm Publishing - Configure the alarm topic and enable publishing
- (Optional) Enable unknown detector processing - Allow detection of detectors not explicitly configured
Works with Known and Unknown Detectors
Simple Alarm Publishing works with or without smoke detectors configured in Genius Gateway. However, if no smoke detectors are configured, processing alarms from unknown smoke detectors must be enabled for Genius Gateway to detect and forward fire alarms.
Home Assistant Integration¶
Home Assistant's MQTT Discovery¶
The Home Assistant integration leverages MQTT Discovery to automatically register each smoke detector as an individual device in Home Assistant. This provides rich functionality including:
- Automatic device discovery - No manual configuration in Home Assistant
- Individual detector tracking - Monitor each detector's state separately
- Rich device information - Model, manufacturer, serial numbers, location
- Automation capabilities - Create detector-specific automations
- Historical data - Track alarm history per detector
- Dashboard integration - Visual representation of detector network
Home Assistant's MQTT Discovery allows devices to automatically register themselves by publishing configuration messages to specific topics. When Genius Gateway publishes a discovery message:
- Home Assistant detects the configuration message,
- automatically creates a binary sensor entity for the smoke detector,
- updates state in real-time when detector status changes and
- syncs configuration when location or settings change in Genius Gateway
Benefits for Home Assistant Users¶
Automatic Setup:
- Zero manual configuration in Home Assistant required
- Devices appear instantly in Home Assistant
- Updates propagate automatically
Rich Entity Information:
- Device class (Smoke detector)
- Manufacturer: (Hekatron)
- Model (Genius Plus X)
- Serial number
- Configurable location names
Advanced Automations:
- Detector-specific triggers
- Location-based actions
- Group multiple detectors
Visual Integration¶
Overview Dashboard:
Multiple Genius Plus X smoke detectors automatically discovered and displayed with their configured locations
Detector Detail View:
Detailed view of a single detector showing real-time alarm state, manufacturer information, model, and serial number
Device Information:
Complete device information with manufacturer details, model identification, and assigned area for automation purposes
Configuration Requirements¶
To enable Home Assistant MQTT Discovery integration in Genius Gateway:
- Add smoke detectors to Genius Gateway - Register detectors with serial numbers and locations
- Configure MQTT broker connection - Set up connection (must be same broker as Home Assistant)
- Enable Device Publishing - Enable Home Assistant MQTT Discovery and adjust the topic prefix if your Home Assistant uses a non-default discovery prefix
Ensure MQTT Discovery is enabled in your Home Assistant configuration:
# configuration.yaml
mqtt:
broker: YOUR_BROKER_IP
discovery: true # This is usually enabled by default
discovery_prefix: homeassistant # Must match Genius Gateway prefix
Configuration Synchronization¶
Changes made in Genius Gateway automatically synchronize to Home Assistant:
- Location Updates: When you edit a detector's location in Genius Gateway, the change is published via MQTT Discovery and updates the device name in Home Assistant.
- Detector Addition: New detectors added to Genius Gateway automatically appear in Home Assistant within seconds.
Related Documentation¶
- Configure Gateway - Step-by-step setup guide for both integration types
- Connections - MQTT - Detailed MQTT configuration including broker setup and authentication
- Gateway Settings - Enable unknown detector processing and automatic alarm line discovery
- MQTT API - Complete MQTT topic structure and payload documentation
- Device Management - Adding and managing smoke detectors in Genius Gateway