MQTT subscribed Pv value different to what Arduino sketch displays

Hi
This has been driving me nuts for days and I just cant figure it out.
My setup -
Laptop running MQTT Explorer connected to my local Venus mqtt broker on CerboGX by wifi - works fine. I can see the Pv power topic value I want.
eg - N/XXXXXXXXXX/system/0/Dc/Pv/Power

I’m running a sketch on Arduino Nano33 IoT which is also connected to the same local Venus mqtt broker on CerboGX by wifi and subsribes to the same Pv power topic - N/XXXXXXXXXX/system/0/Dc/Pv/Power.
I send regular keepalive commands so the topic value is updated.

The problem is that the Pv power topic values between MQTT Explorer and my Arduino are always different. It varies between 20 to 300 watts even though they are looking at the same Pv Power topic.

The Victron VRM app on my phone displays the same Pv topic value as MQTT Explorer so I am assumming there is something not quite right with the coding in my Arduino sketch which I can’t figure out.
Has anyone come across this before?

The issue I was having was caused by a delay I had in my program main loop.
All fixed now. :grinning: