Hallo,
bin am verzweifeln. Ich habe einen CUL 868 für FS 20 im Betrieb und einen JeeLink. Beides funktioniert prima.
Nun möchte ich einen 2. V3- Cul für die HomeMatic Aktoren auf dem PI betreiben.
Ich bekomme ihn aber nicht initialisiert.
CUL's stecken alle im PI, kein Hub im Einsatz.
cfg:
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
#21.04.2016 2. CUL im Einsatz
#CUL_0 ist für die FS20-Geräte
#neues Attribut:rfmode SlowRF
define CUL_0 CUL /dev/ttyACM0@9600 1034
attr CUL_0 model CUL
attr CUL_0 rfmode SlowRF
#NEU:CUL für Homematic-Geräte
define CUL_1 CUL /dev/ttyACM1@9600 2345
attr CUL_1 hmId FF2345
attr CUL_1 rfmode HomeMatic
Im Log steht:
Opening CUL_0 device /dev/ttyACM0
2016.04.23 16:35:01 3: Setting CUL_0 serial parameters to 9600,8,N,1
2016.04.23 16:35:01 3: CUL_0 device opened
2016.04.23 16:35:01 3: CUL_0: Possible commands: BCFiAZEGMKURTVWXefmltux
2016.04.23 16:35:01 3: Opening CUL_1 device /dev/ttyACM1
2016.04.23 16:35:01 3: Can't open /dev/ttyACM1: No such file or directory
2016.04.23 16:35:01 2: Switched CUL_1 rfmode to HomeMatic
.....
usb create starting
2016.04.23 16:35:11 2: CUL_V3: flash it with: CULflash none CUL_V3
2016.04.23 16:35:15 3: Probing CUL device /dev/ttyAMA0
2016.04.23 16:35:15 3: Can't open /dev/ttyAMA0: Permission denied
2016.04.23 16:35:15 1: usb create end
Habe viele Postings gelesen. Nachzulesen war das mit den Berechtigungen, die habe ich gesetzt.
Komisch, der 2. CUL will nach ttyAMA0, soll doch auf ttyACM1 zeigen
pi@raspberrypi /opt/fhem/log $ ls -1 /dev/serial/by-id/
usb-busware.de_CUL868-if00
usb-FTDI_FT232R_USB_UART_AJ02W9F9-if00-port0
FS20 und Jeelink funktionieren weiter, der HomeMatic aber steht auf disabled.
Was mache ich Hirni nur falsch??
Gruß Günter
Hallo,
ändere mal am CUL0 die ID von 1034 in 0000
und am CUL1 auf 1034
dann sollte es gehen
Danke für den Hinweis, funktioniert aber nicht.
cfg:
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create
#21.04.2016 2. CUL im Einsatz
#CUL_0 ist für die FS20-Geräte
#neues Attribut:rfmode SlowRF
#1034 in 0000 geändert
#define CUL_0 CUL /dev/ttyACM0@9600 1034
define CUL_0 CUL /dev/ttyACM0@9600 0000
attr CUL_0 model CUL
attr CUL_0 rfmode SlowRF
#CUL für Homematic-Geräte
#define CUL_1 CUL /dev/ttyACM1@9600 2345
# 2345 auf 1034 gesetzt .
define CUL_1 CUL /dev/ttyACM1@9600 1034
attr CUL_1 hmId FF2345
attr CUL_1 rfmode HomeMatic
Log:
Opening CUL_0 device /dev/ttyACM0
2016.04.24 15:05:21 3: Setting CUL_0 serial parameters to 9600,8,N,1
2016.04.24 15:05:21 3: CUL_0 device opened
2016.04.24 15:05:22 3: CUL_0: Possible commands: BCFiAZEGMKURTVWXefmltux
2016.04.24 15:05:22 3: Opening CUL_1 device /dev/ttyACM1
2016.04.24 15:05:22 3: Can't open /dev/ttyACM1: No such file or directory
2016.04.24 15:05:22 2: Switched CUL_1 rfmode to HomeMatic
....
usb create starting
2016.04.24 15:05:31 2: CUL_V3: flash it with: CULflash none CUL_V3
2016.04.24 15:05:35 3: Probing CUL device /dev/ttyAMA0
2016.04.24 15:05:35 3: Can't open /dev/ttyAMA0: Permission denied
2016.04.24 15:05:35 1: usb create end
Was ist noch falsch?
Zitat2016.04.23 16:35:11 2: CUL_V3: flash it with: CULflash none CUL_V3
normalerweise kommen die culs von busware ohne Firmware, hast du denn den schon geflasht?
Hallo,
nein habe ich nicht, ist noch ohne Firmware. wollte diese mit FHEM flashen.
Will aber nichts zerschießen, never change a running system.
Das war der richtige Tipp, Cul war nicht geflashed.
Lösung:
http://heinz-otto.blogspot.de/2016/02/cul-stick-flashen.html
Gute Anleitung, danach habe ich geflashed, CUL_1 initialisiert,
klappt.
### ttyACM0: checking if it is a CUL
ttyACM0 is already used by the fhem device CUL_0
### ttyACM1: checking if it is a CUL
ttyACM1 is already used by the fhem device CUL_1
### ttyAMA0: checking if it is a CUL
cannot open the device
### ttyUSB0: checking if it is a TCM_ESP3
ttyUSB0 is already used by the fhem device myJeeLink
Danke euch,