Hallo,
Habe FHEM auf einem Raspberry PI laufen. Ein COC (866Mhz) das ich auf dem Pi hatte funktionierte auch gut. Da klappte auch autocreate.
Jetzt wollte ich aber auf das RFXTRX433 wechseln. Am PC läuft es auch und im RFXmngr sehe ich, dass die Codes der Intertechno FB empfangen werden.
Auch senden geht.
Eingeschaltet ist ARC (kein Lighnting4,.. muss das? Habe gehört es gehen nicht beide parallel).
Im Logfile von FHEM kann ich auch sehen, dass das RFXTRX gefunden wird:
2014.03.11 19:54:21 1: usb create starting
2014.03.11 19:54:24 3: Probing CUL device /dev/ttyAMA0
2014.03.11 19:54:33 3: Probing TCM310 device /dev/ttyAMA0
2014.03.11 19:54:34 3: Probing FRM device /dev/ttyAMA0
2014.03.11 19:54:39 3: Probing TCM310 device /dev/ttyUSB0
2014.03.11 19:54:39 3: Probing TCM120 device /dev/ttyUSB0
2014.03.11 19:54:39 3: Probing FHZ device /dev/ttyUSB0
2014.03.11 19:54:40 3: Probing TRX device /dev/ttyUSB0
2014.03.11 19:54:41 1: define TRX_0 TRX /dev/ttyUSB0@38400
2014.03.11 19:54:41 3: Opening TRX_0 device /dev/ttyUSB0
2014.03.11 19:54:41 3: Setting TRX_0 baudrate to 38400
2014.03.11 19:54:41 3: TRX_0 device opened
2014.03.11 19:54:42 1: TRX: Init OK
2014.03.11 19:54:42 1: TRX: Init status: '433.92MHz transceiver, firmware=69, protocols enabled: LaCrosse Hideki OREGON HOMEEASY AC ARC X10 '
2014.03.11 19:54:42 1: usb create end
2014.03.11 19:54:42 2: SecurityCheck: WEB has no basicAuth attribute. telnetPort has no password/globalpassword attribute. Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.03.11 19:54:42 0: Server started with 10 defined entities (version $Id: fhem.pl 5197 2014-03-10 21:07:30Z rudolfkoenig $, os linux, user fhem, pid 2264)
Aber trotz autocreate empfängt er nichts.. Ich verstehe es einfach nicht. Komme nicht weiter.
FHEM habe ich heute per 'update' aktualisiert.
Vielleicht gibt es das Thema hier auch schon.. aber ich habe es nicht gefunden :-(
Wenn ich dann versuche manuell eine Steckdose einzutragen per:
define schalter1 IT FF0000000F FF F0
attr schalter1 IODev TRX_0
attr schalter1 model itswitch
Und versuche zu schalten passiert auch nichts.. das Log sieht dann so aus:
2014.03.11 20:35:25 3: No I/O device found for schalter1
2014.03.11 20:36:16 2: IT set schalter1 on
2014.03.11 20:36:16 1: => No Get function (raw) implemented
2014.03.11 20:36:16 2: IT IODev device didn't answer is command correctly: => No Get function (raw) implemented
2014.03.11 20:36:18 2: IT set schalter1 off
2014.03.11 20:36:18 1: => No Get function (raw) implemented
2014.03.11 20:36:18 2: IT IODev device didn't answer is command correctly: => No Get function (raw) implemented
Schalte Lightning 4 und Home Easy EU / UK im rfxmgr ab. Dann AC ein. Speichern nicht vergessen.
Dann sollten die Codes normal akzeptiert werden
Das IT Device sendet über den CUL. Du musst ein TRX_LIGHT z.B:
define LichtArbeitszimmer TRX_LIGHT ARC M13 light (ELRO) oder define LichtTV TRX_LIGHT AC 00b36e1701 light (Intertechno) definieren.
Ok, dass mit dem Lightning aus und AC an probier ich mal aus..
Ein TRX_Light habe ich komischerweise nicht.. Habe nur TRX_0
.. kommt mir auch spanisch vor..
TRX_0 ist das IODev also der RFXTRX selber. TRX_Light ist das Device welches definiert werden muss, also z.B die Steckdose -> http://www.fhem.de/commandref.html#TRX_LIGHT (http://www.fhem.de/commandref.html#TRX_LIGHT)
Also... alles versucht.. ohne Erfolg.
1. im RFXmgr Lighting4 ausgeschaltet, Homeeasy aus. AC an, ARC an
2. Wenn ich im RFXmgr probiere kann ich sowohl die Steckdosen schalten, als auch Codes empfangen. Sowohl beim Empfang/Senden blitzen die beiden LEDs am RFXTRX auf.
3. Auf dem Raspberry alles neu installiert.. FHEM 5.5, beim Neustart wird im Log das RFXTRX erkannt.. die Protokolle AC, ARC werden berichtet. Das TRX_0 wird angezeigt im Webfrontend.
4. Per "define LichtTV TRX_LIGHT AC FF0000010F light" einen Eintrag angelegt. Das Schalten funktioniert nicht. Die LEDs blitzen auch nicht auf am RFXTRX.
5. Testweise: Per "define LichtTV2 TRX_LIGHT ARC FF0000010F light" einen weiteren Eintrag angelegt.. das selbe
6. Mehrere Male mit der Intertechno-FB Tasten gedrückt.. Die LEDs am RFXTRX bestätigen dem Empfang.. Im Log/Event on FHEM taucht nichts auf..
Bin ratlos.. nun :-(
LG
Hallo,
ZitatBin ratlos.. nun :-(
Ich auch.
Das
http://forum.fhem.de/index.php/topic,16311.0.html (http://forum.fhem.de/index.php/topic,16311.0.html)
schon gelesen?
Grüße
Hmm.. ja hab ich gelesen.
Hab das Problem doch hier detailliert beschrieben. Weiß nicht, wie ich es noch detaillierter beschreiben kann.
Ist alles out-of-the-box.. fresh fhem 5.5 install... :-(
Hallo,
Zitatfresh fhem 5.5 install
Du weisst aber das du das aktuelle FHEM nur! durch ein update bekommst?
Und eigentlich meinte ich mit meinem Link nicht die detaillierte Beschreibung sondern einen anderen Forenbereich - InterTechno z.B.
Grüße
naja es ist doch dass das RFXTRX gar nichts sendet und empfängt.. im Log taucht ja auch nichts auf. :-(
(Als ich noch ein eine COC Erweiterung auf dem Raspberry hatte, da hat die immer die empfangenen Codes geloggt)
Scheint ein generelles Problem bei mir zu sein mit dem RFXTRX...
ja, habe nach der Installation direkt UPDATE gemacht im web-frontend.
Hat keiner eine Idee, was bei mir falsch läuft?
Hi,
sieht bei mir z.B. so aus in der .cfg:
define TRX_0 TRX /dev/ttyUSB0@38400
attr TRX_0 room Keller
define FileLog_TRX_0 FileLog ./log/TRX_0-%Y.log TRX_0
attr FileLog_TRX_0 logtype text
attr FileLog_TRX_0 room Keller
IT Steckdose (selbstanlernend):
define ws_FlutlEnten TRX_LIGHT AC 00a6dafa01 light
attr ws_FlutlEnten eventMap on:Ein off:Aus
attr ws_FlutlEnten onOffDevice true
attr ws_FlutlEnten room Werkstatt
define FileLog_ws_FlutlEnten FileLog ./log/ws_FlutlEnten-%Y.log ws_FlutlEnten
attr FileLog_ws_FlutlEnten logtype text
attr FileLog_ws_FlutlEnten room Werkstatt
oder Elro AB440:
define elro1 TRX_LIGHT AB400D N2 elro
attr elro1 alias nonameno.1
attr elro1 eventMap on:Ein off:Aus
attr elro1 onOffDevice true
attr elro1 room FREI
Gruss
schnun
mal attr TRX_0 verbose 5 gesetzt? dann sollte er die LogDatei auf jeden Fall vollschreiben.
Hast du evt. mehrere ttyUSBx Geräte ( ls /dev )?
DANKE für's Helfen!!
Also nach einem Neustart sieht mein Log so aus:
2014.03.14 23:22:08 1: Including fhem.cfg
2014.03.14 23:22:08 3: telnetPort: port 7072 opened
2014.03.14 23:22:09 3: WEB: port 8083 opened
2014.03.14 23:22:09 3: WEBphone: port 8084 opened
2014.03.14 23:22:09 3: WEBtablet: port 8085 opened
2014.03.14 23:22:09 2: eventTypes: loaded 103 events from ./log/eventTypes.txt
2014.03.14 23:22:10 3: Opening TRX_0 device /dev/ttyUSB0
2014.03.14 23:22:10 3: Setting TRX_0 baudrate to 38400
2014.03.14 23:22:10 3: TRX_0 device opened
2014.03.14 23:22:11 1: TRX: Init OK
2014.03.14 23:22:11 1: TRX: Init status: '433.92MHz transceiver, firmware=69, protocols enabled: LaCrosse Hideki OREGON HOMEEASY AC ARC X10 '
2014.03.14 23:22:11 1: Including ./log/fhem.save
2014.03.14 23:22:11 1: usb create starting
2014.03.14 23:22:13 3: Probing CUL device /dev/ttyAMA0
2014.03.14 23:22:13 3: Probing TCM310 device /dev/ttyAMA0
2014.03.14 23:22:13 3: Probing FRM device /dev/ttyAMA0
2014.03.14 23:22:19 1: usb create end
2014.03.14 23:22:19 2: SecurityCheck: WEB,WEBtablet has no basicAuth attribute. telnetPort has no password/globalpassword attribute. Restart fhem for a new check if the problem is fixed, or set the global attribute motd to none to supress this message.
2014.03.14 23:22:19 0: Server started with 32 defined entities (version $Id: fhem.pl 5197 2014-03-10 21:07:30Z rudolfkoenig $, os linux, user fhem, pid 2515)
"attr TRX_0 verbose 5" habe ich nun gesetzt.
wenn ich nun die Taste auf meiner Intertechno-FB ein paar Male drücke kommt folgendes dazu:
2014.03.14 23:18:32 5: TRX/RAW: �/���
2014.03.14 23:18:32 5: TRX: TRX_Read '8efc0000001c00e0e000'
2014.03.14 23:18:32 5: TRX_Read END
2014.03.14 23:18:32 5: TRX/RAW: ����/�
2014.03.14 23:18:32 5: TRX: TRX_Read '8efc0000001c00e0e000001c001c0000fc'
2014.03.14 23:18:32 5: TRX_Read END
2014.03.14 23:18:39 5: TRX/RAW: �����/���
2014.03.14 23:18:39 5: TRX: TRX_Read '8efc0000001c00e0e000001c001c0000fcfc0000001c00fce000001c001c00'
2014.03.14 23:18:39 5: TRX_Read END
2014.03.14 23:18:39 5: TRX/RAW: ��������/�
2014.03.14 23:18:39 5: TRX: TRX_Read '8efc0000001c00e0e000001c001c0000fcfc0000001c00fce000001c001c0000fc'
2014.03.14 23:18:39 5: TRX_Read END
2014.03.14 23:19:42 5: TRX/RAW: ���������/�
2014.03.14 23:19:42 5: TRX: TRX_Read '8efc0000001c00e0e000001c001c0000fcfc0000001c00fce000001c001c0000fcfc0000001c00'
2014.03.14 23:19:42 5: TRX_Read END
Es ist eine ganz einfache FB von intertechno.. eine der älteren. Auf Hauscode D eingestellt. ich habe die Taste 1 gedrückt (ON)..
Der String wird auch mit jedem drücken nur länger.
Mein /dev Verzeichnis sieht wie folgt aus:
pi@raspberrypi ~ $ ls /dev
autofs fd loop4 mmcblk0p2 ram10 ram6 sndstat tty11 tty20 tty3 tty39 tty48 tty57 tty9 vcs1 vcsa4
block full loop5 net ram11 ram7 spidev0.0 tty12 tty21 tty30 tty4 tty49 tty58 ttyAMA0 vcs2 vcsa5
btrfs-control fuse loop6 network_latency ram12 ram8 spidev0.1 tty13 tty22 tty31 tty40 tty5 tty59 ttyprintk vcs3 vcsa6
bus input loop7 network_throughput ram13 ram9 stderr tty14 tty23 tty32 tty41 tty50 tty6 ttyUSB0 vcs4 xconsole
cachefiles kmsg loop-control null ram14 random stdin tty15 tty24 tty33 tty42 tty51 tty60 uinput vcs5 zero
char log MAKEDEV ppp ram15 raw stdout tty16 tty25 tty34 tty43 tty52 tty61 urandom vcs6
console loop0 mapper ptmx ram2 root tty tty17 tty26 tty35 tty44 tty53 tty62 vc-cma vcsa
cpu_dma_latency loop1 mem pts ram3 serial tty0 tty18 tty27 tty36 tty45 tty54 tty63 vchiq vcsa1
disk loop2 mmcblk0 ram0 ram4 shm tty1 tty19 tty28 tty37 tty46 tty55 tty7 vc-mem vcsa2
fb0 loop3 mmcblk0p1 ram1 ram5 snd tty10 tty2 tty29 tty38 tty47 tty56 tty8 vcs vcsa3
pi@raspberrypi ~ $
Sprich ich sehe nur ein ttyUSB
hmm
das sieht nicht gut aus :-\
bei mir steht da sowas im Log:
2014.03.15 00:03:25 5: TRX/RAW:
/▒n`
2014.03.15 00:03:25 5: TRX: TRX_Read '0b11000000b36e1602000060'
2014.03.15 00:03:25 5: TRX_Read rmsg '0b11000000b36e1602000060'
2014.03.15 00:03:25 5: TRX_Read TRX_data '0b11000000b36e1602000060'
2014.03.15 00:03:25 5: TRX_Parse() '0b11000000b36e1602000060'
2014.03.15 00:03:25 5: TRX_0 dispatch 0b11000000b36e1602000060
2014.03.15 00:03:25 5: TRX_LIGHT_Parse() decoding delay=63 hex=0b11000000b36e1602000060
2014.03.15 00:03:25 5: TRX_LIGHT_Parse() X10 num_bytes=11 hex=0b11000000b36e1602000060
2014.03.15 00:03:25 5: TRX_LIGHT: device_name=TRX_AC_00b36e1602 data=00
2014.03.15 00:03:25 5: TRX_LIGHT_parse_X10() UNDEFINED TRX_AC_00b36e1602 TRX_LIGHT AC 00b36e1602 light
2014.03.15 00:03:25 3: TRX_LIGHT_parse_X10() Unknown device TRX_AC_00b36e1602, please define it
2014.03.15 00:03:25 5: TRX_Read END
2014.03.15 00:03:35 5: TRX/RAW: P
2014.03.15 00:03:35 5: TRX: TRX_Read '085009'
2014.03.15 00:03:35 5: TRX_Read END
ist auch eine Intertechno FB. Bei mir ist noch die _64 Firmware Typ 1 auf dem RFXtrx433 drauf. Hast du die Firmware schon mal getauscht? Aber wenn es am Windows PC geht?!?!.....
Das rfxtrx, hängt das direkt am Raspi?
Versuche mal einen aktiven USB Hub dazwischen zu klemmen.
Und, hast du mal dein wheezy vom RasPi upgedatet? Bitte auch mal machen.