Updated Home Assistant (markdown)

emontnemery 2018-12-23 16:10:29 +01:00
parent ab8fee1d1e
commit f15f6f8241
1 changed files with 3 additions and 10 deletions

@ -1,8 +1,8 @@
[Home Assistant](https://home-assistant.io/) (Hass) is an open-source home automation platform running on Python 3. [Home Assistant](https://home-assistant.io/) (Hass) is an open-source home automation platform running on Python 3.
**Important:** The information on this page is related to: **Important:** The information on this page is related to:
- Sonoff-Tasmota development version 6.3.0.**17** (2018-12-13) or later - Sonoff-Tasmota development version 6.4.0.**3** (2018-12-22) or later
- **Version 6.3.0 will NOT work** - **Version 6.4.0 will NOT work**
- Home Assistant 0.84.2 or later - Home Assistant 0.84.2 or later
## Hass configuration - General ## Hass configuration - General
@ -59,7 +59,6 @@ For other type of devices, e.g iFan02, example entries for configuration.yaml is
On each Tasmota device which should be automatically discovered by Hass, enter the following commands in the web console:\ On each Tasmota device which should be automatically discovered by Hass, enter the following commands in the web console:\
`SetOption19 1` - Enables MQTT discovery\ `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 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. 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.
@ -88,13 +87,11 @@ By clicking on one of the entities, and then on the cog wheel, name in Hass and
Note1: Lights currently show up under "Entities without devices", this will be fixed in Hass 0.85 [#19013](https://github.com/home-assistant/home-assistant/pull/19013)\ Note1: Lights currently show up under "Entities without devices", this will be fixed in Hass 0.85 [#19013](https://github.com/home-assistant/home-assistant/pull/19013)\
Note2: After changing `entity_id` Hass must be restarted, this will be fixed in Hass 0.85 [#19414](https://github.com/home-assistant/home-assistant/pull/19414) Note2: After changing `entity_id` Hass must be restarted, this will be fixed in Hass 0.85 [#19414](https://github.com/home-assistant/home-assistant/pull/19414)
Note3: This will only work when setting `SetOption55 1`
## Tips ## Tips
### Tip: Make all Tasmota devices be automatically discovered ### Tip: Make all Tasmota devices be automatically discovered
If you want all your devices to be found by Home Assistant, add an automation which will enable `SetOption19` and `SetOption55` for all devices.\ If you want all your devices to be found by Home Assistant, add an automation which will enable `SetOption19` for all devices.\
The automation below will be triggered each time Hass is (re)started and can also be triggered manually through the UI The automation below will be triggered each time Hass is (re)started and can also be triggered manually through the UI
```yaml ```yaml
@ -104,10 +101,6 @@ The automation below will be triggered each time Hass is (re)started and can als
platform: homeassistant platform: homeassistant
event: start event: start
action: action:
- service: mqtt.publish
data:
topic: "cmnd/sonoffs/SetOption55"
payload: "1"
- service: mqtt.publish - service: mqtt.publish
data: data:
topic: "cmnd/sonoffs/SetOption19" topic: "cmnd/sonoffs/SetOption19"