Im working on a modbus to dbus tank sender interface
I have the /Remaining reading ok on the unit (ok incorrect units as well) but on vrm it displays with an additional 3 zeros after it on the graph . see graph below
Thanks
D
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Im working on a modbus to dbus tank sender interface
I have the /Remaining reading ok on the unit (ok incorrect units as well) but on vrm it displays with an additional 3 zeros after it on the graph . see graph below
Thanks
D
I would look at the way the dBus parameters are created. The /Remaining parameter is a value between 0 and 100 representing the tank's level as a percentage. I think the parameter is normally created as an integer although my TankRepeater makes no specific type declaration when creating it's dBus services.
If you create the parameter as a float, then VRM may be doing the right thing. I'd make sure the add_path call doesn't have a decimal value for initial level.
35 People are following this question.