MQTT can't generate new unique ID because it already exists

Hello HA, Mosquito, and Ahoy community,

I use the AhoyDTU to save and evaluate values ​​from my PV system with an HMT 1800 6T inverter in HA.

After the initial installation in October 2023, everything worked perfectly.

Now I had to reinstall the AhoyDTU with the newest firmware with the same inverter. Since then, some entities can no longer be displayed in HA. They have the status “unavailable” in german “nicht verfügbar”

The following message/line was found in home-assistant.log.1:


21,186: 2025-04-21 15:40:27.937 ERROR (MainThread) [homeassistant.components.sensor] Platform mqtt does not generate unique IDs. ID 138283235301_ch0_Efficiency already exists - ignoring sensor.hmt1800_6t_1_efficiency


What do I have to do to prevent MQTT from trying to create new unique IDs, but instead use the values ​​with the existing unique ID?

I just don’t want to lose my historical values ​​since October 2023!

Does anyone have a tip or workaround for this?

I’m starting to get desperate!!!