Mqtt issues please help

Hey guys having some issues with mqtt broker
The hasbian-config one installs but as I need one with anonymous logins / no user password required it will not work on my system. I originally had a manual installed version that worked but can’t seem to install it anymore . I have also just tried the embedded version in HASS but get weird errors like below.

018-01-03 22:18:05 ERROR (MainThread) [hbmqtt.broker] Invalid connection from (client @=10.0.0.23:58307) : [MQTT-3.1.2-1] Incorrect protocol name: “MQIsdp”

The perfect solution would be to use the hassbian-config install mosquito and remove user name and password but I have not been able to so far .
Any ideas on the best way to install and alow anonymous connections thanks

Glad you got it up and running.

The configuration file for mosquitto is normally at /etc/mosquitto/mosquitto.conf with other configuration files in /etc/mosquitto/conf.d/

This is my mosquitto.conf, which does not use authentication in any way.

$ cat /etc/mosquitto/mosquitto.conf 
# Place your local configuration in /etc/mosquitto/conf.d/
#
# A full description of the configuration file is at
# /usr/share/doc/mosquitto/examples/mosquitto.conf.example

pid_file /var/run/mosquitto.pid

persistence true
persistence_location /var/lib/mosquitto/

log_dest file /var/log/mosquitto/mosquitto.log

include_dir /etc/mosquitto/conf.d
1 Like

Thanks m8 Appreciated