Skip to content

philippoo66/optolink-splitter

Repository files navigation

optolink-switch/splitter

development status!! use at your own risk!

grafik

Splitter for Viessmann Optolink connection Einführungsvideo

usage:

  1. clone files on your Pi (or other Linux or Win computer)
  2. adjust settings in settings_ini.py
  3. run Python script optolinkvs2_switch.py (better run it as a service)
  4. feel confortable :-)

important

regard power-on sequence at start-up:

  1. connect all the wires and plugs
  2. power on Raspi
  3. run script, wait for prompt "awaiting VS2..."
  4. power on Vitoconnect

sw requirements

  • Python (not too outdated)
  • if MQTT is used: phao mqtt (pip install paho-mqtt)

hardware requirements

  • Raspi or other computer
  • Viessmann Optolink generation device (Vitodens, Vitocal, Vitocrossal, ...)
  • Optolink r/w head (original from Viessmann, one of all the self-mades, probably a r/w head for volkszähler may work, too, if distance of LEDs gets adjusted (8€))
  • if Vitoconnect gets included: USB connection to Vitoconnect utilizing a CP2102 chip(!) (e.g. this)

command syntax MQTT, TCP/IP requests

details see here

  • read ambient temperature, scaled with sign:

    • cmnd = read;0x0800;2;0.1;true
    • resp = 1;2048;8.2
  • read DeviceIdent as raw:

    • cmnd = read;0xf8;8
    • resp = 1;248;20CB1FC900000114
  • write hotwater temperature stepoint:

    • cmnd = write;0x6300;1;45
    • resp = 1;25344;45

(be careful, in case of failure don't panic, see here (pg 2, relatively far down))

more regarding syntax see here: https://github.com/philippoo66/optolink-splitter/wiki#syntax

important

When using PuTTY or some like that, the session must be closed by sending exit (as string), because PuTTY seems not to send the FIN-Flag on getting closed.

questions, issues

discussion, contact -> dicussions

issues and bug reports -> issues

version key

Vers. 1.0.0.0
      | | | |- minor revision:
      | | |    enhancements, twaeks, mods, bug fixes, no compatibility issues
      | | |- major revision:
      | |    structure/content changes, e.g. settings_ini not compatible or module added etc. or functionality added
      | |- minor version:
      |    major functionality added
      |- major version:
         program liftet to a new level

more pictures

grafik

old stuff

serlog.py is only a logging bridge to see what's going on between Vitconnect and the Optolink device.

serlog.py usage (gleiche Reihenfolge bei optolinkvs2_swich):

  1. serielle Anschlüsse herstellen (* siehe unten)
  2. serlog.py starten (bzw. optolinkvs2_swich)
  3. Vitoconnect mit Spannung versorgen
  4. mir den Log schicken ;-) (vorher natürlich ein Weilchen laufen lassen und auch ViCare benutzen)

beim Herstellen der seriellen Verbindungen beachten:

  • beim Vitoconnect vorher die Spannungsversorgung trennen (damit es erst anfängt wenn wir schon lauschen)
  • beim USB2TTL a) auf 3.3V jumpern (Raspi UART arbeitet mit 3.3V) b) +Vcc nicht verbinden (Raspi hat sein eigenes Netzteil) c) Tx/Rx zwischen Raspi und USB2TTL natürlich kreuzen

Releases

No releases published

Packages

No packages published

Languages