question

darius avatar image
darius asked

dbus API specifics for battery monitors

Hi,

I have a mobile coffee van with a Victron Multiplus and an enerdrive ePro battery monitor (the battery monitor predates the Multiplus which is why it's not a Victron unit).


I have setup a Rasperry Pi running Venus for monitoring both and it's working well (my congratulations to Victron for making it open source and highly flexible!). I wrote a program to parse the ePro serial data and write to dbus which seems to work however I was wondering if there is any specific documentation about exactly what paths mean what (I got the list of paths from dbus_systemcalc.py)


For example I am not sure what the difference between "/Dc/0/Current" and "/Sense/Current"?


My code is at https://www.dons.net.au/%7Edarius/hgwebdir.cgi/epro/file/tip/eprodbus.py if anyone wishes to use it or copy it. It should probably be integrated with serial-starter but this works for now ;)


Venus OS
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

2 Answers
Louis van der Walt avatar image
Louis van der Walt answered ·

I think this is what you are looking for
https://github.com/victronenergy/venus/wiki/dbus


If you want to contribute your code to my serialbattery driver to add ePro, that might be a good place for your code.
https://community.victronenergy.com/questions/76159/victron-venusos-driver-for-serial-connected-bms-av.html

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

darius avatar image darius commented ·
That is exactly, thank you very much.


I guess my search-fu was not up to scratch :)


I'll take a look at submitting a pull request for the ePro to you code.

0 Likes 0 ·
darius avatar image
darius answered ·

Hi,

I had a look at serialbattery but it seems very geared toward lithium BMSs whereas the epro is purely a battery monitor (for lead acid batteries) so I don't think I can fit my code in nicely.


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources