From 397f64ba0af67115d6829f26b7bac11e560b7490 Mon Sep 17 00:00:00 2001 From: emontnemery Date: Sat, 22 Dec 2018 09:08:48 +0100 Subject: [PATCH] Updated Home Assistant (markdown) --- Home-Assistant.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Home-Assistant.md b/Home-Assistant.md index 68bb0820..edc38a70 100644 --- a/Home-Assistant.md +++ b/Home-Assistant.md @@ -61,7 +61,11 @@ On each Tasmota device which should be automatically discovered by Hass, enter t `SetOption19 1` - Enables MQTT discovery\ `SetOption55 1` - Enables [abbreviations and base topic](https://www.home-assistant.io/docs/mqtt/discovery/) to shorten the MQTT discovery messages. **Important**: Without `SetOption55 1`, full integration with Hass such as Setup of devices through Hass Web UI (change name and `entity_id`) is not enabled. -By executing command `SetOption19 1` the feature is enabled and a retained MQTT message starting with topic "homeassistant/..", as defined in user_config.h HOME_ASSISTANT_DISCOVERY_PREFIX, is sent containing parameters used by Home Assistant to automatically configure a device. +By executing command `SetOption19 1` the automatic discovery feature is enabled and a retained MQTT message starting with topic "homeassistant/..", as defined in user_config.h HOME_ASSISTANT_DISCOVERY_PREFIX, is sent containing parameters used by Home Assistant to automatically configure a device. + +To disable the automatic discovery feature feature and remove the retained message, execute command `SetOption19 0` and the homeassistant topic is removed from the MQTT server.\ +Note: This will also remove the device from Home Assistant. + #### Important: To keep MQTT discovery messages short, "base topic" feature is used.\ @@ -70,11 +74,6 @@ The topic will automatically be changed to `topic/prefix/COMMAND`, e.g. `sonoff/ If you want to use a custom `fulltopic`, it MUST end with `%prefix%/` or it will be overwritten with `topic/prefix/COMMAND`.\ This is an example of an allowed `fulltopic`: `tasmota/%topic%/%prefix%/`. - -To disable this feature and get rid of the retained message execute command SetOption19 0 and the homeassistant topic is removed from the MQTT server. - -Note: This will also remove the device from Home Assistant. - ## Setup Tasmota devices through Home Assistant All automatically discovered entities will show up under:\ Configuration -> Integrations -> Configured -> MQTT\