question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Home Assistant Add-on rfd & HMIPServer ERROR

See original GitHub issue

Describe the issue you are experiencing

Hello!

I am running Home Assistant using Home Assistant OS on a RasPi3 and a HMIP-RFUSB. Today, I upgraded from HA OS 7.2 to 7.3. In addition, I upgraded the RaspberryMatic Add-on from 202110_-something_ to latest 3.61.7.20220115. As expected during the first start up of the upgraded add-on, the stick’s firmware was upgraded to version 4.4.16. A short test reveals that my connected HM-IP devices worked properly.

Back to the front page of the add-on, Home Assistant tells me, that I can enable protection mode. So I did and restarted the add-on. Unfortunately, now, the add-on seems to stop working properly. The log shows the following lines:

Starting rfd: ....................ERROR
Starting HMIPServer: .......................................................................................................................................................ERROR

Neither a restart of the add-on itself nor a reboot of the Raspberry Pi / HA OS fixed the problem.

Describe the behavior you expected

I expected that the new version of the plugin works properly with enabled protection mode or at least a way to disable protection mode again – the corresponding button was removed in the latest version version of the add-on.

Steps to reproduce the issue

  1. Use HA OS 7.3 + supervisor-2022.01.1 + core-2022.2.3
  2. Upgrade from RaspberryMatic 202110-something to latest 3.61.7.20220115
  3. Enable protection mode (was disabled as required by previous versions of RaspberryMatic).
  4. RestartRaspberryMatic Add-on …

What is the version this bug report is based on?

3.61.7.20220115

Which base platform are you running?

ha-addon (HomeAssistant Add-on)

Which HomeMatic/homematicIP radio module are you using?

HmIP-RFUSB

Anything in the logs that might be useful for us?

Log from the add-on:

Mounting /data as /usr/local (Home Assistant Add-On): OK
Starting watchdog...
Identifying onboard hardware: oci, OK
Initializing RTC Clock: no hardware found
Running sysctl: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Initializing System: OK
Starting logging: OK
Init onboard LEDs: init, OK
Starting irqbalance: OK
Starting iptables: OK
Starting network: eth0: link up, fixed, firewall, inet up, 172.30.33.2, OK
Identifying Homematic RF-Hardware: ....HmRF: HMIP-RFUSB/eQ-3 HmIP-RFUSB@usb-3f980000.usb-1.5, HmIP: HMIP-RFUSB/eQ-3 HmIP-RFUSB@usb-3f980000.usb-1.5, OK
Updating Homematic RF-Hardware: HMIP-RFUSB: 4.4.16, OK
Starting hs485dLoader: disabled
Starting xinetd: OK
Starting eq3configd: OK
Starting lighttpd: OK
Starting ser2net: disabled
Starting ssdpd: OK
Starting ha-proxy: OK
Starting NUT services: disabled
Initializing Third-Party Addons: OK
Starting LGWFirmwareUpdate: ...OK
Setting LAN Gateway keys: OK
Starting hs485d: disabled
Starting multimacd: .OK
Starting rfd: ....................ERROR
Starting HMIPServer: .......................................................................................................................................................ERROR
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting NeoServer: disabled
Starting Third-Party Addons: OK
Starting crond: OK
Setup onboard LEDs: booted, OK

In the past, the HmIP-RFUSB was recognized as ttyUSB0, whereas now, the only USB device recognized by HA OS is not related to the HmIP, isn’t it?

Subsystem: usb
Device path:
/dev/bus/usb/001/001


BUSNUM: '001'
DEVNAME: /dev/bus/usb/001/001
DEVNUM: '001'
DEVPATH: /devices/platform/soc/3f980000.usb/usb1
DEVTYPE: usb_device
DRIVER: usb
ID_BUS: usb
ID_FOR_SEAT: usb-platform-3f980000_usb
ID_MODEL: DWC_OTG_Controller
ID_MODEL_ENC: DWC\x20OTG\x20Controller
ID_MODEL_ID: '0002'
ID_PATH: platform-3f980000.usb
ID_PATH_TAG: platform-3f980000_usb
ID_REVISION: '0510'
ID_SERIAL: Linux_5.10.92-v7_dwc_otg_hcd_DWC_OTG_Controller_3f980000.usb
ID_SERIAL_SHORT: 3f980000.usb
ID_USB_INTERFACES: ':090000:'
ID_VENDOR: Linux_5.10.92-v7_dwc_otg_hcd
ID_VENDOR_ENC: Linux\x205.10.92-v7\x20dwc_otg_hcd
ID_VENDOR_ID: 1d6b
MAJOR: '189'
MINOR: '0'
OF_COMPATIBLE_0: brcm,bcm2708-usb
OF_COMPATIBLE_N: '1'
OF_FULLNAME: /soc/usb@7e980000
OF_NAME: usb
PRODUCT: 1d6b/2/510
SUBSYSTEM: usb
TAGS: ':seat:'
TYPE: 9/0/1
USEC_INITIALIZED: '6692927'

Additional information

The HmIP-RFUSB is the only external USB device connected to the RPi.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:37 (29 by maintainers)

github_iconTop GitHub Comments

2reactions
Baxxy13commented, Feb 10, 2022

Also bei läuft das heute reibungslos! 4x WebUI Reboot 4x Neustart über die HA-AddOn Einstellungen 1x HA-Neustart 1x HA-Host Neustart 1x HA-OS Upgrade auf 7.4

1reaction
jens-mauscommented, Feb 10, 2022

Dann können wir ja hier nun “dicht” machen. Danke an alle!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Raspberrymatic rfd error - Third party integrations
I have now loaded a home-assistnat backup with 2022.9.5, but it did not fix the isse. Mounting /data as /usr/local (Home Assistant Add-On):...
Read more >
Homematic (HMIP-RFUSB): no devices found after switch to ...
Hi there, I recently switched from HomeMatic CCU add-on to RaspberryMatic following the official guide. Now Homematic does not work anymore.
Read more >
RaspberryMatic can't find any of my Homematic IP devices
My problem: RaspberryMatic can't find any of my Homematic IP devices. My setup: • Raspberry Pi 4 Model B; 4 GB • Home...
Read more >
RaspberryMatic add-on gives '502 Bad Gateway' - Configuration
I am trying to install RaspberryMatic CCU (Current version: 3.59.6.20210810-8090fdb) as an add-on to home assistant.
Read more >
HomeMatic OCCU Hardware Issue - Home Assistant OS
Installed Addon “HomeMatic OCCU”. ... 2021/02/03 14:19:09.763 <Fatal error> CCU2CommController::init(): Init failed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found