Rfxcom rfxtrx433e usb on Synology in docker

Hello all,

I am wondering if I can use rfxcom rfxtrx433e usb tranceiver in HA running on a Synology with docker?
I have reader that the rfxtrx433e usb tranceiver should be compatible with HA.
But has somebody tried it actually in a virtual HA on a Synology nas?

Did somebody tried this with the rfxtrx433e transceiver? Is there a tutorial for this?

I know this is old, but if someone else is trying to do the same thing I wrote a small guide.
This assumes you’ve gotten HA working in Synology Docker already (though I have another guide for that)

3 Likes

could you please give me a hint how you managed that the USB is being mounted as /dev/tty?
I followed the steps in your procedure (have the same synology model) and can see the RFXTRX, but it is not being used as a device.

T: Bus=01 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0403 ProdID=6015 Rev=10.00
S:  Manufacturer=RFXCOM
S:  Product=RFXtrx433XL
S:  SerialNumber=DO3HR3V9
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=90mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)


Bus 001 Device 005: ID 0403:6015 Future Technology Devices International, Ltd Bridge(I2C/SPI/UART/FIFO)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0403 Future Technology Devices International, Ltd
  idProduct          0x6015 Bridge(I2C/SPI/UART/FIFO)
  bcdDevice           10.00
  iManufacturer           1 RFXCOM
  iProduct                2 RFXtrx433XL
  iSerial                 3 DO3HR3V9
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               90mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              2 RFXtrx433XL
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)

Hey man, it wasn’t until I installed the USBSerialDrivers for DSM 6.2 that I was able to see it listed as a device. I didn’t do anything special.

the only difference I see is, that I bought the XL version and not the E. I am going Intel NUC for HA net week and Ubuntu should support it. Fingers crossed.

Yeah I was wondering about that. Did you try the dumb stuff like restart the NAS etc? I’m no Linux guru, you could also try reach out to support from the guy that sells them, he was pretty responsive when I was trying to get the codes for my blinds to work in HA.

FYI have updated the Google Doc with additional instructions for finding out your device Ids in HA

I also want to use the RFXtrx433e on a synology DS918+ NAS in a Docker container. HA alreay runs together with Z-Wave (AEON Gen5) and Zigbee (Conbee II).

I have updated the firmware of the RFXtrx to Pro1, 1044. A port /dev/ttyUSB0 appears when I insert the receiver, but when I add the RFXrfx integration, the port is not listed under the serial ports. Only the Conbee port shows up. I can only enter the port manually. Then I get an error message: unable to connect.

Modifying the configuration.yaml as described in this forum, does not work either.

I have changed the permissions of USB0 to 777.

Previously, the receiver worked well on a Raspberry Pi running Domoticz.

What have I missed?

Do you have the serial drivers installed? And are you sure that with all your other devices that it’s definitely USB0?

That’s all I can think of.

I have set up a test of HA in a VM on my Syno. There it also shows up as USB0 and it works with simple on/off switch. I had to assign the usb devices in the setup off the VM. So it is USB0 and the driver works.

On the VM installation, I am strugling to find a way to control my blinds. The remote I am using is branded Simu. In Domoticz I could set the receiver in a special listening mode combined with pressing the programming button on the back of the remote. Maybe I have to open a separate topic for this issue.