alexreinert/debmatic

USB-RF-Modul only working when pulled out and plugged back in.

Closed this issue · 3 comments

Hi, so I have installed debmatic on a Pi3 and added an HmIP-RFUSB. At first everything seems fine to me:

sudo debmatic-info
  debmatic version: 3.65.8-95
  Kernel modules: Available
  Raw UART dev:   Available
  Rasp.Pi3 UART:  Not assigned to GPIO pins
  HMRF Hardware:  HMIP-RFUSB
   Connected via: eQ-3 HmIP-RFUSB@usb-3f980000.usb-1.2 (/dev/raw-uart1)
   Board serial:  1F2995E89A
   Radio MAC:     0xFF6F81
  HMIP Hardware:  HMIP-RFUSB
   Connected via: eQ-3 HmIP-RFUSB@usb-3f980000.usb-1.2 (/dev/raw-uart1)
   SGTIN:         3014F711A000041F2995E89A
   Radio MAC:     0xB316AB

But I can't teach-in any devices. I then tried to check the module:

  sudo detect_radio_module --debug /dev/raw-uart1
  21:09:15.653471 Sending HM frame:  fd 00 03 fe 00 01 14 1e
  21:09:18.654290 Sending HM frame:  fd 00 03 00 01 00 9e 03
  21:09:21.654685 Sending HM frame:  fd 00 03 fe 02 01 98 1d
  21:09:24.655110 Sending HM frame:  fd 00 03 00 03 00 12 00
  21:09:27.655476 Sending HM frame:  fd 00 03 fe 04 01 8c 1d
  21:09:30.655823 Sending HM frame:  fd 00 03 00 05 00 06 00
  Error: Radio module was not detected

But when I then unplug and replug the USB device I get this at raw-uart2:

  sudo detect_radio_module --debug /dev/raw-uart2
  21:10:39.521404 Sending HM frame:  fd 00 03 fe 00 01 14 1e
  21:10:39.526188 Received HM frame: fd 00 0f fe 00 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c 68 c7
  21:10:39.526548 Sending HM frame:  fd 00 03 fe 01 01 92 1d
  21:10:39.531309 Received HM frame: fd 00 0f fe 01 05 01 48 4d 49 50 5f 54 52 58 5f 42 6c e9 c5
  21:10:39.531470 Sending HM frame:  fd 00 03 fe 02 03 18 12
  21:10:40.207670 Received HM frame: fd 00 04 fe 02 05 01 07 3e
  21:10:40.719102 Received HM frame: fd 00 10 fe 01 00 44 75 61 6c 43 6f 50 72 6f 5f 41 70 70 b7 36
  21:10:40.719412 Sending HM frame:  fd 00 03 01 03 09 92 21
  21:10:40.821660 Received HM frame: fd 00 05 01 03 04 01 01 fa 2b
  21:10:40.821934 Sending HM frame:  fd 00 03 01 04 02 80 1b
  21:10:40.925582 Received HM frame: fd 00 0d 01 04 04 01 04 04 12 01 00 19 01 40 00 02 36
  21:10:40.925837 Sending HM frame:  fd 00 03 02 05 01 06 2e
  21:10:40.929403 Received HM frame: fd 00 07 02 05 06 01 b3 16 ab d1 2d
  21:10:40.929585 Sending HM frame:  fd 00 03 fe 06 04 00 00
  21:10:40.934569 Received HM frame: fd 00 10 fe 06 05 01 30 14 f7 11 a0 00 04 1f 29 95 e8 9a fa 7f
  21:10:40.934788 Sending HM frame:  fd 00 03 03 07 08 0a 0c
  21:10:40.938400 Received HM frame: fd 00 07 03 07 01 01 ff 6f 81 b2 5c
  HMIP-RFUSB 1F2995E89A 3014F711A000041F2995E89A 0xFF6F81 0xB316AB 4.4.18

I then tried restarting the service, debmatic-info then shows raw-uart2 as the device in use, but detect_radio_module then doesn't work again. Does anyone have suggestions as to what might be wrong?

detect_radio_module should not be used when the debmatic services are already started. debmatic-info sjows, that the radio module is sucessfully detected.
Unplugging and plugging in the usb device should never be done.
Please describe your issues teaching in devices in detail.

Hi, thanks for the very quick response. This leads me to believe, that everything should in theory work fine. So this is what I am trying to accomplish: I have a couple of the eq-3 evo thermostats and I am trying to teach them in. I got to the webpage, log in and got to teach-in devices. Then I pick Teach-in HmIP device and the countdown starts. I turn on the device in question and the light around the button starts to flash orange every couple of seconds. And that's basically it, the devices never show up in the inbox. I have tried moving them physically closer, but that doesn't seem to make any difference at all.

Okay, I found my mistake. I did a third check on the stick and it looks like one spot wasn't soldered well enough. So big oops on my part! Thank you very much for your feedback.