I want to setup the Mosquitto Add-on as an Bridge.
but when is change
customize:
active: false
folder: mosquitto
to this
customize:
active: true
folder: mosquitto
the Addon does start but gives me some errors
here is my log:
Error: Unable to open include_dir '/share/mosquitto'.
Error found at line /etc/mosquitto/mosquitto.conf:33.
[09:12:35] INFO: Successfully send discovery information to Home Assistant.
[09:12:35] INFO: Successfully send service information to the Supervisor.
the Problem is that i dont have an /etc/mosquitto/mosquitto.conf to lock up for the Error.
The /etc/mosquitto/mosquitto.conf is the configuration you set in the HA addon configuration page.
What is not there is the /share/mosquitto, which you enabled on the configuration page by setting active: to true.
Okay. Thanks for your quick response but according to the documentation for setting up mosquitto as a bridge I have to change it to “true” and create another conf file in the mosquitto directory. So why is there an error?
Ps: my mosquitto.conf file doesn’t have line 33 it only has 9
When you set active: to true you tell Mosquitto to look for additional config files in the /share/<folder:>
In your case /share/<folder:> would be /share/mosquitto, which probably do not exist, but then you need to make it and place your config files there.