Hi,
ich versuche hier gerade, die FHEM/EnOcean Integration auf einer Qnap TS-239 zum Laufen zu bringen. Allerdings erkennt FHEM den USB300 stick nicht.
"usb scan" ergibt das hier:
### ttyUSB0: checking if it is a TCM_ESP3
got wrong answer for a TCM_ESP3
### ttyUSB0: checking if it is a TCM_ESP2
got wrong answer for a TCM_ESP2
### ttyUSB0: checking if it is a FHZ
got wrong answer for a FHZ
### ttyUSB0: checking if it is a TRX
got wrong answer for a TRX
### ttyUSB0: checking if it is a ZWDongle
got wrong answer for a ZWDongle
### ttyUSB0: checking if it is a FRM
got wrong answer for a FRM
Ein Level-5 Log sagt währenddessen das hier:
2015.09.21 18:16:15 5: Cmd: >usb scan<
2015.09.21 18:16:15 1: usb scan starting
2015.09.21 18:16:16 4: ### ttyUSB0: checking if it is a TCM_ESP3
2015.09.21 18:16:16 3: Probing TCM_ESP3 device /dev/ttyUSB0
2015.09.21 18:16:16 5: SW: 5500010005700838
2015.09.21 18:16:16 4: got wrong answer for a TCM_ESP3
2015.09.21 18:16:16 4: ### ttyUSB0: checking if it is a TCM_ESP2
2015.09.21 18:16:16 3: Probing TCM_ESP2 device /dev/ttyUSB0
2015.09.21 18:16:16 5: SW: a55aab5800000000000000000003
2015.09.21 18:16:16 4: got wrong answer for a TCM_ESP2
2015.09.21 18:16:16 4: ### ttyUSB0: checking if it is a FHZ
2015.09.21 18:16:16 3: Probing FHZ device /dev/ttyUSB0
2015.09.21 18:16:17 5: SW: 8105044fc90185
2015.09.21 18:16:17 4: got wrong answer for a FHZ
2015.09.21 18:16:17 4: ### ttyUSB0: checking if it is a TRX
2015.09.21 18:16:17 3: Probing TRX device /dev/ttyUSB0
2015.09.21 18:16:17 5: SW: 0d00000000000000000000000000
2015.09.21 18:16:17 5: SW: 0d00000102000000000000000000
2015.09.21 18:16:17 4: got wrong answer for a TRX
2015.09.21 18:16:17 4: ### ttyUSB0: checking if it is a ZWDongle
2015.09.21 18:16:17 3: Probing ZWDongle device /dev/ttyUSB0
2015.09.21 18:16:17 5: SW: 01030020dc
2015.09.21 18:16:18 4: got wrong answer for a ZWDongle
2015.09.21 18:16:18 4: ### ttyUSB0: checking if it is a FRM
2015.09.21 18:16:18 3: Probing FRM device /dev/ttyUSB0
2015.09.21 18:16:18 5: SW: f9
2015.09.21 18:16:23 5: SW: f079f7
2015.09.21 18:16:23 4: got wrong answer for a FRM
2015.09.21 18:16:23 1: usb scan end
Ich habe dann versucht, das Teil manuell anzulegen, also
define TCM_ESP3_0 TCM ESP3 /dev/ttyUSB0@57600
(Ich habe auch ESP2 statt ESP3 probiert.)
Das Ergebnis sieht dann so aus:
Internals:
BaseID 00000000
CFGFN
DEF ESP3 /dev/ttyUSB0@57600
DeviceName /dev/ttyUSB0@57600
FD 15
LastID 00000000
MODEL ESP3
NAME TCM_ESP3_0
NOTIFYDEV global
NR 109
NTFY_ORDER 50-TCM_ESP3_0
PARTIAL
STATE opened
TYPE TCM
Readings:
2015-09-21 18:35:54 state opened
Attributes:
Da bei "state" "opened" steht dachte ich, dass es das jetzt war. ...aber bei "get basID" kommt's dann zum Timeout.
Hier wieder das Level-5 Log:
2015.09.21 18:12:55 5: Cmd: >get TCM_ESP3_0 baseID<
2015.09.21 18:12:55 3: TCM get TCM_ESP3_0 baseID
2015.09.21 18:12:55 5: TCM TCM_ESP3_0 sending ESP3: 5500010005700838
2015.09.21 18:12:55 5: SW: 5500010005700838
2015.09.21 18:12:58 2: TCM TCM_ESP3_0 Timeout reading answer for get baseID
Ich dachte, dass es vielleicht an irgendwelchen Kernel-Modulen liegt, aber usbcore und usbserial sind installiert. Auch das Perl-Modul Device:SerialPort ist installiert.
Hat irgendwer eine Idee, was man da noch untersuchen könnte?
Danke&Gruß,
Thorsten