Ubuntu 12.04 , Fhem and rfxtrx433 tranciever

Begonnen von Guest, 01 August 2012, 23:47:13

Vorheriges Thema - Nächstes Thema

Guest

Originally posted by: <email address deleted>

Hi

Is there a howto for the combination ubuntu 12.04, fhem and rfxtrx
tranciever? I managed to get Fhem installed on ubuntu 12.04. And I managed
to get rfxmngr, the manager of rfxcom, to work on Ubuntu.

So the hard ware is available and working. But Fhem doesn recognize the
rfxtrx module not automatically. When I used the settting out of my FB 3790
FHem.cfg and place them in the fhem.cfg on ubuntu I get the error:

 Please define RFXTRXUSB first

But is is already defined.

can anybody give me a hint?

{HT}

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com

Guest

Originally posted by: <email address deleted>

See commandref.html.

Am Mittwoch, 1. August 2012 23:47:13 UTC+2 schrieb dudler:
>
>  Please define RFXTRXUSB first
>
> But is is already defined.
>
> can anybody give me a hint?
>
>
As you do not post any messages from the log I can only assume what is
going on.

The messsage means that you have defined a sensor that uses  RFXTRXUSB
and RFXTRXUSB is not working (eiter not defined or could not be
initialized).

To get it work you need to define RFXTRXUSB as it is descibed in
commandref.html#TRX.
If RFXTRX uses the device  /dev/ttyUSB0, you may use

   define RFXTRXUSB TRX /dev/ttyUSB0@38400

If you have other devices attached or depending on the UNIX kernel, it may
be that the device name is different like for example  /dev/ttyUSB1 or
others.

To find out the device name, just do the following:
- unplug RFXTRX433 from your ubuntu
- wait some seconds
- plug RFXTRX433 to your ubuntu
- Do a
      dmesg

You should see something like
"
[22455.796165] usb 4-1: new full speed USB device using uhci_hcd and
address 4
[22455.990249] usb 4-1: configuration #1 chosen from 1 choice
[22455.996865] ftdi_sio 4-1:1.0: FTDI USB Serial Device converter detected
[22455.996897] usb 4-1: Detected FT232RL
[22455.996900] usb 4-1: Number of endpoints 2
[22455.996903] usb 4-1: Endpoint 1 MaxPacketSize 64
[22455.996906] usb 4-1: Endpoint 2 MaxPacketSize 64
[22455.996908] usb 4-1: Setting MaxPacketSize 64
[22455.998890] usb 4-1: FTDI USB Serial Device converter now attached to
ttyUSB0
"

The last line tells you the name of device.

After changing the device definition restart FHEM and look into the log.

--
To unsubscribe from this group, send email to
fhem-users+unsubscribe@googlegroups.com