It’s filling the log though. It is possibly something to do with access control lists. It may be looking for the client/user in a list but it doesn’t exist. I think they list what topics can be published by the client/user.
I have these too after updating Mosquito an hour ago from 2.0 to 4.1, and all my MQTT devices are ‘unknown’ in the HA States view in my case… mosquitto_auth_acl_check(…, client id not available, myhomemqtt, tele/sonoff_bridge/RESULT, MOSQ_ACL_WRITE)
Any suggestion other than RTFM ?
No, not necessary if you have one configured in the add-on. There were some usernames that are not allowed in v4 onwards but yours should be ok. Do you have errors on the clients?
Yes I have had one (username/pw) in the addon since the component was installed a year ago.
I just tried adding it in the GUI but have not restarted HA to see what happens.
Sorry I’m not sure what you meant by errors on clients, but all three mqtt devices (two sensornodes and one Sonoff RF Bridge with Tasmota FW) are unknown in HA and also don’t respond to HA (lights on the nodes etc) the bridge tries to report to HA but that just generates the message above each time a door switch or PIR is triggered.
It seems not. Just doing a reboot and a retest, but all the console messages in the last hour look normal.
Edit: After restarting the RF Bridge same result, no console errors.
Edit2: Rebooting the RPi via hassio
Edit3: mqtt is back up. My problem was still having the mqtt broker setting in configuration.yaml like pre-integration.
I also took out my old username and password from the mosquito component config, and setup a new HA user with those strings instead.
Might still have a couple of questions but that can wait till tomorrow…
Ok, I got it working after deleting the config from the yaml.
But it looks like anonymous publishing doesn’t work now. My client connects but nothing comes in on the topic. My other client that connects with user and pass publishes fine.
and how are your setting … in config or directly via GUI?
Can you paste your code from GUI or config (if you have still there) which is working in 4.1…