mirror of
https://github.com/aljazceru/addons.git
synced 2026-01-31 18:55:32 +01:00
Updated mosquitto ACL docs with note about homeassistant user (#2421)
* Updated mosquitto ACL docs with note about homeassistant user * Update mosquitto/DOCS.md Co-authored-by: Mike Degatano <michael.degatano@gmail.com> Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
This commit is contained in:
@@ -97,7 +97,9 @@ See the following links for more information:
|
||||
- [Mosquitto topic restrictions](http://www.steves-internet-guide.com/topic-restriction-mosquitto-configuration/)
|
||||
- [Mosquitto.conf man page](https://mosquitto.org/man/mosquitto-conf-5.html)
|
||||
|
||||
Add the following configuration to enable **unrestricted** access to all topics.
|
||||
Add the following configuration to enable **unrestricted** access to all topics for `[YOUR_MQTT_USER]`.
|
||||
|
||||
**Note:** Home Assistant expects the users `homeassistant` and `addons` to have unrestricted readwrite access to all topics. If you choose to enable ACLs, you should grant this access to these users as demonstrated below. Otherwise you will run into issues.
|
||||
|
||||
1. Enable the customize flag
|
||||
|
||||
@@ -116,6 +118,12 @@ Add the following configuration to enable **unrestricted** access to all topics.
|
||||
3. Create `/share/mosquitto/accesscontrollist` with the contents:
|
||||
|
||||
```text
|
||||
user addons
|
||||
topic readwrite #
|
||||
|
||||
user homeassistant
|
||||
topic readwrite #
|
||||
|
||||
user [YOUR_MQTT_USER]
|
||||
topic readwrite #
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user