I developed this for a larger project but ended up turning into a basic library.
It provides very simple reading on VE.Direct SOC, Power, Volts, Amps.
Posted in case someone finds it useful.
https://github.com/winginitau/VictronVEDirectArduino
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
I developed this for a larger project but ended up turning into a basic library.
It provides very simple reading on VE.Direct SOC, Power, Volts, Amps.
Posted in case someone finds it useful.
https://github.com/winginitau/VictronVEDirectArduino
Nice, thanks for sharing! I added it here:
Has anyone ever gotten this to work. IT does not seem to ever open a serial connection for me.
I started off with a windows pc, 12v battery and realterm software and the other components just to get my head round how to handle the bluesolar controller.
It is annoying the victron connect software won't let you talk to the bluesolar over a com port, which then means purchasing an overpriced victron cable. But it does give you a baseline to work from.
Updated: cleaner code; can now read any VE.Direct stat/setting (configurable); Minimal static ram usage - uses PROGMEM for all labels etc.
Hello,
I used the library successfully and expanded the labels to include some more data points from an BMV700
Thank you for sharing your work
I was however very unsuccessful modifying the library to use a SoftwareSerial port
Your library demands a Arduino mega – Too big for some cases
Can you provide some help of even better a version with Software Serial?
Thank you in advance
Peter
I created a branch for this to use SoftwareSerial. Tested with ESP8266.
https://github.com/cterwilliger/VictronVEDirectArduino
Could this be used to read f.i. the power of a MultiPlus by connecting the arduino to a VE.Direct Port of a Venus GX?
If yes what would be the code (instead of "VE_power = myve.read(VE_POWER);" as this would only work, in my opinion, when connecting directly to the MultiPlus)?
Or maybe the GX device is not integrated in the library?
Additional resources still need to be added for this topic
13 People are following this question.