Skip to main content

Viessmann Gridbox Connector

This is not an official Viessmann library

Harness the power of your photovoltaic system with the GridboxConnector library. This versatile tool taps into the same REST API as the official dashboard and app, providing you with direct access to your data from the cloud.

Whether you're a developer looking to integrate solar data into your own project, or a power user seeking command-line access, GridboxConnector has you covered. With its dual functionality, you can either embed it into your Python project as a library or use it as a standalone command-line interface (CLI) tool.

Take control of your solar data with GridboxConnector, and unlock the full potential of your photovoltaic system.

Screenshot vom mygridbox

Installation

pip install viessmann-gridbox-connector

Usage

You can use the CLI to retrieve live data from the Viessmann Gridbox API or use the GridboxConnector class in your own code.
Use your Login data from the App or from https://mygridbox.viessmann.com/login

CLI

pip install viessmann-gridbox-connector
viessmann --username <username> --password <password>

in your code

from viessmann_gridbox_connector import GridboxConnector
from importlib.resources import path
import json

with path('viessmann_gridbox_connector', 'config.json') as config_file:
    with open(config_file, 'r') as file:
        data = json.load(file)
        data["login"]["username"] = "username"
        data["login"]["password"] = "password"
        connector = GridboxConnector(data)
        # Retrieve live data
        live_data = connector.retrieve_live_data()
        print(live_data)

Example Output

{
    "consumption": 496,
    "directConsumption": 413,
    "directConsumptionEV": 0,
    "directConsumptionHeatPump": 0,
    "directConsumptionHeater": 0,
    "directConsumptionHousehold": 413,
    "directConsumptionRate": 1,
    "grid": 83,
    "gridMeterReadingNegative": 4318200000,
    "gridMeterReadingPositive": 14499360000,
    "measuredAt": "2023-08-04T11:29:43Z",
    "photovoltaic": 413,
    "production": 413,
    "selfConsumption": 413,
    "selfConsumptionRate": 1,
    "selfSufficiencyRate": 0.8326612903225806,
    "selfSupply": 413,
    "totalConsumption": 496
}

Dependencies

  • requests

Contributing

If you'd like to contribute to viessmann-gridbox-connector, please follow these steps:

Fork the repository. Create a new branch for your feature or bug fix. Make your changes and write tests if possible. Run tests and ensure they pass. Submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Metadata

Release files for viessmann-gridbox-connector 1.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for viessmann-gridbox-connector 1.7.0
File Size Uploaded
viessmann_gridbox_connector-1.7.0.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for viessmann-gridbox-connector 1.7.0
File Interpreter ABI Platform
viessmann_gridbox_connector-1.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / viessmann_gridbox_connector-1.7.0.tar.gz

Download URL viessmann_gridbox_connector-1.7.0.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4bc7df9f2df1ee3001b0b0871a0acf60749553878c03596e9bfbae67f7dcdce4
BLAKE2b-256 checksum
How to use checksums
350c464818d3d2ef5391f661be366bfe57dc744ef923f124dd7f549687985fb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 27, 2024.

Transparency log

Release files / viessmann_gridbox_connector-1.7.0-py3-none-any.whl

Download URL viessmann_gridbox_connector-1.7.0-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ed067b78d933d6c8363df597b144e8816adba2baa4b0b965670ee30c02cf8e0
BLAKE2b-256 checksum
How to use checksums
5bca5a4db3cf50914f270dda8396ca2c11db6db1f5a6131120ad4d56fd092bd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 27, 2024.

Transparency log

Release history Release notifications | RSS feed

2.0.0

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

This release

1.7.0 This release

2 release files

1.6.0

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.9

2 release files

1.3.8

2 release files

1.3.7

2 release files

1.2.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page