HM-CFG-LAN + Raspberry anlernen gelingt nicht

Begonnen von wange1, 16 Februar 2014, 16:54:53

Vorheriges Thema - Nächstes Thema

wange1

Habe ein HM-CFG-LAN und Fhem auf Raspberry. Unter HMLAN gibt es einen Eintrag HMLAN1 der Staus opened hat.
Nach "set HMLAN1 hmPairForSec 60" drücke ich an einem Türkontakt den Lernschalter. Der blikt dann gelb und beendet mit roter LED.
Es gibt keinerlei Anzeichen, dass Fhem da irgendwas mitbekommen hätte.
Auch "set HMLAN1 hmPairSerial KEQ1026104" ohne erkennbares Feedback.
Autocreate ist aktiv.

--------------------------------------------------------------------------------------- 
Ich habe allerdings im Log folgende Meldungen
2014.02.16 15:19:41.940 1: 192.168.0.23:1000 disconnected, waiting to reappear
2014.02.16 15:19:41.949 2: HMLAN_Parse: HMLAN1 new condition disconnected
2014.02.16 15:19:42.056 1: 192.168.0.23:1000 reappeared (HMLAN1)
2014.02.16 15:19:42.060 2: HMLAN_Parse: HMLAN1 new condition init
2014.02.16 15:20:11.085 1: 192.168.0.23:1000 disconnected, waiting to reappear
2014.02.16 15:20:11.092 2: HMLAN_Parse: HMLAN1 new condition disconnected
2014.02.16 15:20:11.200 1: 192.168.0.23:1000 reappeared (HMLAN1)
2014.02.16 15:20:11.203 2: HMLAN_Parse: HMLAN1 new condition init

Im Event monitor sehe ich leider auch nur
2014-02-16 15:24:33.602 HMLAN HMLAN1 DISCONNECTED
2014-02-16 15:24:33.610 HMLAN HMLAN1 cond: disconnected
2014-02-16 15:24:33.610 HMLAN HMLAN1 Xmit-Events: disconnected:1
2014-02-16 15:24:33.610 HMLAN HMLAN1 prot_disconnected: last
2014-02-16 15:24:33.722 HMLAN HMLAN1 cond: init
2014-02-16 15:24:33.722 HMLAN HMLAN1 Xmit-Events: init:1
2014-02-16 15:24:33.722 HMLAN HMLAN1 prot_init: last
2014-02-16 15:24:33.728 HMLAN HMLAN1 CONNECTED
---------------------------------------------------------------------------------------


Mit Windows HomeMatic Konfigurator konnte ich alle meine Geräte anlernen.

Mein fhem.cfg sieht so aus:
---------------------------------------------------------------------------------------
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\\
\\
WEB,WEBphone,WEBtablet has no basicAuth attribute.\\
telnetPort has no password/globalpassword attribute.\\
\\
Restart fhem for a new check if the problem is fixed,\\
or set the global attribute motd to none to supress this message.\\

attr global mseclog 1
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle icon sortby webCmd
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define WEBphone FHEMWEB 8084 global
attr WEBphone stylesheetPrefix smallscreen

define WEBtablet FHEMWEB 8085 global
attr WEBtablet stylesheetPrefix touchpad

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate verbose 5

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

define HMLAN1 HMLAN 192.168.0.23:1000
attr HMLAN1 hmId 852258
attr HMLAN1 hmLanQlen 1_min
attr HMLAN1 wdTimer 25
---------------------------------------------------------------------------------------

Ich habe mich sehr bemüht im Forum und Wiki eine Lösung zu finden.

Wie kann ich hier weitere Diagnose machen?

martinp876


Puschel74

Hallo,

sorry wenn ich quer schiesse - ich hab den Beitrag auch schon verschoben aber ...
OT
ZitatWie kann ich hier weitere Diagnose machen?
Schau dir über den Smileys mal die Zeichen bitte durch.
Das "Raute-Zeichen" steht für Code-Tags, das "Sprechblase-Zeichen" für Zitat-Tags.

