Raspberry Pi 2 + Raspbian + CUL + Homematic Probleme beim pairen

Begonnen von iceget, 24 Juni 2015, 12:31:52

Vorheriges Thema - Nächstes Thema

iceget

Hallo Community,

ich habe leider folgendes Problem (hab dieses Post in den Anfängerfragen gepostet, leider konnte man mir dort nicht helfen deswegen hier nochmal mein Post):

So habs nun nochmal versucht.

1. Windows + ActivePerl + Win32::SerialPort installiert
2. update durchgeführt über Webinterface
3. folgende Konfiguration verwendet:



attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .

attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 3

define telnetPort telnet 7072 global

define WEB FHEMWEB 8083 global

define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

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

define eventTypes eventTypes ./log/eventTypes.txt

define CUL1 CUL com1@9600 1234
attr CUL1 hmId ABC123
attr CUL1 rfmode HomeMatic
define HM_2583B6 CUL_HM 2583B6
attr HM_2583B6 IODev CUL1
attr HM_2583B6 autoReadReg 4_reqStatus
attr HM_2583B6 expert 2_full
attr HM_2583B6 firmware 1.12
attr HM_2583B6 model HM-LC-SW1-PL2
attr HM_2583B6 room CUL_HM
attr HM_2583B6 serialNr KEQ0942447
attr HM_2583B6 subType switch
attr HM_2583B6 webCmd statusRequest:toggle:on:off
define FileLog_HM_2583B6 FileLog ./log/HM_2583B6-%Y.log HM_2583B6
attr FileLog_HM_2583B6 logtype text
attr FileLog_HM_2583B6 room CUL_HM


log: HM_2583B6-2015.log:

2015-06-23_23:36:42 HM_2583B6 D-firmware: 1.12
2015-06-23_23:36:42 HM_2583B6 D-serialNr: KEQ0942447
2015-06-23_23:37:10 HM_2583B6 set_on


log: fhem-2015-06.log:

2015.06.23 23:35:08 1: starting in console mode
2015.06.23 23:35:08 1: Including fhem.cfg
2015.06.23 23:35:08 3: telnetPort: port 7072 opened
2015.06.23 23:35:09 3: WEB: port 8083 opened
2015.06.23 23:35:09 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2015.06.23 23:35:09 3: Opening CUL1 device com1
2015.06.23 23:35:09 3: Setting CUL1 serial parameters to 9600,8,N,1
2015.06.23 23:35:09 3: CUL1 device opened
2015.06.23 23:35:09 3: CUL1: Possible commands: BbCFiAZEGMKUYRTVWXefmltux
2015.06.23 23:35:09 2: Switched CUL1 rfmode to HomeMatic
2015.06.23 23:35:09 3: initialUsbCheck return value: This command is not yet supported on windows
2015.06.23 23:35:09 2: SecurityCheck:  WEB 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.
2015.06.23 23:35:09 0: Featurelevel: 5.6
2015.06.23 23:35:09 0: Server started with 8 defined entities (version $Id: fhem.pl 8805 2015-06-22 19:31:44Z rudolfkoenig $, os MSWin32, user MK, pid 6820)
2015.06.23 23:36:42 2: CUL_HM Unknown device HM_2583B6 is now defined
2015.06.23 23:36:42 2: autocreate: define HM_2583B6 CUL_HM 2583B6
2015.06.23 23:36:42 2: autocreate: define FileLog_HM_2583B6 FileLog ./log/HM_2583B6-%Y.log HM_2583B6
2015.06.23 23:37:10 3: CUL_HM set HM_2583B6 on


list HM_2583B6:

