MQTT Eventstream
The mqtt_eventstream
integrationIntegrations connect and integrate KS Assistant with your devices, services, and more. [Learn more] connects two KS Assistant instances via MQTT.
Configuration
To integrate MQTT Eventstream into KS Assistant, add the following section to your configuration.yaml
The configuration.yaml file is the main configuration file for KS Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for KS Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart KS Assistant to apply the changes.
# Example configuration.yaml entry
mqtt_eventstream:
publish_topic: MyServerName
subscribe_topic: OtherHaServerName
Configuration Variables
List of events which will not be sent over MQTT.
Multiple instances
Events from multiple instances can be aggregated to a single parent instance by subscribing to a wildcard topic from the parent instance.
# Example parent instance configuration.yaml entry
mqtt_eventstream:
publish_topic: parent/topic
subscribe_topic: child/#
ignore_event:
- call_service
- state_changed
For a multiple instance setup, each child instance would publish to their own topic.
# Example child instance configuration.yaml entry
mqtt_eventstream:
publish_topic: child/upstairs
subscribe_topic: parent/topic
# Example child instance configuration.yaml entry
mqtt_eventstream:
publish_topic: child/downstairs
subscribe_topic: parent/topic