Das würde dann evtl. so aussehen:
Zitat2014.02.16 15:19:41.940 1: 192.168.0.23:1000 disconnected, waiting to reappear
2014.02.16 15:19:41.949 2: HMLAN_Parse: HMLAN1 new condition disconnected
2014.02.16 15:19:42.056 1: 192.168.0.23:1000 reappeared (HMLAN1)
2014.02.16 15:19:42.060 2: HMLAN_Parse: HMLAN1 new condition init
2014.02.16 15:20:11.085 1: 192.168.0.23:1000 disconnected, waiting to reappear
2014.02.16 15:20:11.092 2: HMLAN_Parse: HMLAN1 new condition disconnected
2014.02.16 15:20:11.200 1: 192.168.0.23:1000 reappeared (HMLAN1)
2014.02.16 15:20:11.203 2: HMLAN_Parse: HMLAN1 new condition init
attr global mseclog 1
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global userattr devStateIcon devStateStyle icon sortby webCmd
attr global verbose 3

Ich hab jetzt einfach nur willkürlich was aus deinem Beitrag genommen und in besagte Tags gesetzt.
Ich finde mit Tags sieht der Text einfach leserlicher aus  ;)
BTT - und sorry nochmal.

Grüße
Zotac BI323 als Server mit DBLog
CUNO für FHT80B, 3 HM-Lan per vCCU, RasPi mit CUL433 für Somfy-Rollo (F2F), RasPi mit I2C(LM75) (F2F), RasPi für Panstamp+Vegetronix +SONOS(F2F)
Ich beantworte keine Supportanfragen per PM! Bitte im Forum suchen oder einen Beitrag erstellen.

wange1

Hallo Martin

attr global mseclog 1
hatte ich ja schon drin
attr global mseclog 3
habe ich wieder auf
attr global mseclog 1
geändert

aber beim Versuch

define HMLAN1 HMLAN 192.168.0.23:1000
attr HMLAN1 hmId 852258
attr HMLAN1 hmLanQlen 1_min
attr HMLAN1 wdTimer 25
attr HMLAN1 logIDs all,sys


bekomme ich Fehlermeldung:
ZitatERROR:
HMLAN1: unknown attribute logIDs, choose one of verbose:0,1,2,3,4,5 room group comment alias eventMap userReadings do_not_notify:1,0 dummy:1,0 loglevel:0,1,2,3,4,5,6 addvaltrigger hmId hmKey hmKey2 hmKey3 respTime wdStrokeTime:5,10,15,20,25 hmProtocolEvents:0_off,1_dump,2_dumpFull,3_dumpTrigger hmLanQlen:1_min,2_low,3_normal,4_high,5_critical wdTimer event-on-change-reading event-on-update-reading event-min-interval stateFormat devStateIcon devStateStyle icon sortby webCmd or use attr global userattr logIDs

auf http://192.168.0.22:8083/fhem?detail=HMLAN1
wird mir im der Attribut Pulldown auch nicht die Auswahl logIDs angeboten
Was mache ich falsch?
Ich hoffe, die Lesbarkeit meiner Beiträge verbessert zu haben.



betateilchen

mach mal bitte ein

version .*HM.*

und poste die Ausgabe. Da sollte etwas in der Art

# $Id: 10_CUL_HM.pm 4945 2014-02-15 22:34:51Z martinp876 $
# $Id: 00_HMLAN.pm 4912 2014-02-13 19:33:59Z martinp876 $


rauskommen.
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

wange1

Hallo Elektron oder Positron (sind seltener)

Abfrage liefert bei mir
version .*HM.*
# $Id: 10_CUL_HM.pm 3968 2013-09-28 14:49:43Z martinp876 $
# $Id: 00_HMLAN.pm 3968 2013-09-28 14:49:43Z martinp876 $


Hatte heute Morgen noch eine Idee, die ich jetzt zu Hause gecheckt habe.
Ich hatte in der super Anleitung von www.meintechblog.de mehrmals über die Stelle gelesen wo gewarnt wird, dass da keine Encryption aufgedreht sein darf. Ich war felsenfest der Meinung keine Encryption aktiviert zu haben, was aber falsch war, weil das der Default bei Inbetriebnahme des HM-CFG-LAN ist. Ich konnte mich lediglich erinnern, in Windows Konfigurator unter Menü Einstellungen ganz sicher keinen Sicherheitschlüssel aktiviert zu haben. Habe jetzt bemerkt, dass das zwei verschiedene Dinge sind.
Nun habe ich in der Installationsanleitung nochmal die Stelle aufgesucht und da ist das klipp und klar beschrieben. Na ja - lesen hilft  :-[
Als absoluter Neuling gibts da eine ganze Menge einzulesen.

Danke! für eure Hilfe.

betateilchen

September 2013?

dann ist aber ein Update die einzige Super-Idee
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!