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 FTDI-USB cable
Tested with the Smart Solar MPPT 100/20
First of all, install this library using pip:
pip3 install vedirectThen, you simply need to import the lib and start asking values:
>>> import vedirect
>>> device = vedirect.VEDirect()
>>> print(device.battery_volts)
27.5The list of available parameters is:
battery_voltsbattery_ampssolar_voltssolar_powerdevice_serialdevice_MPPT_statefirmware_versionproduct_idcharge_stateerror_codeload_stateload_currenttotal_yieldyield_todaymax_power_todayyield_yesterdaymax_power_yesterdayday_sequence