Internals:
   CFGFN
   CUL1_MSGCNT 1
   CUL1_RAWMSG A1A0684002583B60000001C00A14B45513039343234343710010100::-21:CUL1
   CUL1_RSSI  -21
   CUL1_TIME  2015-06-23 23:36:42
   DEF        2583B6
   IODev      CUL1
   LASTInputDev CUL1
   MSGCNT     1
   NAME       HM_2583B6
   NR         22
   NTFY_ORDER 50-HM_2583B6
   STATE      set_on
   TYPE       CUL_HM
   lastMsg    No:06 - t:00 s:2583B6 d:000000 1C00A14B45513039343234343710010100
   protIOdly  79 last_at:2015-06-23 23:40:59
   protLastRcv 2015-06-23 23:36:42
   protSnd    80 last_at:2015-06-23 23:40:59
   protState  CMDs_processing...
   rssi_at_CUL1 min:-21 lst:-21 cnt:1 avg:-21 max:-21
   Readings:
     2015-06-23 23:36:42   D-firmware      1.12
     2015-06-23 23:36:42   D-serialNr      KEQ0942447
     2015-06-23 23:37:10   state           set_on
   cmdStack:
   Helper:
     HM_CMDNR   86
     cSnd       11ABC1232583B60201C80000,11ABC1232583B60201C80000
     dlvl       C8
     dlvlCmd    ++A011ABC1232583B60201C80000
     mId        00A1
     rxType     1
     Io:
       newChn     +2583B6,00,01,00
       nextSend   1435095402.36401
       prefIO
       rxt        0
       vccu
       p:
         2583B6
         00
         01
         00
     Mrssi:
       mNo        06
       Io:
         CUL1       -19
     Prt:
       bErr       0
       sProc      1
       Rspwait:
         cmd        As0E56A011ABC1232583B60201C80000
         mNo        56
         reSent     1
     Q:
       qReqConf   00
       qReqStat   00
     Role:
       chn        1
       dev        1
       prs        1
     Rssi:
       At_cul1:
         avg        -21
         cnt        1
         lst        -21
         max        -21
         min        -21
Attributes:
   IODev      CUL1
   autoReadReg 4_reqStatus
   expert     2_full
   firmware   1.12
   model      HM-LC-SW1-PL2
   room       CUL_HM
   serialNr   KEQ0942447
   subType    switch
   webCmd     statusRequest:toggle:on:off


Wie gesagt; wenn ich jetzt den Schalter einschalte, und dann die Seite in FHEM aktualisiere, sehe ich die leuchtende Lampe. Wenn ich den Schalter abschalte (jeweils manuell) und die Seite in FHEM aktualisiere, sehe ich die unbeleuchtete Lampe. Wenn ich in FHEM auf ON oder OFF gehe, kommt jeweils eine gelbe, graue Lampe mit einem roten Rufzeichen.

Getestet habe ich mit:
RaspBerry Pi 2 mit der aktuellsten Version von Rapsbian.
Firmware installiert mit dem usbprogram_v3 (v1.61)
FHEM 5.6 (inkl. Updates installiert).

Phänomen siehe oben!

Dann hab ich dasselbe auch noch mit:
Windows 7 + x64 mit ActivePerl.
Firmware am CUL (apropos: Version 3.4 verwende ich): CUL_V3.hex
Windows Treiber: CUL.inf

Phänomen siehe oben!

Kann mir jemand helfen?

Bitte danke ich verzweifle schon bald...

Lg


Mein uUrsprünglicher Post: http://forum.fhem.de/index.php/topic,38361.0.html

iceget

Ich verzweifle schön langsam hat den niemand eine Idee  :-\

lg

Damu

Hallo

Du hast einen Cul das kenne ich nicht.
Würde aber sagen:
Device löschen:
Zitatdelet HM_2583B6
Aktor reseten nach Handbuch danach neu anlernen.

iceget

Hab ich gemacht, leider ohne Erfolg.

Ich habe hier noch 2 Fotos angehängt.

1. FHEM gestartet (leer)
2. AutoPair
3. siehe Foto 1 und 2, ist das so korrekt? Wenn ich auf ON klicke, siehe Foto3

Da läuft doch was falsch, oder? Also einschalten tut sich in diesem Fall (hab zwischendurch ein anderes Gerät versucht) nix.

iceget

Shit... jetzt funktionieren mein Schalter und Dimmer nicht mehr mit der CCU2. Ich kanns zwar anlernen, aber kanns nicht steuern (genau das umgekehrte Phänomen nur eben nicht in FHEM sondern in der CCU2).

HILFE :(

lg