Python Script to read RESOL VBUS Data over LAN
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Python Script to read RESOL VBUS Data over LAN <<<<<<< HEAD

I created this script to display data from my solar installation on an info display (see


The script prints data of received VBUS messages to console in JSON format.

To use this data just call by e.g. PHP

$json = `python`

or just write JSON Data to file via:

!#/bin/sh > solar.json


Some config is needed in order to run this script:

  1. IP and port of DataLogger/VBUS_to_LAN Adapter in

  2. Number of unique messages to wait for in we need this, cause VBUS sends data in an not predictable way. To receive a full output, it is neccessary to know, how many different messages are expected. Don't choose a too high number, this will cause the script to run forever. Just find out by try'n'error

  3. The spec File to use in
    Spec files are the dictionary to parse VBUS Messages. They are provided in XML by RESOL as part of the RSC (Resol Service Center) download. Just download, install (on linux use wine, it will work) and get the required file for your installation from: {Install_dir}/eclipse/plugins/de.resol.servicecenter.vbus.resol_2.0.0/

    Provided specs are in XML format. to convert you can use Also, if the "mask" entry ( should be missing, you need to set that for your system. The correct mask setting can be found here:


If anything wents wrong, xou can enable debug flag in This will print some basic information while executing the script, but will destroy the JSON output.