2020-09-21 01:58:32 +02:00
|
|
|
# HomeAssistant MQTT Components Binding
|
|
|
|
|
2022-01-11 13:25:27 +01:00
|
|
|
HomeAssistant MQTT Components are recognized as well. The base topic needs to be **homeassistant**.
|
2020-09-21 01:58:32 +02:00
|
|
|
The mapping is structured like this:
|
|
|
|
|
2022-01-11 13:25:27 +01:00
|
|
|
| HA MQTT | Framework | Example MQTT topic |
|
|
|
|
| ------------------------- | ------------- | ------------------------------------- |
|
|
|
|
| Object | Thing | `homeassistant/../../object` |
|
|
|
|
| Component+Node | Channel Group | `homeassistant/component/node/object` |
|
|
|
|
| → Component Features | Channel | `state/topic/defined/in/comp/config` |
|
2020-09-21 01:58:32 +02:00
|
|
|
|
2021-01-14 11:43:17 +01:00
|
|
|
## Requirements
|
|
|
|
|
|
|
|
The HomeAssistant MQTT requires two transformations to be installed:
|
|
|
|
|
2022-12-08 21:36:05 +01:00
|
|
|
- JINJA-Transformations
|
|
|
|
- JSONPath-Transformations
|
2021-01-14 11:43:17 +01:00
|
|
|
|
2022-01-11 13:25:27 +01:00
|
|
|
These can be installed under `Settings` → `Addon` → `Transformations`
|
2021-01-14 11:43:17 +01:00
|
|
|
|
2020-09-21 01:58:32 +02:00
|
|
|
## Limitations
|
|
|
|
|
2022-12-08 21:36:05 +01:00
|
|
|
- The HomeAssistant Fan Components only support ON/OFF.
|
|
|
|
- The HomeAssistant Cover Components only support OPEN/CLOSE/STOP.
|
|
|
|
- The HomeAssistant Light Component only support on/off, brightness, and RGB.
|
2022-11-05 16:57:06 +01:00
|
|
|
Other color spaces, color temperature, effects, and white channel may work, but are untested.
|
2022-12-08 21:36:05 +01:00
|
|
|
- The HomeAssistant Climate Components is not yet supported.
|
2022-01-11 13:25:27 +01:00
|
|
|
|
|
|
|
## Tasmota auto discovery
|
|
|
|
|
|
|
|
To activate HomeAssistant discovery support on your Tasmota device you need to do the following:
|
|
|
|
|
2022-12-08 21:36:05 +01:00
|
|
|
- `Configuration` → `MQTT`: You must have unique `Client` name and `Topic` (should be the default).
|
|
|
|
- `Configuration` → `Other`: The `Device Name` will be used to identify the newly found device.
|
2022-01-11 13:25:27 +01:00
|
|
|
And you need to enable MQTT, of course.
|
2022-12-08 21:36:05 +01:00
|
|
|
- `Console`: Enter `SetOption19 1`.
|
2022-01-11 13:25:27 +01:00
|
|
|
|
|
|
|
Your Tasmota device should now show up in your inbox.
|