Owntracks compatibility

Owntracks for be convinced to talk the correct protocol version  (Protocol Level 4; MQTT 3.1.1) by setting it manually in the configuration JSON.

I have tested this against my own Hassbian install (0.47.0).

See the ticket that added the feature here; https://github.com/owntracks/ios/issues/444
This commit is contained in:
Hamid 2017-06-19 22:16:06 +01:00 committed by GitHub
parent 84264dd824
commit 07dcfc0555

View File

@ -31,9 +31,13 @@ Home Assistant contains an embedded MQTT broker. If no broker configuration is g
mqtt:
```
<p class='note'>
This broker does not currently work with OwnTracks because of a protocol version issue.
</p>
### {% linkable_title Owntracks%}
To use Owntracks with the internal broker a small configuration change must be made in order for the app to use MQTT protocol 3.1.1 (Protocol Level 4).
In the Owntracks preferences (Android: v1.2.3+, iOS: v9.5.1+) open **Configuration Management**; Find the value named `mqttProtocolLevel` and set the value to `4`. The application will now use MQTT 3.1.1 to connect, which is compatible with the embedded broker.
### {% linkable_title Settings %}
If you want to customize the settings of the embedded broker, use `embedded:` and the values shown in the [HBMQTT Broker configuration](http://hbmqtt.readthedocs.org/en/latest/references/broker.html#broker-configuration). This will replace the default configuration.