Skip to content

isimobile/dbus-pvoutput

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 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.

About

Victron Single Phase pvoutput

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%