mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-31 07:16:47 +00:00
31 lines
769 B
Markdown
31 lines
769 B
Markdown
---
|
|
layout: page
|
|
title: "MQTT Eventstream"
|
|
description: "Instructions how to setup MQTT eventstream within Home Assistant."
|
|
date: 2016-01-13 08:00
|
|
sidebar: true
|
|
comments: false
|
|
sharing: true
|
|
footer: true
|
|
logo: mqtt.png
|
|
ha_category: Other
|
|
ha_release: 0.11
|
|
---
|
|
|
|
The `mqtt_eventstream` components connects two Home Assistant instances via MQTT.
|
|
|
|
To integrate MQTT Eventstream into Home Assistant, add the following section to your `configuration.yaml` file:
|
|
|
|
```yaml
|
|
# Example configuration.yaml entry
|
|
mqtt_eventstream:
|
|
publish_topic: MyServerName
|
|
subscribe_topic: OtherHaServerName
|
|
```
|
|
|
|
Configuration variables:
|
|
|
|
- **publish_topic** (*Required*): Topic for pushlishing local events
|
|
- **subscribe_topic** (*Required*): Topic to recieve events from the remote server.
|
|
|