MQTT is not talking

I am a beginner and I cant get it to work. I use Home assistant and Node-Red latest version.
I got two inject with Topic "light/garage_out" and Paylod "On" / "Off" connected to one MQTT-out, Server: HA-1@192.168.1.87:1883 no username or password.
One MQTT-in connected to a debug.

Connected is Ok but it dont work.

Logg:
[13:31:00] INFO: Setup mosquitto configuration
[13:31:00] INFO: No local user available
[13:31:00] INFO: Initialize Hass.io Add-on services
[13:31:00] INFO: Initialize Home Assistant discovery
[13:31:00] INFO: Start Mosquitto daemon
1581597060: mosquitto version 1.6.3 starting
1581597060: Config loaded from /etc/mosquitto.conf.
1581597060: Loading plugin: /usr/share/mosquitto/auth-plug.so
1581597060: |-- *** auth-plug: startup
1581597060: ├── Username/password checking enabled.
1581597060: ├── TLS-PSK checking enabled.
1581597060: └── Extended authentication not enabled.
1581597060: Opening ipv4 listen socket on port 1883.
1581597060: Opening ipv6 listen socket on port 1883.
1581597060: Opening websockets listen socket on port 1884.
1581597060: Opening ipv4 listen socket on port 8883.
1581597060: Opening ipv6 listen socket on port 8883.
1581597060: Opening websockets listen socket on port 8884.
1581597060: Warning: Mosquitto should not be run as root/administrator.
1581597061: New connection from 192.168.1.87 on port 1883.
1581597062: Socket error on client , disconnecting.
1581597062: New connection from 192.168.1.87 on port 1883.
1581597062: New client connected from 192.168.1.87 as auto-D9004764-F203-5A2F-0EF7-8B33FFC2C788 (p2, c1, k60).
1581597072: New connection from 192.168.1.87 on port 1883.
1581597072: New client connected from 192.168.1.87 as HA-1 (p2, c0, k120).

What can I do?

Doesn't work in what way?

You do have some issues:

Generally a really bad idea to run services as root as it can leave gaping security holes. It also might cause permissions issues. Mosquitto, when installed correctly, creates its own user and group and sets permissions correctly.

Possible that this might be getting in the way?

You need to track down what is causing that.

I installing in Home Assistant thru an Add-In. There is no place to change these posts.

The first relates to how Mosquitto was installed. The 2nd relates to how it was configured.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.