Battery Voltage is imprecise about the various access paths (dbus, Node RED, MQTT)

Hello,

I am using Node RED in Venus OS Large to log data to an Influx DB.
Now I have realized, that the Battery Voltage is imprecise about the various access paths

for example:

  • via MQTT topic “N/c0619ab44d5a/system/0/Batteries” child=voltage the value is 49.9900016784668
  • via Input node com.victronenergy.system (0) /Dc/Battery/Voltage the value is 49.99
  • via Battery Monitor node “Battery-Name” “Battery voltage (V)” is 50

Would it be possible to harmonize the values between all methods?

In addition, the number of decimal numbers can be selected in the settings of the Battery Monitor Node in Node RED, but this makes no difference in output.

Best regards
Philipp

Your example is not good. Values are all the same depending how you read them. Or did you mean number of decimal places should be exactly the same?

@Fideri you are right - I am referring to the number of decimal places.
I have configured both nodes with three decimal digits, but I get back one decimal place from the custom input node and rounded to a full number from Battery Monitor node.