Cul Missing AKT

Begonnen von Blackblade, 20 Januar 2014, 10:40:04

Vorheriges Thema - Nächstes Thema

martinp876

du hast das Device also mit "CUL-ohne-HMId" gepairt?
deine CUL ist definiert als
/dev/ttyACM0@9600 1034

dann ist die genutzte HMId
F11034

setze
attr myCul HMId F11034
set <myPairDevice> regSet pairCentral BEEF99
attr myCul HMId BEEF99
# prüfen mit getConfig und so weiter

Gruss Martin

Blackblade

Hi,

wir haben zwar ein bisschen aneinander vorbeigesprochen aber ich glaube so wird es gehen :-)

Vielen Dank. Melde mich heute Abend wieder.

Viele Grüße
Martin

Blackblade

Wie hast du denn die hmID ausgerechnet?

1034 -> F11034

Wenn ich einfach nur 1034 auf Hex umrechne komm ich auf 40a




martinp876

das verfahren ist
'F1' + die 4-stellige nummer
nix gerechnet, einfach zusammengepackt. 'F1' ist fix

Blackblade

#19
Hallo,

Ich verzweifele solangsam.

Also Fritzbox ist immernoch direkt neben dem Schalter aufgebaut.

Habe aus der fhem.conf alles rausgelöscht was den schalter betrifft.

Danach habe ich die hmId des CUL auf F11034 gesetzt,.. so dass diese eben nicht geändert ist.!!!

Neues Pairing gemacht. Autoconf hat alles wieder wie gewohnt hinzugefügt...

Beim Reading vom Schalter steht auch: R-pairCentral -- set_0xF11034 -- 2014-01-21 17:20:43

Schalten über fhem geht immernoch nicht. Ich sehe im FHEM wenn manuell am Schalter geschalten wird.

hat noch jemand eine Idee?


fhem.cfg
attr global autoload_undefined_devices 1
attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global motd none
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 autosave 1
attr autocreate device_room %TYPE
attr autocreate filelog ./log/%NAME-%Y.log
attr autocreate weblink 1
attr autocreate weblink_room Plots

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


# If the above notify did not helped, then you probably have to enable some of
# the following lines.  Verify first that /dev/xxx ist correct.

#define FHZ FHZ /dev/USB0
#define CUL CUL /dev/ttyACM0@9600 1234
#attr CUL rfmode HomeMatic

#define EUL TCM 310 /dev/ttyACM0@57600
#define BscBor TCM 120 /dev/ttyUSB0@9600
#define BscSmartConnect TCM 310 /dev/ttyUSB0@57600

define fbaha FBAHA localhost:2002
define eventTypes eventTypes ./log/eventTypes.txt
define CUL_0 CUL /dev/ttyACM0@9600 1034
attr CUL_0 hmId F11034
attr CUL_0 rfmode HomeMatic

define FBDECT_16 FBDECT 16 switch
attr FBDECT_16 event-min-interval power:120
attr FBDECT_16 room FBDECT
define FileLog_FBDECT_16 FileLog ./log/FBDECT_16-%Y.log FBDECT_16:power\x3a.*
attr FileLog_FBDECT_16 logtype power4:Power,text
attr FileLog_FBDECT_16 room FBDECT
define SVG_FBDECT_16 SVG FileLog_FBDECT_16:power4:CURRENT
attr SVG_FBDECT_16 label "FBDECT_16 Min $data{min1}, Max $data{max1}, Last $data{currval1}"
attr SVG_FBDECT_16 room Plots
define CUL_HM_HM_LC_SW2_FM_17B5A1 CUL_HM 17B5A1
attr CUL_HM_HM_LC_SW2_FM_17B5A1 .devInfo 020100
attr CUL_HM_HM_LC_SW2_FM_17B5A1 .stc 10
attr CUL_HM_HM_LC_SW2_FM_17B5A1 firmware 1.9
attr CUL_HM_HM_LC_SW2_FM_17B5A1 model HM-LC-SW2-FM
attr CUL_HM_HM_LC_SW2_FM_17B5A1 room CUL_HM
attr CUL_HM_HM_LC_SW2_FM_17B5A1 serialNr IEQ0104972
attr CUL_HM_HM_LC_SW2_FM_17B5A1 subType switch
define FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1 FileLog ./log/CUL_HM_HM_LC_SW2_FM_17B5A1-%Y.log CUL_HM_HM_LC_SW2_FM_17B5A1
attr FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1 logtype text
attr FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1 room CUL_HM
define CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 CUL_HM 17B5A101
attr CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 model HM-LC-SW2-FM
attr CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 peerIDs
attr CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 room CUL_HM
define FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 FileLog ./log/CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01-%Y.log CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01
attr FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 logtype text
attr FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_01 room CUL_HM
define CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02 CUL_HM 17B5A102
attr CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02 model HM-LC-SW2-FM
attr CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02 room CUL_HM
define FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02 FileLog ./log/CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02-%Y.log CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02
attr FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02 logtype text
attr FileLog_CUL_HM_HM_LC_SW2_FM_17B5A1_Sw_02 room CUL_HM

Blackblade

Jetzt gehts, habs nochmal gepaired und voila es geht.

Hatte hier gelesen, dass das Pairing bei mir nicht richtig war

http://www.fhemwiki.de/wiki/HomeMatic#Daten_k.C3.B6nnen_empfangen_werden.2C_Befehle_werden_nicht_.C3.BCbertragen

ZitatPairing nicht abgeschlossen (bei den Readings "PairedTo" bzw. "R-pairCentral" steht der Wert set_0x1A2B3C). Das Pairing ist erst dann erfolgreich abgeschlossen, wenn das set_ fehlt, also nur noch (beispielhaft) "0x1A2B3C" steht.