Small library to read Victron's VE.Direct frames.
This is useful in order to read Victron's MPPT charge controllers.
You need to use a VE.Direct to USB cable
First of all, install this library using pip:
pip3 install vedirect
Then, you simply need to import the lib and start asking values:
>>> import vedirect
>>> device = vedirect.VEDirect()
>>> print(device.battery_volts)
27.5
The list of available parameters is:
battery_volts
battery_amps
solar_volts
solar_power
device_serial
device_MPPT_state