How to skip 0 values on incoming MCTT channel messages?

openHAB 5.1.4
indexdb
eclipse-mosquitto configured as MQTT Broker in openHab

Then there is a zendure solarflow 800 configured to send to the above mqtt server OH reads the messages from there.

There is a small issue with zero (or NULL?) values getting read between the actual data messages.

The client is sending (observed via MQTT Explorer)

One message every 66 seconds.

OH reads a zero few seconds after each actual measurement, like

Looking at the actual data in database there are even more “in-between” values


But OTOH, there are mqtt channels from the zendure device where values change only after some minutes and there I do not get those zeros.

Is MQTT Explorer not showing the real data on the channel? Is OpenHab pulling data out of thin air? What is going on here?

How could I get rid of those zeroes?

Thanks for any ideas

What is your persistence config? Which database?

What states do you see the Item going through? You can see the Item state changes in events.log.

thanks!

The event log was showing that there was another source reporting on the same item. A left over from previous setup which has the zero value. Removed that.