When i try to connect my NoceMCU with ESPeasy to HA mos
I have this logs in Hass.io>Add-ons>Mosquitto broker>‘scroll down’ LOG
1552851585: New connection from 192.168.*.* on port 1883.
1552851585: Socket error on client <unknown>, disconnecting."
1552851637: New connection from 192.168.*.* on port 1883.
1552851637: Socket error on client <unknown>, disconnecting."
MQTT clients need to know the full IP address or DNS name of the MQTT broker so that they can establish a connection with the broker.
The configuration settings on your Controller tab look like MQTT settings, but they refer to “Controller” not “Broker” which I find confusing. There is a chance that someone on the HA Community will have the knowledge that you need, but I think you might have better luck finding what you need on the OpenHAB forum: https://community.openhab.org/
I run my Mosquitto broker on Raspbian, and I use the following command to monitor my broker’s log file
sudo tail -f /var/log/mosquitto/mosquitto.log
There is no need to obfuscate 192.168.x.x or 10.x.x.x IP addresses because 192.168.x.x and 10.x.x.x subnets are non-routable. That means that IP addresses on a 192.168.x.x subnet are meaningless on the internet side of your router.
The above message points to a problem with authentication. My MQTT broker accepts anonymous input, so I have not encountered this issue.
I am having the same issues and cannot resolve it. I am not skilled in Home Assistant and still learning and have read lots of forums on this issue.
Now I have these in the log and hope someone can help to resolve it
1556006163: New connection from 192.168.1.84 on port 1883.
1556006163: Socket error on client , disconnecting.
1556006244: |-- mosquitto_auth_acl_check(…, client id not available, brucys, sonoff_Desktele/STATE, MOSQ_ACL_WRITE)
1556006244: |-- Expired [7953E4204FE21567F8DE072238C1C187A58E70A0] for (client id not available,brucys,2)
1556006244: |-- url=http://127.0.0.1:8080/superuser
1556006244: |-- data=username=brucys&password=&topic=&acc=-1&clientid=
1556006244: |-- aclcheck(brucys, sonoff_Desktele/STATE, 2) SUPERUSER=Y by http
1556006244: |-- Cached [7953E4204FE21567F8DE072238C1C187A58E70A0] for (client id not available,brucys,2)