Skip to main content

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

Project description

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 optolink2mqtt

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.0.tar.gz (187.4 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.0-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: viessmann_optolink2mqtt-0.1.0.tar.gz
  • Upload date:
  • Size: 187.4 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.0.tar.gz
Algorithm Hash digest
SHA256 bbac3f86a66d841e878c57221eb7ebfc0fbc1f81e33cc22b790baf2ab620e3cd
MD5 ef74dfbd58de37a9ebb1c6f527aa6c4f
BLAKE2b-256 224bb51599809c407e1235bc091a2863f6934546abfe5c104ac31561212d4164

See more details on using hashes here.

Provenance

The following attestation bundles were made for viessmann_optolink2mqtt-0.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for viessmann_optolink2mqtt-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 780dafce0cabb791e241e05ed314f6c54ecdb2e66a34c4ed146cab4ad573e29d
MD5 3e819503fb888568a5362a25370566a2
BLAKE2b-256 08162ca9ba7819db70b15f8f09f01c5d131e48bd4267c5f5a23790719f474071

See more details on using hashes here.

Provenance

The following attestation bundles were made for viessmann_optolink2mqtt-0.1.0-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