Skip to main content

Open source interface between a Viessmann device (heat pump, gas heater, etc) and MQTT

Project description

GitHub Tag PyPI - Version

viessmann-optolink2mqtt

Open source interface between a Viessmann device (heat pump, gas heater, etc) and MQTT.

Architecture

Architecture

Hardware

  • A Single Board Computer (SBC) which is capable of running Python and has a USB-A connector (if you plan to use the original Viessmann Optolink USB cable)
  • The Optolink USB cable to read/write; you have two main options: a) buy the original Viessmann cable on specialized shops such as https://www.loebbeshop.de/; see exact item here or b) build your own cable, more details available from other tinkerers like MyVitotronicLogger or at Optolink splitter readme

Installation

This project supports 2 main installation methods: PyPi and Docker. Both methods are meant to be used from a Linux Operating system which has the USB/DIY cable attached (see "Hardware" section above).

Pypi package

python3 -m venv optolink2mqtt-venv
source optolink2mqtt-venv/bin/activate
pip install viessmann-optolink2mqtt

optolink2mqtt --help

Docker

Just use:

docker run -d -v <your config file>:/etc/optolink2mqtt/optolink2mqtt.yaml \
    --hostname $(hostname) \
    --name optolink2mqtt \
    ghcr.io/f18m/optolink2mqtt:latest

Configuration file

This software accepts a declarative configuration in YAML format. Please look at the optolink2mqtt.yaml file as reference source for the syntax.

How to discover register addresses

TO BE WRITTEN

Related projects

  • Optolink Splitter: this is the original project that inspired this one
  • Optolink Bridge: inspired from the "Optolink Splitter"; requires you to own a VitoConnect device and allows you to setup a "man in the middle" device
  • openv vcontrold: seems abandoned but contains a C-based implementation of the VS1 and VS2 protocols apparently. Its wiki has plenty of details although in German
  • VitoWiFi: a C++ implementation of VS1 (KW) and VS2 (P300) Optolink protocols, for use on ESP microcontrollers but also Linux systems

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viessmann_optolink2mqtt-0.1.1.tar.gz (187.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viessmann_optolink2mqtt-0.1.1-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file viessmann_optolink2mqtt-0.1.1.tar.gz.

File metadata

  • Download URL: viessmann_optolink2mqtt-0.1.1.tar.gz
  • Upload date:
  • Size: 187.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for viessmann_optolink2mqtt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 18577842dd0e8341ddfed13a84605cf32045361c1f5e4804985c16f236a4d28e
MD5 198fda72d41ef2c52b8a2427fb8f7d7c
BLAKE2b-256 d6c6f8dd1eb2e5c6717db6acd60006926cb6c1617fb4a27c0776f53c7d0c6dc6

See more details on using hashes here.

Provenance

The following attestation bundles were made for viessmann_optolink2mqtt-0.1.1.tar.gz:

Publisher: pypi-release.yml on f18m/viessmann-optolink2mqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file viessmann_optolink2mqtt-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for viessmann_optolink2mqtt-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bad1f6e55bf0f56d5be63647523d7aa396fc940295cac2ab453b5db0c140507e
MD5 8562ca100eb508aa45662e5f862eb488
BLAKE2b-256 31325eca21e2e7b0bfc37c8e95c14816fb50d19dfa9eb95622c31383ffa411c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for viessmann_optolink2mqtt-0.1.1-py3-none-any.whl:

Publisher: pypi-release.yml on f18m/viessmann-optolink2mqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page