MQTT data gets corrupted sometimes in home assistant

Hi there,

I have a modbus kWh meter for a solar panel. A Raspberry Pi python script pulls it’s data and sends it to the online mqtt broker HiveMQ.
That broker is in bridge mode with my home assistant mqtt broker. That all is working very fine, but sometimes a strange high value is visible in the energy dashboard of home assistant.
At first I thought this high value was measured by the raspberry pi, but when I start logging both mqtt brokers, it became visible, no problems there.
When the data is sent through without any trouble, how is it possible it gets corrupt in home assistant?
At this picture the hickup is visible:


This are the MQTT brokers: (don’t mind the high value, that was at another timepoint)

And here visible in statistics:

I hope someone can point me in the right direction, Thanks in advance.

This may help

Hi Jorggs, thanks. I was looking deeper in my own question and the noticed, the corrupt data at timepoint 8:25, equals the data in the broker log at timepoint 7:54


Somehow the error is in the bridge it seems