Problem with Mosquitto broker

I don´t know why (maybe an automatic update) but now a have a problem with the addon Mosquitto broker.

In the log I get the following error message:

error: received null username or password for unpwd check
2022-09-24 12:16:17: Client disconnected, not authorised.
2022-09-24 12:16:18: New connection from 172.xx.xx.x:42290 on port 1883.

What do I need to change to make the broker work normally again?

Nobody the same problem?

Anyone have an idea what I need to do?

as Nikito7 refered to my post I have something similar on my setup and what helps for me is stop-wait a bit-start Mosquito ad-onn. After few minutes all MQTT devices are able connect to HA. Why few minutes? its because of devices when failed to connect once next time repeating action just after some period of time 20-120 seconds depending on each individual device configuration.
It is not a solution but as some kind of work artound works

I have try it. Stop-wait a bit und start die ad-onn.

but even then I get the error message.

I have now also tried to uninstall and reinstall the ad-onn, but even then I get the error messages:

2022-09-25 13:07:51: Client disconnected, not authorised.
2022-09-25 13:07:52: New connection from 172.xx.xx.x:40676 on port 1883.
error: received null username or password for unpwd check

your error is bit different. There is stating that your MQTT client do not send username and password. Try to more carefully review client configuration. Maybe worth to try some cli client to test it first

My problem is that I haven’t changed any of the settings and suddenly the “Ring-MQTT with Video Streaming” addon stopped working and I first post in the post of the Addon (Ring Device integration via MQTT w/ Video Streaming - #1030 by tsightler) regarding the “Ring-MQTT with Video Streaming” addon, whether there the error is.

Then it said no because nothing would be known.

Then I saw the error messages written above in the “Mosquitto broker” addon and assumed that my problem was there. The current status is that there is a problem with the “Ring-MQTT with Video Streaming” addon that something else starts too quickly and therefore the connection cannot be established.

I have now restarted the “Ring-MQTT with Video Streaming” addon and the error messages there have disappeared, but unfortunately my entities are still with the status “unavailable”

now I have try the following:

  • create an new user in HA
  • then I added the following to the configuration:
logins:
  - username: from the new user
    password: from the new user

with this config I got this Logs:

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/mosquitto.sh
[20:27:55] INFO: Setting up user mqtt
[20:27:56] INFO: Certificates found: SSL is available
cont-init: info: /etc/cont-init.d/mosquitto.sh exited 0
cont-init: info: running /etc/cont-init.d/nginx.sh
cont-init: info: /etc/cont-init.d/nginx.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun mosquitto (no readiness notification)
services-up: info: copying legacy longrun nginx (no readiness notification)
s6-rc: info: service legacy-services successfully started
[20:27:57] INFO: Starting NGINX for authentication handling...
[20:27:58] INFO: Starting mosquitto MQTT broker...
2022-09-26 20:27:58: Warning: Mosquitto should not be run as root/administrator.
[20:27:59] INFO: Successfully send discovery information to Home Assistant.
[20:27:59] INFO: Successfully send service information to the Supervisor.

Unfortunately my ring alarm doesn’t work with it either.

I’m really restless.

today I look in the logs and see the following:

2022-09-27 16:55:48: New connection from 172.30.32.1:49243 on port 1883.
2022-09-27 16:55:48: Client disconnected, not authorised.

Now I try to restart the mosquitto broker and get this error:

Neustart des Add-on fehlgeschlagen

Can’t create container from addon_core_mosquitto: 409 Client Error for http+docker://localhost/v1.41/containers/create?name=addon_core_mosquitto: Conflict (“Conflict. The container name “/addon_core_mosquitto” is already in use by container “4b8505b74450e17037e0e0448583792480310a8e128bbfee894edb324b6038f0”. You have to remove (or rename) that container to be able to reuse that name.”)

what can I do to make mosquitto broker work again and so that my ring alarm works again?

I am having this same problem. I cannot find anything that makes sense right now. Mosquito is saying it it getting null user and password. Ring-MQTT is set to use auto name, password, and host. I am not sure where to check that the auto information is set correctly but it has been working till I upgraded to 2022.9.7. Not sure if that is when it happened but was about the same time.

I can definitely say it wasn’t the HA update to 2022.9.7. I already had the problem with 2022.9.5. But the error did not come with an HA update. It must have come with the update from the addon itself.

Does nobody really have an idea how to solve this problem?

Having same problem for a while. Occurs when power supply to my Rasberry Pi is interrupted accidently.
Have no solution, I guess it might be a corrupted system DB?

Anyway, my workaround is to restore back-up from previous day (I create daily full back-up) and every things works fine again.

But still look forward to have a real solution

Having same problem for a while. Occurs when power supply to my Rasberry Pi is interrupted accidently.

Based on reading about similar issues with other projects I think I might know the reason for the issue in this particular case, and perhaps it’s also the reason for some other user problems as well, if people are doing hard reboots such as resetting or powering a VM on/off.

Whenever there is a hard shutdown (any shutdown not initiated via the HA UI or CLI) then, on the next boot, the Docker environment simply tries to immediately start all containers that were previously running at shutdown, rather than waiting on the HA supervisor to start up and initialize the containers. This can lead to cases where the addon containers start prior to the HA Supervisor container being ready and thus the addon is unable to properly auto discover services.

The “fix” is to properly restart HA via either that CLI or UI. However, what I’ve found is that, even here, users commonly make the mistake of using the “Restart” option from Settings…System" UI, which actually only restarts the supervisor container. To correct the error you need to reboot the entire system using “Settings…System…Hardware…3-Dots menu…Reboot System”, or by using the CLI command “ha host reboot”. This will shutdown all containers properly, reboot the host, and then restart the system, allowing the supervisor to boot first and then start all remaining containers as it’s supposed to.

This can be triggered by cases like your example of the RPi losing power, but also for cases where HA is running as a VM and using power on/off or reboot options for the VM instead of shutting down or rebooting HA properly.

1 Like

You are right, after my HA problem I restart my HA over developer tools and not over Settings…System…Hardware…3-Dots menu…Reboot System.

I do it now over this way.

After this correct restart I don´t see the last errors in the two add-ons ( Ring-MQTT with Video Streaming and Mosquitto broker). But the Ring Alarm entities still show “not available”.

If ring-mqtt is connecting to the MQTT broker and sending updates then the problem has to be beyond that. Most likely you need to verify and/or remove any non-default changes you’ve made to the Mosquitto broker attempting to fix the issue, or remove and reconfigure the Mosquitto integration in Home Assistant (not the addon). The logs should pretty much tell you the story of what is going on.

Hello,
unfortunately I have to correct my statement from yesterday, today there are again error messages in the log of the add-on mosquitto broker:

2022-10-12 18:06:23: Client disconnected, not authorised.
2022-10-12 18:07:11: New connection from 172.30.32.2:55390 on port 1883.
2022-10-12 18:07:11: Client closed its connection.

I don´t have make changes on the configuration of Mosquitto broker.

And this is the current protocol from the Ring-MQTT with Video Streaming add-on.

2022-10-12T16:52:32.554Z ring-attr [Home Alarm] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/865a9968-1259-47f6-8382-0fe3f3a5eb04/info/state {"alarmState":"all-clear","commStatus":"ok","lastCommTime":"2022-10-12T04:32:29Z","lastUpdate":"2022-10-12T04:32:29Z","tamperStatus":"ok"}
2022-10-12T16:52:32.556Z ring-attr [Home Base Station] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/0a205983-e974-46b6-b41b-9aa5c0909324/info/state {"acStatus":"ok","batteryStatus":"charged","brightness":0.06439389,"commStatus":"ok","lastCommTime":"2022-10-12T11:32:33Z","lastUpdate":"2022-10-12T11:32:33Z","serialNumber":"BHBE22025PB002967","tamperStatus":"ok","volume":0}
2022-10-12T16:52:32.562Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:48:18Z","lastUpdate":"2022-10-12T16:48:18Z","linkQuality":"ok","serialNumber":"BHDE21950EL002502","tamperStatus":"ok"}
2022-10-12T16:52:32.563Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T16:52:32.569Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/info/state {"acStatus":"error","batteryLevel":37,"batteryStatus":"ok","brightness":0.09015149,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:32:06Z","lastUpdate":"2022-10-12T16:32:06Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE22016LD005735","tamperStatus":"ok","volume":0.03}
2022-10-12T16:52:32.570Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/battery/attributes {"batteryLevel":37,"batteryStatus":"ok"}
2022-10-12T16:52:32.573Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:50:30Z","lastUpdate":"2022-10-12T16:50:30Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T16:52:32.574Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T16:52:32.590Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/info/state {"acStatus":"ok","batteryLevel":100,"batteryStatus":"charged","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:38:11Z","lastUpdate":"2022-10-12T16:38:11Z","linkQuality":"ok","serialNumber":"BHRE22016LD007108","tamperStatus":"ok"}
2022-10-12T16:52:32.591Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/battery/attributes {"batteryLevel":100,"batteryStatus":"charged"}
2022-10-12T16:52:32.596Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:52:17Z","lastUpdate":"2022-10-12T16:52:17Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:52:32.596Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:52:33.017Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/info/state {"batteryLevel":"56","firmwareStatus":"Up to Date","lastUpdate":"2022-10-11T22:04:24Z","wirelessNetwork":"archery","wirelessSignal":-66,"stream_Source":"rtsp://03cabcc9-ring-mqtt:8554/343ea4667fc6_live","still_Image_URL":"https://homeassistant:8123{{ states.camera.gang_snapshot.attributes.entity_picture }}"}
2022-10-12T16:52:33.018Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/wireless/attributes {"wirelessNetwork":"archery","wirelessSignal":-66}
2022-10-12T16:52:33.019Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/battery/attributes {"batteryLevel":"56"}
2022-10-12T16:52:56.370Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T16:52:56.372Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:52:56Z","lastUpdate":"2022-10-12T16:52:56Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:52:56.373Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:52:56.401Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T16:52:56.402Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:52:56Z","lastUpdate":"2022-10-12T16:52:56Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:52:56.403Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:53:01.433Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T16:53:01.434Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:53:01Z","lastUpdate":"2022-10-12T16:53:01Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:53:01.435Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:53:08.084Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T16:53:08.085Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:53:07Z","lastUpdate":"2022-10-12T16:53:07Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:53:08.085Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:53:08.125Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T16:53:08.127Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:53:07Z","lastUpdate":"2022-10-12T16:53:07Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:53:08.128Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:54:46.910Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/motion/state OFF
2022-10-12T16:54:46.911Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/bypass_mode/state Never
2022-10-12T16:54:46.912Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:54:46Z","lastUpdate":"2022-10-12T16:54:46Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T16:54:46.913Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T16:57:32.558Z ring-attr [Home Alarm] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/865a9968-1259-47f6-8382-0fe3f3a5eb04/info/state {"alarmState":"all-clear","commStatus":"ok","lastCommTime":"2022-10-12T04:32:29Z","lastUpdate":"2022-10-12T04:32:29Z","tamperStatus":"ok"}
2022-10-12T16:57:32.560Z ring-attr [Home Base Station] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/0a205983-e974-46b6-b41b-9aa5c0909324/info/state {"acStatus":"ok","batteryStatus":"charged","brightness":0.06439389,"commStatus":"ok","lastCommTime":"2022-10-12T11:32:33Z","lastUpdate":"2022-10-12T11:32:33Z","serialNumber":"BHBE22025PB002967","tamperStatus":"ok","volume":0}
2022-10-12T16:57:32.565Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:48:18Z","lastUpdate":"2022-10-12T16:48:18Z","linkQuality":"ok","serialNumber":"BHDE21950EL002502","tamperStatus":"ok"}
2022-10-12T16:57:32.566Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T16:57:32.572Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/info/state {"acStatus":"error","batteryLevel":37,"batteryStatus":"ok","brightness":0.09015149,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:32:06Z","lastUpdate":"2022-10-12T16:32:06Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE22016LD005735","tamperStatus":"ok","volume":0.03}
2022-10-12T16:57:32.572Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/battery/attributes {"batteryLevel":37,"batteryStatus":"ok"}
2022-10-12T16:57:32.574Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:54:46Z","lastUpdate":"2022-10-12T16:54:46Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T16:57:32.575Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T16:57:32.591Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/info/state {"acStatus":"ok","batteryLevel":100,"batteryStatus":"charged","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:38:11Z","lastUpdate":"2022-10-12T16:38:11Z","linkQuality":"ok","serialNumber":"BHRE22016LD007108","tamperStatus":"ok"}
2022-10-12T16:57:32.592Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/battery/attributes {"batteryLevel":100,"batteryStatus":"charged"}
2022-10-12T16:57:32.597Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:53:07Z","lastUpdate":"2022-10-12T16:53:07Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T16:57:32.598Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T16:57:32.988Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/info/state {"batteryLevel":"56","firmwareStatus":"Up to Date","lastUpdate":"2022-10-11T22:04:24Z","wirelessNetwork":"archery","wirelessSignal":-66,"stream_Source":"rtsp://03cabcc9-ring-mqtt:8554/343ea4667fc6_live","still_Image_URL":"https://homeassistant:8123{{ states.camera.gang_snapshot.attributes.entity_picture }}"}
2022-10-12T16:57:32.989Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/wireless/attributes {"wirelessNetwork":"archery","wirelessSignal":-66}
2022-10-12T16:57:32.989Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/battery/attributes {"batteryLevel":"56"}
2022-10-12T16:57:42.912Z ring-mqtt [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/volume/state 3
2022-10-12T16:57:42.912Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/info/state {"acStatus":"error","batteryLevel":37,"batteryStatus":"ok","brightness":0.09015149,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:57:42Z","lastUpdate":"2022-10-12T16:57:42Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE22016LD005735","tamperStatus":"ok","volume":0.03}
2022-10-12T16:57:42.913Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/battery/attributes {"batteryLevel":37,"batteryStatus":"ok"}
2022-10-12T16:59:03.400Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/motion/state OFF
2022-10-12T16:59:03.401Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/bypass_mode/state Never
2022-10-12T16:59:03.401Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:59:03Z","lastUpdate":"2022-10-12T16:59:03Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T16:59:03.402Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T17:00:22.526Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T17:00:22.527Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:00:22Z","lastUpdate":"2022-10-12T17:00:22Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T17:00:22.528Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T17:00:22.580Z ring-mqtt [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/volume/state 50
2022-10-12T17:00:22.581Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:00:22Z","lastUpdate":"2022-10-12T17:00:22Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T17:00:22.582Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T17:02:32.560Z ring-attr [Home Alarm] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/865a9968-1259-47f6-8382-0fe3f3a5eb04/info/state {"alarmState":"all-clear","commStatus":"ok","lastCommTime":"2022-10-12T04:32:29Z","lastUpdate":"2022-10-12T04:32:29Z","tamperStatus":"ok"}
2022-10-12T17:02:32.564Z ring-attr [Home Base Station] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/0a205983-e974-46b6-b41b-9aa5c0909324/info/state {"acStatus":"ok","batteryStatus":"charged","brightness":0.06439389,"commStatus":"ok","lastCommTime":"2022-10-12T11:32:33Z","lastUpdate":"2022-10-12T11:32:33Z","serialNumber":"BHBE22025PB002967","tamperStatus":"ok","volume":0}
2022-10-12T17:02:32.568Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:48:18Z","lastUpdate":"2022-10-12T16:48:18Z","linkQuality":"ok","serialNumber":"BHDE21950EL002502","tamperStatus":"ok"}
2022-10-12T17:02:32.569Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T17:02:32.573Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/info/state {"acStatus":"error","batteryLevel":37,"batteryStatus":"ok","brightness":0.09015149,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:57:42Z","lastUpdate":"2022-10-12T16:57:42Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE22016LD005735","tamperStatus":"ok","volume":0.03}
2022-10-12T17:02:32.574Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/battery/attributes {"batteryLevel":37,"batteryStatus":"ok"}
2022-10-12T17:02:32.575Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:59:03Z","lastUpdate":"2022-10-12T16:59:03Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T17:02:32.576Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T17:02:32.594Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/info/state {"acStatus":"ok","batteryLevel":100,"batteryStatus":"charged","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:38:11Z","lastUpdate":"2022-10-12T16:38:11Z","linkQuality":"ok","serialNumber":"BHRE22016LD007108","tamperStatus":"ok"}
2022-10-12T17:02:32.595Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/battery/attributes {"batteryLevel":100,"batteryStatus":"charged"}
2022-10-12T17:02:32.600Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:00:22Z","lastUpdate":"2022-10-12T17:00:22Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T17:02:32.601Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T17:02:33.005Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/info/state {"batteryLevel":"56","firmwareStatus":"Up to Date","lastUpdate":"2022-10-11T22:04:24Z","wirelessNetwork":"archery","wirelessSignal":-66,"stream_Source":"rtsp://03cabcc9-ring-mqtt:8554/343ea4667fc6_live","still_Image_URL":"https://homeassistant:8123{{ states.camera.gang_snapshot.attributes.entity_picture }}"}
2022-10-12T17:02:33.006Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/wireless/attributes {"wirelessNetwork":"archery","wirelessSignal":-66}
2022-10-12T17:02:33.007Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/battery/attributes {"batteryLevel":"56"}
2022-10-12T17:03:20.330Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/motion/state OFF
2022-10-12T17:03:20.331Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/bypass_mode/state Never
2022-10-12T17:03:20.332Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:03:20Z","lastUpdate":"2022-10-12T17:03:20Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T17:03:20.334Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T17:07:32.561Z ring-attr [Home Alarm] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/865a9968-1259-47f6-8382-0fe3f3a5eb04/info/state {"alarmState":"all-clear","commStatus":"ok","lastCommTime":"2022-10-12T04:32:29Z","lastUpdate":"2022-10-12T04:32:29Z","tamperStatus":"ok"}
2022-10-12T17:07:32.566Z ring-attr [Home Base Station] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/0a205983-e974-46b6-b41b-9aa5c0909324/info/state {"acStatus":"ok","batteryStatus":"charged","brightness":0.06439389,"commStatus":"ok","lastCommTime":"2022-10-12T11:32:33Z","lastUpdate":"2022-10-12T11:32:33Z","serialNumber":"BHBE22025PB002967","tamperStatus":"ok","volume":0}
2022-10-12T17:07:32.572Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:48:18Z","lastUpdate":"2022-10-12T16:48:18Z","linkQuality":"ok","serialNumber":"BHDE21950EL002502","tamperStatus":"ok"}
2022-10-12T17:07:32.578Z ring-attr [Haustür] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/2cd05f28-12b0-446f-a2a4-2915e9b388b5/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T17:07:32.579Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/info/state {"acStatus":"error","batteryLevel":37,"batteryStatus":"ok","brightness":0.09015149,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:57:42Z","lastUpdate":"2022-10-12T16:57:42Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE22016LD005735","tamperStatus":"ok","volume":0.03}
2022-10-12T17:07:32.580Z ring-attr [Keypad OG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/70e3a284-075e-41c6-9ddc-e7202abc9d0b/battery/attributes {"batteryLevel":37,"batteryStatus":"ok"}
2022-10-12T17:07:32.581Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:03:20Z","lastUpdate":"2022-10-12T17:03:20Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T17:07:32.582Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}
2022-10-12T17:07:32.596Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/info/state {"acStatus":"ok","batteryLevel":100,"batteryStatus":"charged","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T16:38:11Z","lastUpdate":"2022-10-12T16:38:11Z","linkQuality":"ok","serialNumber":"BHRE22016LD007108","tamperStatus":"ok"}
2022-10-12T17:07:32.597Z ring-attr [Home Range Extender] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/32732ffe-5b89-48c5-9931-2a6ce30db593/battery/attributes {"batteryLevel":100,"batteryStatus":"charged"}
2022-10-12T17:07:32.602Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/info/state {"acStatus":"error","batteryLevel":54,"batteryStatus":"ok","brightness":0.1022727,"chirps":"enabled","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:00:22Z","lastUpdate":"2022-10-12T17:00:22Z","linkQuality":"ok","powerSave":"off","serialNumber":"BHKE21942LD007515","tamperStatus":"ok","volume":0.5}
2022-10-12T17:07:32.603Z ring-attr [Keypad EG] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/7749377a-14ba-4bbf-a5b8-2088b135cfae/battery/attributes {"batteryLevel":54,"batteryStatus":"ok"}
2022-10-12T17:07:33.028Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/info/state {"batteryLevel":"56","firmwareStatus":"Up to Date","lastUpdate":"2022-10-11T22:04:24Z","wirelessNetwork":"archery","wirelessSignal":-66,"stream_Source":"rtsp://03cabcc9-ring-mqtt:8554/343ea4667fc6_live","still_Image_URL":"https://homeassistant:8123{{ states.camera.gang_snapshot.attributes.entity_picture }}"}
2022-10-12T17:07:33.030Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/wireless/attributes {"wirelessNetwork":"archery","wirelessSignal":-66}
2022-10-12T17:07:33.031Z ring-attr [Gang] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/camera/343ea4667fc6/battery/attributes {"batteryLevel":"56"}
2022-10-12T17:07:37.317Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/motion/state OFF
2022-10-12T17:07:37.318Z ring-mqtt [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/bypass_mode/state Never
2022-10-12T17:07:37.319Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/info/state {"batteryLevel":100,"batteryStatus":"full","commStatus":"ok","firmwareStatus":"up-to-date","lastCommTime":"2022-10-12T17:07:37Z","lastUpdate":"2022-10-12T17:07:37Z","linkQuality":"ok","serialNumber":"BHME22012EL002514","tamperStatus":"ok"}
2022-10-12T17:07:37.319Z ring-attr [Bewegunsmelder] ring/8edc0d96-e1fd-4090-ae5a-823aaef19d31/alarm/220e3e2f-bd34-4573-94bd-7aa894f9091c/battery/attributes {"batteryLevel":100,"batteryStatus":"full"}

Do I understand correctly that the add-on actually gets the values ​​from the ring alarm?

Now I have try to delete the mqtt integration and then set it up again.

But now I have problem zu set it up again.

This are my entries:
Server: mqtt://auto_username:auto_password@auto_hostname
Port: 1883
Username: empty
Password: empty

But with this entries I got the error message:
Connection Failed

What I make wrong?

Now I’ve finally managed to get Ring Alarm working again.

After deleting the mqtt integration, I restarted the home assistant. Then mqtt was automatically displayed under integration for configuration. When I then clicked on it, all entities were found again and they are now working again

1 Like

Glad you got it working. This is what I was trying to explain earlier, the Mosquitto addon only provides the MQTT broker, then both Home Assistant and ring-mqtt connect to this broker to send/receive messages to/from each other. If ring-mqtt is running and sending messages, as shown in your log above, then clearly it is successfully connecting to the broker (if it can’t connect to the broker it will say so), thus the problem has to be on the other side, i.e. the Home Assistant side.

Now I have the same problem again.

I Delete the mqtt integration, restart the home assistant. Then mqtt was automaticlly display unter integration for configuration. Same as the last time. But I cklick on it und start the configuration. But after this this time online the mqtt integration was show up but without any entities. What can I do?