Cant get RFXCOM 433 on Synology up and running

503 views
Skip to first unread message

christoph....@gmail.com

unread,
Aug 5, 2014, 4:29:40 PM8/5/14
to ope...@googlegroups.com
Dear Experts, Got stuck installing the RFXTRX433 on a Synology DS214

I have successfully running an USB to Serial Adapter on ttyUSB0 for my onewire network

Now I would like to get the USB to Serial Adapter RFXTRX433 on ttyUSB1 to work with OpenHAB

Thanks a lot for any suggestion or hint what I might have overlooked :)

Kind regards
Christoph

openhab.cfg
rfxcom:serialPort= /dev/usb/ttyUSB1
rfxcom:setMode=0D01000403534000000F01000000


Openhab Startup Log:
22:10:59.038 INFO  o.o.b.r.i.RFXComConnection[:114]- Connecting to RFXCOM [serialPort='/dev/usb/ttyUSB1' ].
22:10:59.346 ERROR o.o.b.r.i.RFXComConnection[:106]- Connection to RFXCOM controller failed.
gnu.io.NoSuchPortException: null
at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:273)
at org.openhab.binding.rfxcom.internal.connector.RFXComSerialConnector.connect(RFXComSerialConnector.java:57)
at org.openhab.binding.rfxcom.internal.RFXComConnection.connect(RFXComConnection.java:118)
at org.openhab.binding.rfxcom.internal.RFXComConnection.updated(RFXComConnection.java:103)
at org.eclipse.equinox.internal.cm.ManagedServiceTracker$1.run(ManagedServiceTracker.java:183)
at org.eclipse.equinox.internal.cm.SerializedTaskQueue$1.run(SerializedTaskQueue.java:36)

dmesg:
[ 2518.837592] usb 3-2: new full-speed USB device number 4 using etxhci_hcd_140303
[ 2518.907020] ftdi_sio 3-2:1.0: FTDI USB Serial Device converter detected
[ 2518.915846] usb 3-2: Detected FT232RL
[ 2518.919554] usb 3-2: Number of endpoints 2
[ 2518.923677] usb 3-2: Endpoint 1 MaxPacketSize 64
[ 2518.928335] usb 3-2: Endpoint 2 MaxPacketSize 64
[ 2518.932974] usb 3-2: Setting MaxPacketSize 64
[ 2518.949626] usb 3-2: FTDI USB Serial Device converter now attached to ttyUSB1

cat /proc/bus/usb/devices

T:  Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=6001 Rev= 6.00
S:  Manufacturer=FTDI
S:  Product=FT232R USB UART
S:  SerialNumber=A501I1L3
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 90mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#=  4 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=6001 Rev= 6.00
S:  Manufacturer=RFXCOM
S:  Product=RFXtrx433
S:  SerialNumber=A1XPT751
C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 90mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=ftdi_sio
E:  Ad=81(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms

christoph....@gmail.com

unread,
Aug 5, 2014, 5:05:35 PM8/5/14
to ope...@googlegroups.com
Just to be sure I have installed OpenHAB and the RFXTRX433 on an windows machine and it works like a charm....

christoph....@gmail.com

unread,
Aug 9, 2014, 3:51:50 PM8/9/14
to ope...@googlegroups.com
Finally I got it up and running :)

mknod /dev/ttyUSB1 c 188 1
chmod 777 /dev/ttyUSB*
stty -F /dev/ttyUSB1 ispeed 38400 ospeed 38400

did the trick .... main issue was the speed setting I think....
now I just need to fix the auto assignment when plugged in :)
Reply all
Reply to author
Forward
0 new messages