Velux KLF200 mit Firmware 2.0.0.71 für io-homecontrol

Begonnen von buennerbernd, 06 November 2018, 16:43:00

Vorheriges Thema - Nächstes Thema

SparcWolf

Wurde im FHEM das Passwort für die KLF200 gespeichert?
--- snip ---
set <name> login [<password>]

As password use the Wifi password, printed at the bottom of the box. If this doesn't work, please try the password of the WebUI of the KLF200. The password will be stored obfuscated in the FHEM backend and is optional for further login calls.
--- snip ---

VG,
Guido.

postman

Hallo Marcel,
Hast Du die klf200 mit dem LAN verbunden? Ich vermute das mal, denn die WLan Verbindung dient nur der Konfiguration der klf200. Um Dich mit FHEM anzumelden, versuche mal die Passwörter, die hinten auf dem Gehäuse stehen. Ich bin mir im Moment nicht sicher, ob das das WLan-Passwort oder das Passwort für die Weboberfläche der KLF200 ist. Das musst Du ausprobieren.
Eines funktioniert jedenfalls, zumindest bei mir. Bei mir läuft die jetzt seit 2020 störungsfrei.

Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...

Supermarc1

#992
Hallo Zusammen,

vielen Dank für die Hinweise! Hab das alles nochmal beachtet. Hab die KLF200 neu gestartet und mit der KLF200 direkt über LAN verbunden und bin nochmal in die Velux Config eingestiegen, um die statische IP-Adresse zu prüfen.

Danach hab ich das LAN-Kabel abgezogen und bin über den Loxberry in das fhem Plugin eingestiegen. Dann war ich tatsächlich kurz über FHEM mit der KLF200 verbunden. Als ich dann versucht habe die Fenster zu öffnen ist die Verbindung allerdings abgebrochen.

Folgendes steht in der config:
2025.02.05 17:49:10 1: KLF200 (Velux) - connectionBroken -> closed connection
2025.02.05 17:49:10 1: KLF200 (Velux) - connectionBroken -> reopen connection in 5 seconds
2025.02.05 17:58:38 0: Strange call for nonexistent Velux: ReadyFn
2025.02.05 17:58:38 1: stacktrace:
2025.02.05 17:58:38 1:     main::CallFn                        called by fhem.pl (855)
2025.02.05 17:58:43 3: Opening Velux device 192.168.178.49:51200
2025.02.05 17:58:46 1: Velux: Can't connect to 192.168.178.49:51200: 192.168.178.49: No route to host (113)
2025.02.05 17:59:32 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 17:59:59 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 18:00:36 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 18:01:17 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 18:01:50 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 18:02:06 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 18:09:49 1: 192.168.178.49:51200 reappeared (Velux)
2025.02.05 18:09:50 2: autocreate: define Velux_0 KLF200Node 192.168.178.49:51200 0
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_0 FileLog ./log/Velux_0-%Y.log Velux_0
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_1 KLF200Node 192.168.178.49:51200 1
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_1 FileLog ./log/Velux_1-%Y.log Velux_1
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_2 KLF200Node 192.168.178.49:51200 2
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_2 FileLog ./log/Velux_2-%Y.log Velux_2
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_3 KLF200Node 192.168.178.49:51200 3
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_3 FileLog ./log/Velux_3-%Y.log Velux_3
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_4 KLF200Node 192.168.178.49:51200 4
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_4 FileLog ./log/Velux_4-%Y.log Velux_4
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_5 KLF200Node 192.168.178.49:51200 5
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_5 FileLog ./log/Velux_5-%Y.log Velux_5
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_6 KLF200Node 192.168.178.49:51200 6
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_6 FileLog ./log/Velux_6-%Y.log Velux_6
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_7 KLF200Node 192.168.178.49:51200 7
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_7 FileLog ./log/Velux_7-%Y.log Velux_7
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_8 KLF200Node 192.168.178.49:51200 8
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_8 FileLog ./log/Velux_8-%Y.log Velux_8
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_9 KLF200Node 192.168.178.49:51200 9
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_9 FileLog ./log/Velux_9-%Y.log Velux_9
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_10 KLF200Node 192.168.178.49:51200 10
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_10 FileLog ./log/Velux_10-%Y.log Velux_10
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_11 KLF200Node 192.168.178.49:51200 11
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_11 FileLog ./log/Velux_11-%Y.log Velux_11
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_12 KLF200Node 192.168.178.49:51200 12
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_12 FileLog ./log/Velux_12-%Y.log Velux_12
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_13 KLF200Node 192.168.178.49:51200 13
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_13 FileLog ./log/Velux_13-%Y.log Velux_13
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_14 KLF200Node 192.168.178.49:51200 14
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_14 FileLog ./log/Velux_14-%Y.log Velux_14
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_15 KLF200Node 192.168.178.49:51200 15
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_15 FileLog ./log/Velux_15-%Y.log Velux_15
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_16 KLF200Node 192.168.178.49:51200 16
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_16 FileLog ./log/Velux_16-%Y.log Velux_16
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 18:09:50 2: autocreate: define Velux_17 KLF200Node 192.168.178.49:51200 17
2025.02.05 18:09:50 2: autocreate: define FileLog_Velux_17 FileLog ./log/Velux_17-%Y.log Velux_17
2025.02.05 18:09:50 1: KLF200 (Velux) - new Node found, updateAll
2025.02.05 20:02:30 1: 192.168.178.49:51200 disconnected, waiting to reappear (Velux)
2025.02.05 20:02:35 1: KLF200 (Velux) - connectionBroken -> closed connection
2025.02.05 20:02:35 1: KLF200 (Velux) - connectionBroken -> reopen connection in 5 seconds
2025.02.05 20:02:40 1: 192.168.178.49:51200 reappeared (Velux)
2025.02.05 20:02:45 1: 192.168.178.49:51200 reappeared (Velux)
2025.02.05 20:02:45 1: KLF200 (Velux) - reboot started, reconnect in 30 seconds
2025.02.05 20:03:20 1: 192.168.178.49:51200 reappeared (Velux)
2025.02.05 20:08:08 2: AttrTemplates: got 264 entries
2025.02.05 20:09:20 1: KLF200 (Velux) - connectionBroken -> closed connection
2025.02.05 20:09:20 1: KLF200 (Velux) - connectionBroken -> reopen connection in 5 seconds
2025.02.05 20:18:28 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 20:19:15 1: KLF200 (Velux) Command skipped, not logged in
2025.02.05 20:20:57 1: KLF200 (Velux) Command skipped, not logged in

