Hallo Zusammen,
habe das Problem das meine FHEM Installation nach einer Neuinstallation nicht mehr funktioniert.
Die SD-Karte in meinem Raspberry ist kaputtgegangen. Habe Raspberry und FHEM neu installiert und ein FHEM Backup eingespielt.
Die letzte Änderung bzw. Sicherung war aus 2020 nun hat mein CUL433 aber keine Verbindung und ich komme einfach nicht weiter.
lsusb
Bus 001 Device 005: ID 1b1f:c00f eQ-3 Entwicklung GmbH HM-CFG-USB/HM-CFG-USB-2 [HomeMatic Configuration adapter]
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Im Raspberry ist er vorhanden.
ls -la /dev/tty
crw-rw-rw- 1 root tty 5, 0 5. Jan 11:00 /dev/tty
Ich hatte mir den Artikel "wiki.fhem.de/wiki/Mehrere_USB-Geräte_einbinden" angesehen.
Aber der Command ls -l /dev/serial/by-id bringt mir nur dieses Ergebnis.
ls: Zugriff auf '/dev/serial/by-id' nicht möglich: Datei oder Verzeichnis nicht gefunden
Dieses Verzeichnis ist nicht vorhanden.
# Definition des CUL433
Internals:
CMDS
Clients :FS20:FHT.*:KS300:USF1000:BS:HMS:FS20V: :CUL_EM:CUL_WS:CUL_FHTTK:CUL_HOERMANN: :ESA2000:CUL_IR:CUL_TX:Revolt:IT:UNIRoll:SOMFY: :STACKABLE_CC:TSSTACKED:STACKABLE:CUL_RFR::CUL_TCM97001:CUL_REDIRECT:
DEF /dev/ttyACM0@38400 1234
DeviceName /dev/ttyACM0@38400
FHTID 1234
NAME CUL433
NR 14
PARTIAL
STATE disconnected
TYPE CUL
initString X21
MatchList:
0:FS20V ^81..(04|0c)..0101a001......00[89a-f]...
1:USF1000 ^81..(04|0c)..0101a001a5ceaa00....
2:BS ^81..(04|0c)..0101a001a5cf
3:FS20 ^81..(04|0c)..0101a001
4:FHT ^81..(04|09|0d)..(0909a001|83098301|c409c401)..
5:KS300 ^810d04..4027a001
6:CUL_WS ^K.....
7:CUL_EM ^E0.................$
8:HMS ^810e04......a001
9:CUL_FHTTK ^T[A-F0-9]{8}
A:CUL_RFR ^[0-9A-F]{4}U.
B:CUL_HOERMANN ^R..........
C:ESA2000 ^S................................$
D:CUL_IR ^I............
E:CUL_TX ^TX[A-F0-9]{10}
F:Revolt ^r......................$
G:IT ^i......
H:STACKABLE_CC ^\*
I:UNIRoll ^[0-9A-F]{5}(B|D|E)
J:SOMFY ^Y[r|t|s]:?[A-F0-9]+
K:CUL_TCM97001 ^s[A-F0-9]+
L:CUL_REDIRECT ^o+
M:TSSTACKED ^\*
N:STACKABLE ^\*
READINGS:
2020-01-04 12:15:34 cmds B b C F i A Z E G M K U Y R T V W X e f m l t u x
2025-01-04 21:00:00 raw No answer
2025-01-05 10:52:03 state disconnected
Attributes:
room 9.1 IO-Devices
Hat jemand eine Idee?
Vielen Dank,
Wolfgang
P.S. Wie kann ich die Definition richtig anzeigen.
Ist vermutlich ein Problem mit den group-Berechtigungen - neuerdings braucht fhem (als User) noch irgendwas - dialout reicht nicht mehr.
Müßte auch suchen, das war schon mehrfach Thema.
Hi,
bitte benutze Codetags -> https://forum.fhem.de/index.php/topic,71806.0.html
Zitatlsusb
Bus 001 Device 005: ID 1b1f:c00f eQ-3 Entwicklung GmbH HM-CFG-USB/HM-CFG-USB-2 [HomeMatic Configuration adapter]
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
hier ist aber kein CUL gesteckt, hier steckt lediglich ein HM-CFG-USB Adapter. Ich denke eigentlich diese Ausgabe ist eindeutig. :o
Gruß Otto
Hi Otto123,
habe das mit den Codetags jetzt gefunden.
Habe den Adapter jetzt neu eingesteckt.
lsusb
Bus 001 Device 005: ID 1b1f:c00f eQ-3 Entwicklung GmbH HM-CFG-USB/HM-CFG-USB-2 [HomeMatic Configuration adapter]
Bus 001 Device 006: ID 03eb:204b Atmel Corp. LUFA USB to Serial Adapter Project
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Der Adapter wird jetzt angezeigt und funktioniert.
Allerdings ist noch der hmusb disconnected.
define hmusb HMLAN 127.0.0.1:1234
attr hmusb hmId 2CC730
attr hmusb hmLanQlen 1_min
attr hmusb loadLevel 0:low,40:batchLevel,90:high,99:suspended
attr hmusb room 8.1_HomeMatic,9.1 IO-Devices
define vCCU CUL_HM 2CC730
attr vCCU IODev hmusb
attr vCCU IOList hmusb
attr vCCU expert 2_full
attr vCCU model CCU-FHEM
attr vCCU room 8.1_HomeMatic,9.1 IO-Devices
attr vCCU subType virtual
attr vCCU webCmd virtual:update
define hm HMinfo
attr hm room 8.1_HomeMatic,9.1 IO-Devices
attr hm sumERROR battery:ok,sabotageError:off,powerError:ok,overload:off,overheat:off,reduced:off,motorError:no,error:none,uncertain:yes,smoke_detect:none,cover:closed
attr hm sumStatus battery,sabotageError,powerError,motor
attr hm webCmd update:protoEvents short:rssi:peerXref:configCheck:models
defmod hmusb HMLAN 127.0.0.1:1234
attr hmusb hmId 2CC730
attr hmusb hmLanQlen 1_min
attr hmusb loadLevel 0:low,40:batchLevel,90:high,99:suspended
attr hmusb room 8.1_HomeMatic,9.1 IO-Devices
setstate hmusb disconnected
setstate hmusb 2020-01-04 12:15:59 D-HMIdAssigned 2CC730
setstate hmusb 2020-01-04 12:15:59 D-HMIdOriginal 2CC730
setstate hmusb 2020-01-04 12:15:59 D-firmware 0.967
setstate hmusb 2020-01-04 12:15:59 D-serialNr LEQ0658940
setstate hmusb 2025-01-05 16:25:12 Xmit-Events disconnected:1
setstate hmusb 2025-01-05 16:25:12 cond disconnected
setstate hmusb 2020-10-20 20:39:34 loadLvl low
setstate hmusb 2025-01-05 16:25:12 prot_disconnected last
setstate hmusb 2020-01-04 12:15:41 prot_init last
setstate hmusb 2020-01-04 12:15:59 prot_ok last
setstate hmusb 2025-01-05 16:35:22 state disconnected
Gruß Wolfgang
Für den Hm USB Adapter gibt es / braucht es einen extra Dienst - hast Du den installiert?
https://wiki.fhem.de/wiki/HM-CFG-USB_USB_Konfigurations-Adapter
Vielen Dank.
Das war die Lösung.
Bei der Neuinstallation habe ich dies nicht wieder installiert.
Danke und Gruß
Wolfgang