I have a Raspberry Pi 3B with a python scripts that sends data from some sensors to a Cayenne Dashboard via MQTT.
Everything is working good except for 1 gauge (I have a total of 5 gauges) where it should display the battery voltage of a battery powered ESP8266.
This ESP8266 sends data to the Raspberry where, after some processing, a python script is used to send these data “back” to the dashboard every 10 minutes (temperature, humidity, solar light intensity, battery voltage and load current).
The gauge that is facing a problem is the one regarding the battery voltage: everytime there is new data, it always displays “0.000” and only when I refresh the web page with F5 it displays the correct value (for example 3.723).
The other gauges display their value as soon as data are received without the need of refreshing the page.
Of course each gauge has its own channel so…why this behaviour?
Thank you, regards.