Irgendwie wird die Verbindung nicht gehalten... VG Marcel

postman

#993
Hallo Marcel,
ich glaube, ich habe es nicht klar ausgedrückt: Das Lan-Kabel darfst Du nicht abziehen!!!! Um eine Verbindung zur klf200 aufnehmen zu können, ist es notwendig diese am LAN zu betreiben. WLAN funktioniert nicht, das schaltet sich standardmäßig nach ca. 10 Min. ab. Eine stabile Verbindung von FHEM zur klf200 bekommst Du nur über Lan. Die IP. die du überprüft hast, ist die Lan-Verbindung. WLAN dient bei der klf200 ausschließlich zur Konfiguration oder dem Einbinden neuer Komponenten. Außerdem vergibt die klf200 bei der WLAN Verbindung die Ip-Adresse. In der Bedienungsanleitung auf Seite 2 wird auf eine zweite Anleitung hingewiesen. Da steht wörtlich: Dieses Heftchen hilft Ihnen mit der Einstellung des Interfaces über ein Tablet, Computer oder Smartphone und ermöglicht es Ihnen, weitere Interface-Einstellungen vorzunehmen.
Versuch einfach mal die klf200 über Lan zu betreiben und gib in FHEM die Lan-IP an. Mit einem der beiden auf der klf200 vermerkten Passworte sollte es dann auch funktionieren. Leider heißt das, das Du die klf200 immer in Reichweite es Lan-Anschlusses betreiben musst.

Hier mal meine Konfig, wie ich die Box angeschlossen habe:
in FHEM habe ich diese Einstellung im Devicename: IP-Adresse des Lan-Anschlusses:51200. IP-Adresse habe ich fest über DHCP zugewiesen.
zum Schluß noch einmal den Verweis von der ersten Seite auf das Wiki https://wiki.fhem.de/wiki/Velux_KLF200
Vielleicht hilft das ein wenig.


Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...

Supermarc1

Hi Postman,
vielen Dank für die Klarstellung!
Probier ich gleich morgen Abend Mal aus. Viele Grüße Marcel

Supermarc1

Hi Postman,

es hat geklappt!!! Die statische IP-Adresse im Velux UI hatte ich bereits. Aber das Rezept war dann schlussendlich ...
- die fixe LAN-Verbindung zur KLF200,
- darauf zu Achten, dass die Velux KLF 200 als WLAN-Verindung aktiv angezeigt wird
- Verwenden des "Password" und NICHT den "Web Logon" im FHEM Plugin

Nochmals vielen Dan für deinen Support!!! VG Marcel

postman

Hallo Marcel,
habe gern geholfen. Freut mich das es nun funktioniert.
Gruß
Raspberry Pi Version 2 QUAD-CORE CPU und 1 GB RAM, CUL V3 868 MHz,  stapelbarer CC1101 (SCC) 433 MHz, Enocean-Stick,Jeelink-Stick, BSB-Lanadapter

Spruch eines Ausbilders: Theorie ist, wenn man alles weiss und nichts funktioniert; Praxis ist, wenn alles funktioniert und keiner weiss warum...