Suddenly the entities have gone missing from the 2 services provided by MQTT and I really can’t figure this out, I have tried restaring each of the integrations related to Ring (MQTT, Ring-MQTT and Ring). To illustrate my issue I have included some screenshots.
I hope someone can help me with this. In particular I use the alarm mode in my automations, which now of course doesn’t work. This has been working fine for about a year. It may have gone wrong after an update to mosquito broker, but I am not really sure, so I reverted back to the previos version with no change…
Check if there are new devices with a similar name in HA.
Sometimes HA or MQTT sees a device as new and then it get a similar neame with a _2 added in the end.
The original device will then typical go stale.
Deleting the old device and renaming the new one to the old name should resolve it.
Thanks I am a bit baffled with this as I am not really using MQTT for anything else at this minute the only thing is I have got this strange entry in the log
2023-11-26 16:39:48: New connection from 172.30.32.2:53996 on port 1883.
2023-11-26 16:39:48: Client closed its connection.
2023-11-26 16:40:04: New connection from 172.30.32.1:36089 on port 1883.
2023-11-26 16:40:04: Client 52B8JOpTNprq4cZwTrPYoh disconnected, not authorised.
Also this in the log of the Ring-MQTT
2023-11-26T16:38:26.802Z ring-disc HASS config topic: homeassistant/sensor/3d689e30-c8f5-4021-bd97-8697ce63e2e3/9c7613734016_battery/config
2023-11-26T16:38:26.803Z ring-disc {
name: 'Battery',
unique_id: '9c7613734016_battery',
state_topic: 'ring/3d689e30-c8f5-4021-bd97-8697ce63e2e3/camera/9c7613734016/info/state',
device_class: 'battery',
unit_of_measurement: '%',
state_class: 'measurement',
value_template: '{{ value_json["batteryLevel"] | default("") }}',
json_attributes_topic: 'ring/3d689e30-c8f5-4021-bd97-8697ce63e2e3/camera/9c7613734016/battery/attributes',
availability_topic: 'ring/3d689e30-c8f5-4021-bd97-8697ce63e2e3/camera/9c7613734016/status',
payload_available: 'online',
payload_not_available: 'offline',
device: {
ids: [ '9c7613734016' ],
name: 'Front Door',
mf: 'Ring',
mdl: 'Doorbell Gen 2'
}
}
Where it looks like the payload is not available
and also in this next bit
}
2023-11-26T16:38:26.803Z ring-disc Republishing existing device id: 3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode
2023-11-26T16:38:26.804Z ring-disc HASS config topic: homeassistant/alarm_control_panel/3d689e30-c8f5-4021-bd97-8697ce63e2e3/3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode_mode/config
2023-11-26T16:38:26.805Z ring-disc {
name: '',
unique_id: '3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode',
state_topic: 'ring/3d689e30-c8f5-4021-bd97-8697ce63e2e3/alarm/3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode/mode/state',
command_topic: 'ring/3d689e30-c8f5-4021-bd97-8697ce63e2e3/alarm/3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode/mode/command',
supported_features: [ 'arm_home', 'arm_away' ],
availability_topic: 'ring/3d689e30-c8f5-4021-bd97-8697ce63e2e3/alarm/3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode/status',
payload_available: 'online',
payload_not_available: 'offline',
device: {
ids: [ '3d689e30-c8f5-4021-bd97-8697ce63e2e3_mode' ],
name: 'Kingsbridge Mode',
mf: 'Ring',
mdl: 'Mode Control Panel'
}
}```
I presume these reference the devices
I have fixed it.
I tried everything i could think of to no avail. So I decided to ----
1 Uninstall the Mosquitto Broker and the Ring-MQTT.
2 Restart Home Assistant
3 Installed and setup Mosquitto Broker
4 Installed and setup Ring-MQTT
5 Restarted Home Assistant and created a full backup
Took under 10 minutes to complete, instead of faffing about with the original installation