Hello,
I try to connect to the broker without username and password.
My system is:
I have installed the MQTT - Addon with this configuration:
certfile: fullchain.pem
customize:
active: true
folder: mosquitto
keyfile: privkey.pem
logins: []
require_certificate: false
anonymous: true
Additionally I created this files:
Then i searched for the mosquitto.conf but can´t find it:
In this file I should set allow_anonymous true I guess?
Did I miss anything or is there an easier way to subscribe and publish to all without user and password?
Hein1966
(Hein Verhoeven)
October 17, 2022, 2:59pm
2
Hi Crash123Crash123,
This is as far as i got as well and also with no result. it still isn’t working. Have you found a solution in the meantime?
regards
Hi, I am sorry, I do not know what I have done but it is working for me since a while.
I installed an external container for mqtt. My sensor sends to this broker and HAOS is also connected to this external one. I was not able to use the internal one.
Hein1966
(Hein Verhoeven)
October 21, 2022, 11:02am
4
That is the same how it is working here. I hoped it could be integrated.
For now I give it up and leave it separated.
Thanks.
Hein1966
(Hein Verhoeven)
October 21, 2022, 7:32pm
5
Worked arround it with a different MQTT engine: EMQX. Now it works. It has a great UI.
This youtube explains it all nicely: AWESOME EMQX MQTT Broker add-on. Excellent UI for Home Assistant! - YouTube
If you do not add the authentication part, it will work for devices without name/password.