Viessman Optolink Adapter: Platinenbestellung + Fertigung

Begonnen von PeMue, 30 März 2016, 20:27:41

Vorheriges Thema - Nächstes Thema

PeMue

#706
Hallo zusammen,

kurzer Status der letzten Tage:
- 22 Adapter zusammengelötet und getestet
- 4 kann ich leider nicht komplettieren, da mir die ESP8266 ESP01 fehlen (sind aber nach bestellt)
- 5 muss ich noch testen bzw. "einhausen"
- 13 Forumsmitglieder angeschrieben, die Rückmeldung ist etwas zögerlich

Jetzt muss ich erst mal wieder Platinen und Bauteile bestellen. Die 1-wire Dokumentation folgt in den nächsten Tagen. Erstaulicherweise geht de Software auch mit 5 s Sendeintervall  :o, was ich aber nicht empfehlen würde (20 s ist das Minimum wie gewünscht). Siehe auch die Logs:

Aktualisierung der Heizungswerte:
Brenner               off       2019-04-24 13:15:54
BrennerStarts         24008     2019-04-24 13:15:57
BrennerStartsDayStart 24006.00  2019-04-24 13:15:57
BrennerStartsToday    2.00      2019-04-24 13:15:57
BrennerStoerung       0         2019-04-24 13:16:37
BrennerStunden        11036.74  2019-04-24 13:16:12
BrennerStunden2       58.11     2019-04-24 13:16:15
BrennerStundenDayStart11035.77  2019-04-24 13:16:12


Währenddessen kamen auch die Werte von 4 (max. 5) Temperatursensoren:
2019-04-24 13:15:02 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 139
2019-04-24 13:15:02 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:02 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:02 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:02 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.00
2019-04-24 13:15:02 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804
2019-04-24 13:15:07 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 140
2019-04-24 13:15:07 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:07 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.19
2019-04-24 13:15:07 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:07 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.00
2019-04-24 13:15:07 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.805
2019-04-24 13:15:12 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 141
2019-04-24 13:15:12 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:12 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:12 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:12 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:12 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.805
2019-04-24 13:15:17 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 142
2019-04-24 13:15:17 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:17 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:17 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.12
2019-04-24 13:15:17 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:17 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.805
2019-04-24 13:15:22 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 143
2019-04-24 13:15:22 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:22 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:22 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:22 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:22 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804
2019-04-24 13:15:27 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 144
2019-04-24 13:15:27 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:27 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:27 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:27 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:27 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804
2019-04-24 13:15:32 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 145
2019-04-24 13:15:32 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:32 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:32 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.12
2019-04-24 13:15:32 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:32 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804
2019-04-24 13:15:42 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 147
2019-04-24 13:15:42 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:42 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:42 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:42 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:42 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.806
2019-04-24 13:15:47 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 148
2019-04-24 13:15:47 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:47 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:47 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.12
2019-04-24 13:15:47 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:15:47 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.805
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 149
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.00
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804
2019-04-24 13:15:52 KeyValueProtocol KeyValueProtocol_THz_1 complete: cnt 149 T1 20.1 T2 20.2 T3 20.0
2019-04-24 13:15:57 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 150
2019-04-24 13:15:57 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:15:57 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:15:57 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.12
2019-04-24 13:15:57 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.00
2019-04-24 13:15:57 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804
2019-04-24 13:16:02 KeyValueProtocol KeyValueProtocol_THz_1 cnt: 151
2019-04-24 13:16:02 KeyValueProtocol KeyValueProtocol_THz_1 109E85B700080021: 20.12
2019-04-24 13:16:02 KeyValueProtocol KeyValueProtocol_THz_1 10C175B5020800C5: 20.25
2019-04-24 13:16:02 KeyValueProtocol KeyValueProtocol_THz_1 288243A800000088: 20.06
2019-04-24 13:16:02 KeyValueProtocol KeyValueProtocol_THz_1 288B22A8000000C2: 20.06
2019-04-24 13:16:02 KeyValueProtocol KeyValueProtocol_THz_1 t_mess: 0.804


Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

PeMue

Hallo zusammen,

ich habe im ersten Post aufgeäumt und alle User nach unten geschoben, die nicht mehr existieren. Falls jemand doch noch im Forum unterwegs sein sollte oder seinen Usernamen gewechselt hat, bitte um Rückmeldung (hier oder per PM).
Danach werden noch ca. 40 Adapter gebraucht, tendenziell gehe ich von ca. 10-20 % der User aus, die sich nicht melden werden. Daher werde ich noch max. 50 Leiterplatten bestellen und dann ist Schluss - der Aufwand für den Aufbau und die Testerei ist mir auf Dauer zu hoch.
Die Leiterplattendaten, Software, etc. werde ich auf Github bereitstellen, so dass einem eigenständigen Nachbau nichts im Wege stehen sollte.

Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

ulli

Ums mal zu sagen, top Leistung/Einsatz die du da erbringst

PeMue

#709
Optolink: Anleitung für 1-wire Temperaturmessung

Hardware
  • 1-wire Temperatursensoren wie im Bild anschließen (4k7 pull-up ist schon vorhanden), die Hinweise von Maxim/Dallas beachten
  • Optolink Adapter auf die Regelung stecken
  • Netzteil an den Optolink Adapter anschließen
Software

  • für das KVP Modul eine Linux Bibliothek nachinstallieren
sudo apt-get install libio-socket-multicast-perl

  • Modul 36_KVPUDP.pm von hier herunterladen
  • das Modul in das Verzeichnis ./FHEM kopieren (bei Raspberry Pi z.B. /opt/fhem/FHEM), ggf. die Rechte anpassen
  • FHEM neu starten
  • WLAN Netz vitotronic-interface suchen und verbinden (pw: vitotronic) (siehe Bilder)
  • die Eingaben von SSID/Passwort, etc. machen, anschließend -> submit
  • ggf. den Optolink Adapter kurz vom Strom trennen
  • in FHEM:
define <name> KVPUDP

  • der Rest sollte per autocreate angelegt werden wenn der Optolink Adapter sendet

Ich habe noch ein userreading angelegt:
attr <name>_THz_1 userReadings complete { sprintf("cnt %u T1 %3.1f T2 %3.1f T3 %3.1f", ReadingsVal("$name", "cnt", 0), ReadingsVal("$name", "109E85B700080021", 0), ReadingsVal("$name", "10C175B5020800C5", 0), ReadingsVal("$name", "288B22A8000000C2", 0));; }
hier muss man die 1-wire IDs durch die eigenen ersetzen und sprechende Namen vergeben.
Das logging habe ich auf complete mit entsprechendem Zeitintervall gemacht.

Die Adapter sind mit der Software v2.0 geflasht.

Eventuell auftretende Probleme bitte hier posten.

Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

PeMue

So, ich habe heute noch etwas an der Software gedreht:
- die Version wird auch schon auf der Setup Seite angezeigt
- in der v2.1 wird der Zyklus Zähler alle 24 h zurück gesetzt (die Variable ist zwar unsigned long, aber irgendwann gibt es den Überlauf und so große Zahlen mag keiner haben)

Das OTA-Flashen funktioniert wunderbar, Details gibt es in einem extra Thread, dito für die binaries.
Und: die 1-wire Messung läuft erstaunlich stabil  ;D.

Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

Maui

#711
Moin Peter,

ich habe mich jetzt mal an deinem Sketch probiert (v2.0 obwohl ich kein 1wire nutze)
Habe ihn allerdings auf einen Wemos D1 Mini geflasht. Hotspot kam und hab SSID und PW eingestellt. Hat auch per DHCP eine Adresse bezogen und wird von Arduino IDE als Netzwerk-Port erkannt.
Allerdings bekomme ich in FHEM keine Antwort über kvp. Bei mir sind die LED und der Transistor über RX und TX verdrahtet. Dein Schaltplan sieht so aus, als wäre es bei dir genauso.
Per telnet komme ich auch mit Port 81 drauf, allerdings tut sich dann nix mehr.
Hast du eine Idee? Ich weiß, ist nicht deine HW, aber vielleicht fällt dir ja trotzdem etwas ein.
Die Kommunikation mit der Heizung funktioniert natürlich an sich, also mit meinem hier geposteten Sketch.
Meine Ideen wären:
1) andere Verkabelung in deinem sketch
2) Der Wemos ist bisschen anders und verträgt den Sketch nicht komplett

Gibt es eine Möglichkeit bei deinem Sketch zu loggen?

PS: Bei der Anleitung würde ich noch die Installation von
sudo apt-get install libio-socket-multicast-perl dazuführen, der Vollständigkeit halber :)

PeMue

#712
Hallo Maui,

Zitat von: Maui am 27 April 2019, 19:44:44
... (v2.0 obwohl ich kein 1wire nutze) ...

Allerdings bekomme ich in FHEM keine Antwort über kvp.
ja, da kommt dann auch nichts. Der Sketch macht zwei Dinge:
- er stellt einer seriell/WLAN Bridge mit 4800/2/E über WLAN her (default Port 81) und
- er schreibt die 1-wire Messwerte über UDP an das KVP Modul.
Insofern alles korrekt.
Wenn Du Dich über PuTTY auf die WLAN Verbindung (raw und den eingestellten Port (81 default) einloggst, müsstest Du alle 5 s das Steuerzeichen der Heizung mitkriegen (es erscheint dann PuTTY in der Konsole).

Zitat von: Maui am 27 April 2019, 19:44:44
PS: Bei der Anleitung würde ich noch die Installation von
sudo apt-get install libio-socket-multicast-perl dazuführen, der Vollständigkeit halber :)
Danke für den Hinweis, ich packe es oben mit rein habe es oben mit reingepackt.

Gruß Peter

PS: Wenn Du doch noch einen Adapter willst, ich nehme Dich gerne wieder in die Liste auf  :)
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

Maui

#713
Man sollte schon richtig lesen, also die Überschrift bei der Anleitung.
Danke Peter, als Fallback komme ich auf den Adapter zurück aber ich möchte mir noch 2 Tage selbst die Zähne ausbeißen.
Also braucht man kvp nur für 1wire. Und für den Heizungsteil dann trotzdem den vcontrold und eines der Module wie von andies geschrieben?

Danke für deine Geduld. Ich seh den Urwald vor lauter Blättern nicht.

Edit: Oder anders gefragt: Nehmen wir an ich hätte deine Variante des OptoLink, was bräuchte ich an zusätzlicher Software und evtl. Hardware?!

Edit2: Houston, wir haben Kontakt. :) Mit vcontrol klappt es.

PeMue

#714
Flashen (OTA) des Optolink Adapters

  • Flash Tool von hier herunterladen: https://1st.bitbumper.de/ota-firmware-update-tool-for-esp8266/ (64-bit Windows erforderlich) und starten
  • Optolink Adapter muss konfiguriert sein, so dass er im WLAN Netz erkannt wird
  • IP Adresse des Optolink Adapters ermitteln, IP Adresse sowie Pfad zur neuen Firmware angeben (siehe Bild), Port bleibt auf 8266
  • Flash drücken
  • falls das Flashen nicht funktioniert, Optolink Adapter kurz vom Strom trennen und noch einmal probieren

Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

ulli

#715
Habe gerade das Modul an der Heizung montiert.
Ich komme es in meinem WLAN anmelden nur funktioniert die Einbundung in FHEM nicht.
define Vissmann VCONTROL 192.168.188.21:3002 /opt/fhem/FHEM/V200WO1B.cfg 300
für meine Vissmann 200 WB2A.

Es steht immer disconnected. (connection refused)
habt ihr einen Tip?

PeMue

Welchen Port hast Du im Web-lnterface definiert? Standard ist 81, sprich 3002 durch 81 ersetzen.

Gruß Peter
RPi3Bv1.2 rpiaddon 1.66 6.0 1xHM-CC-RT-DN 1.4 1xHM-TC-IT-WM 1.1 2xHB-UW-Sen-THPL-O 0.15 1x-I 0.14OTAU  1xCUNO2 1.67 2xEM1000WZ 2xUniroll 1xASH2200 3xHMS100T(F) 1xRFXtrx 90 1xWT440H 3xTFA30.3150 5xFA21
RPi1Bv2 LCDCSM 1.63 5.8 2xMAX HKT 1xMAX RT V200KW1 Heizung Wasser

andies

FHEM 6.1 auf RaspPi3 (Raspbian:  6.1.21-v8+; Perl: v5.32.1)
SIGNALduino (433 MHz) und HM-UART (868 MHz), Sonoff, Blitzwolf, Somfy RTS, CAME-Gartentor, Volkszähler, Keyence-Sensor, Homematic-Sensoren und -thermostat, Ferraris-Zähler für Wasseruhr, Openlink-Nachbau Viessmann

ulli

Ahh guter Tipp! Hat geklappt.
Hat wer zufallig eine passende cfg fur die WB2A?

Maui

Ich würde dir auch wenn du Signal bekommst direkt Vcontrol300 empfehlen. Viel schneller die Abfragen