habe mir den obigen HM Aktor für meine Rolläden geholen und mit dem CUL v3 'gepaired' (allerdings auch nur über set myCUL hmPairSerial xxxxx). Dabei wurde dann folgender Eintrag in der Config erstellt.
define HM_50 CUL_HM xxxxxx
attr HM_50 IODev myCUL
attr HM_50 autoReadReg 4_reqStatus
attr HM_50 expert 2_raw
define FileLog_HM_50 FileLog ./log/HM_50-%Y.log HM_50
attr FileLog_HM_50 logtype text
attr FileLog_HM_50 room CUL_HM
Das State ist mit ??? angegeben und reagieren tut er auf nix.
Meine Config ist derzeit etwas abgespeckt um den Aktor zu testen...
attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd widgetOverride
attr global altitude 108
attr global autoload_undefined_devices 1
attr global group Software
attr global logfile /opt/fhem/log/fhem-%Y-%m.log
attr global modpath .
attr global motd SecurityCheck:\
\
WEB has no associated allowed device with basicAuth.\
\
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 room FHEM
attr global sendStatistics onUpdate
attr global statefile ./log/fhem.save
attr global updateInBackground 1
attr global verbose 4
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
define WEB FHEMWEB 8083 global
attr WEB CssFiles CssFiles niceclocks/niceclocks.css
attr WEB JavaScripts JavaScripts niceclocks/fhem_niceclocks.js
attr WEB editConfig 1
attr WEB group Software
attr WEB hiddenroom GDS Files
attr WEB longpoll 1
attr WEB longpollSVG 1
attr WEB niceclocksParam {"clockStyle" : "analog","clockFace" : "black","keepBg" : false,"fixMenu" : false,"keepHeader" : true }
attr WEB plotfork 1
attr WEB room FHEM
attr WEB stylesheetPrefix dark
#
# TabletUI Definition
#
define TABLETUI HTTPSRV ftui/ ./www/tablet Tablet-UI
attr TABLETUI group Software
attr TABLETUI room FHEM
#
# Definition des CUL v3
#
# define myCUL CUL /dev/serial/by-id/usb-busware.de_CUL868-if00 0000
# define CUL1 CUL /dev/ttyUSB0@38400 0000
define myCUL CUL /dev/ttyACM0@9600 1034
attr myCUL group Hardware
attr myCUL model CUL
attr myCUL rfmode HomeMatic
attr myCUL room FHEM
attr myCUL verbose 5
# attr myCUL rfmode SlowRF
#
# Action Detector
#
define ActionDetector CUL_HM 000000
attr ActionDetector event-on-change-reading .*
attr ActionDetector group ActionDetector
attr ActionDetector model ActionDetector
attr ActionDetector room System
#
# Rolladenaktor HM-LC-BI1PBU-FM
#
hier steht der Code von oben
Jemand eine Idee ?
ist definitiv nicht vollständig angelernt
da fehlen noch attr , nochmal pairen
und zeige bitte ein vollständiges list HM_50 hier
nochmal mit hmserial pairen ? schon 5 mal gemacht. Sprich aus der fhem gelöscht und set abgesetzt. Die attr muss ich wohl manuell hinzufügen. Nur welche ?
Hier das list...
Internals:
DEF 50
IODev myCUL
NAME HM_50
NR 103
STATE on
TYPE CUL_HM
Readings:
Helper:
HM_CMDNR 1
Expert:
def 1
det 0
raw 1
tpl 0
Io:
newChn +50,00,00,00
prefIO
rxt 0
vccu
p:
50
00
00
00
Mrssi:
mNo
Prt:
bErr 0
sProc 0
Q:
qReqConf
qReqStat
Role:
chn 1
dev 1
Attributes:
IODev myCUL
autoReadReg 4_reqStatus
expert 2_raw
group Hardware
room Schlafzimmer
Nach erneutem pairen immernoch state ???
Internals
CFGFN
DEF
50
IODev
myCUL
LASTInputDev
myCUL
MSGCNT
1
NAME
HM_50
NR
110
STATE
???
TYPE
CUL_HM
lastMsg
No:01 - t:00 s:50 d:F11034 28006A4E45513030373636313630010100
myCUL_MSGCNT
1
myCUL_RAWMSG
A1A01800049DC80F1103428006A4E45513030373636313630010100::-70.5:myCUL
myCUL_RSSI
-70.5
myCUL_TIME
2016-06-12 11:54:17
protLastRcv
2016-06-12 11:54:17
rssi_at_myCUL
cnt:1 max:-70.5 lst:-70.5 avg:-70.5 min:-70.5
Wie hast du das geschafft? DEF 50 ist ungülitg.
Wenn du ein list postest bitte lesbar. Ich will mir nicht die Zeilen zusammen bauen. Das kannst du machen. So etwas geht eigentlich garnicht wenn man Hilfe will
50 habe ich nur statt der originalen Id genommen...
Internals:
DEF 49DC80
IODev myCUL
NAME HM_49DC80
NR 114
STATE ???
TYPE CUL_HM
Readings:
2016-06-12 11:54:17 D-firmware 2.8
2016-06-12 11:54:17 D-serialNr NEQ0076616
Helper:
HM_CMDNR 1
Expert:
def 1
det 0
raw 1
tpl 0
Io:
newChn +49DC80,00,00,00
prefIO
rxt 0
vccu
p:
49DC80
00
00
00
Mrssi:
mNo
Prt:
bErr 0
sProc 0
Q:
qReqConf
qReqStat
Role:
chn 1
dev 1
Attributes:
IODev myCUL
autoReadReg 4_reqStatus
expert 2_raw
room CUL_HM
Internals
CFGFN
DEF
49DC80
IODev
myCUL
LASTInputDev
myCUL
MSGCNT
1
NAME
HM_49DC80
NR
110
STATE
???
TYPE
CUL_HM
lastMsg
No:01 - t:00 s:49DC80 d:F11034 28006A4E45513030373636313630010100
myCUL_MSGCNT
1
myCUL_RAWMSG
A1A01800049DC80F1103428006A4E45513030373636313630010100::-70.5:myCUL
myCUL_RSSI
-70.5
myCUL_TIME
2016-06-12 11:54:17
protLastRcv
2016-06-12 11:54:17
rssi_at_myCUL
cnt:1 max:-70.5 lst:-70.5 avg:-70.5 min:-70.5
Besser ?
das 2. fenster ist noch kryptisch.
Es sind keine Readings zu sehen - ausser die Infor aus der Anlernmessage.
Du hast eine CUL - ist die auf HM-Stand? Wenn nicht ist alles Lotterie.
Es scheint eineNiete in der Lotterie zu sein. Ich habe einmal fr mich festgelegt keine CUL-Logs mehr zu sichten wenn nicht die HM-passenden Versionen laufen.
Wie steht dies?
Anonsten einmal sniffen wie in Wiki beschrieben. Mal sehen.
Mein Homematic Türkontakt funktioniert ja auch und der cul steht auch auf homematic.
Ich habe jetzt den Cul mal direkt zum jalousienaktor gestellt- Rssiwert ist -69 war vorher -78.
Habe set xxxx pair gemacht oder auch nochmal dieses serial. Nichts hilft. immer dieses Missing ACK :-(
Du hast für Deinen CUL doch überhaupt keine korrekte HmID definiert ?!
Zitat
define myCUL CUL /dev/ttyACM0@9600 1034
... und eine vCCU ist auch nicht vorhanden - nicht zwingend, aber sinnvollerweise.
Lies http://www.fhemwiki.de/wiki/CUL_HM .
Kann ich diese hmId einfach selber vergeben (oder woher bekomm ich diese?) und steht diese dann nur bei der CUL Definition ?
Ich empfehle Dir, die Grundlagen durch Lesen bspw. über den Link ins fhemwiki zu erwerben.
Ja da steht dass bei /dev/ttyACM0@38400 1234 sich die hmId von F11234 ergibt.
#
# Definition des CUL v3
#
define myCUL CUL /dev/ttyACM0@38400 1234
attr myCUL hmId F11234
attr myCUL model CUL
attr myCUL icon cul_868
attr myCUL rfmode HomeMatic
attr myCUL verbose 5
attr myCUL group Hardware
attr myCUL room System
Zudem habe ich über die Doku die vccu wie folgt definiert
define vccu CUL_HM F11234
attr vccu IODev myCUL
attr vccu IOList myCUL
attr vccu model CCU-FHEM
attr vccu subType virtual
attr vccu webCmd virtual:update
Hat nichts gebracht. Nicht mal das set myCUL hmPairSerial NExxxxx hat einen Eintrag in der fhem erzeugt.
Also wenn ich beim Cul set Cul2 hmPairSerial NEQ0076616 absetze steht das bei mir im Log von fhem
2016.06.13 18:11:13 4: CUL_send: CUL2As 15 01 8401 F12223 000000 010A4e455130303736363136
irgendetwas machst du anders
So, jetzt hab ich es endlich hinbekommen. Durch die hmId und die vccu bzw. das nochmalige pairen ist der HM jetzt konfiguriert.
Aber jetzt erhalte ich mit set hm peerCheck...
peerCheck done:
peer list incomplete. Use getConfig to read it.
incomplete: HM_49DC80:
geb ich dan set getConfig ein, passiert gar nichts