Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dbus-pvoutput

This is a simple python script that collects data from dbus on your Victron CCGX or Venus-GX, and posts it to pvoutput.org. This is mostly a proof of concept designed to work on my particular single-phase setup. Extending for other systems is left as an exercise to the user.

Assumptions, shortcuts and todos

  • Assumes single phase system
  • Assumes no PV inverters
  • Assumes there is a grid meter
  • Should also work for off-grid systems without a grid meter.
  • On pvoutput, battery charge and discharge shows up as export and import.

Other caveats

  • It uses the timezone information from the CCGX settings, not the system timezone.
  • You have to add your APIKEY and SYSTEMID in the config.ini
  • If you want to enable weather information, register on openweathermap.org then add apikey and cityid in config.ini

Usage

  • Use dbus-pvoutput.py prior Venus 2.80
  • Use dbus-pvoutput-p3.py VenusOS 2.80 and later
  • Copy the 2 files, config.ini and dbus-pvoutput.py or dbus-pvoutput-p3.py depending on your VenusOS to you GX Device, with scp.
  • Make sure you modify the config.ini with your correct settings.
  • Login to your GX Device and then you run the script: python bus-pvoutput-p3.py
  • To be able to run the script and logout out you can use this: "nohup python dbus-pvoutput-p3.py &" NOTE: if GX reboots you need to run the script again or you need to add the script so that it runs on reboot as well.
  • FIX permissions of script : chmod ug+x /data/home/root/dbus-pvoutput/dbus-pvoutput-p3.py
  • Config.ini NEEDS to have proper permissions to avoid errors. i had to chmod 777 in order to stop the nosection found error....
  • Add to /data/rc.local so it runs on every boot this : su root -c "screen -dm -S pvoutput python /data/home/root/dbus-pvoutput/dbus-pvoutput-p3.py"

About

Victron Single Phase pvoutput

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages