development status!! use at your own risk!
Splitter for Viessmann Optolink connection Einführungsvideo
- clone files on your Pi (or other Linux or Win computer)
- adjust settings in settings_ini.py
- run Python script optolinkvs2_switch.py (better run it as a service)
- feel confortable :-)
important
regard power-on sequence at start-up:
- connect all the wires and plugs
- power on Raspi
- run script, wait for prompt "awaiting VS2..."
- power on Vitoconnect
- Python (not too outdated)
- if MQTT is used: phao mqtt (pip install paho-mqtt)
- 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)
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.
discussion, contact -> dicussions
issues and bug reports -> issues
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
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):
- serielle Anschlüsse herstellen (* siehe unten)
- serlog.py starten (bzw. optolinkvs2_swich)
- Vitoconnect mit Spannung versorgen
- 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