RaspberryMatic icon indicating copy to clipboard operation
RaspberryMatic copied to clipboard

Raspberrymatic Addon for Home Assistant showing 500 Internal Server Error on Device Firmware Overview

Open riegera2412 opened this issue 9 months ago • 6 comments

Describe the issue you are experiencing

Raspberrymatic Addon 3.81.5.20250326 for Home Assistant shows "500 Internal Server Error" (open resty) on "Device Firmware Overview" in the settings menu.

Describe the behavior you expected

See the usual overview of devices with firmware version and upgrade button if one is available.

Steps to reproduce the issue

  1. Log into the account
  2. got to settings menu
  3. choose Device Hardware Overview ...

What is the version this bug report is based on?

3.81.5.20250326

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?

Full log after last reboot:

Requesting system reboot
Identifying host system: Hewlett-Packard 21B4 (oci), OK
Initializing RTC Clock: onboard, OK
Running sysctl: OK
Checking for Factory Reset: not required
Checking for Backup Restore: not required
Running seedrng: OK
Initializing System: OK
Setup ca-certificates: OK
Starting logging: OK
Init onboard LEDs: init, OK
Starting iptables: OK
Starting network: eth0: link up, fixed, firewall, inet up, 172.30.33.1, OK
Identifying Homematic RF-Hardware: ....HmRF: HMIP-RFUSB/eQ-3 HmIP-RFUSB@usb-0000:00:13.0-1, HmIP: HMIP-RFUSB/eQ-3 HmIP-RFUSB@usb-0000:00:13.0-1, OK
Updating Homematic RF-Hardware: HMIP-RFUSB: 4.4.18, not necessary, 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: not required
Setting LAN Gateway keys: not required
Starting hs485d: disabled
Starting multimacd: .......OK
Starting rfd: .OK
Starting HMIPServer: .............OK
Starting ReGaHss: .OK
Starting CloudMatic: OK
Starting NeoServer: OK
Starting Third-Party Addons: OK
Starting crond: OK
Setup onboard LEDs: booted, OK
Finished Boot: 3.81.5.20250326 (raspmatic_oci_amd64)

Additional information

No response

riegera2412 avatar Apr 08 '25 12:04 riegera2412

Hmm, ich habe nur ein minimalistisches Testsystem als HA-AddOn. Da kann ich das nicht reproduzieren. Kannst du vielleicht mal ein Screencast o.ä. zeigen?

Baxxy13 avatar Apr 11 '25 15:04 Baxxy13

Hey, I attached the screenshot to this comment and marked the error message.

Image

riegera2412 avatar Apr 11 '25 16:04 riegera2412

Hmm, ok. Ich denke wir können auf deutsch weitermachen (deine HA-UI ist ja auch deutsch 😉 )

Kannst du mal direkt auf die RM gehen und das prüfen? C&P aus einem anderen Bereich, daher englisch.

Go to: Settings -> Add-ons -> RaspberryMatic -> Configuration Search for: "CCU WebUI HTTP (Extern)" and enter a valid port-number. (i'm using 8088)

Save, and after the AddOn is restarted you can use http://ip-of-your-ha:8088/ in your browser to access RaspberryMatic-WebUI directly.

Baxxy13 avatar Apr 11 '25 17:04 Baxxy13

Ja das funktioniert. Ich kann das WebUI über die IP direkt erreichen und dort funktioniert die Firmwareübersicht auch normal. Aber wenn ich das mache, bekomme ich zwei Fehlermeldungvon Homeassistant.

  1. Keine Verbindung zu Schnittstelle RaspberryMatic-VirtualDevices. Diese Integration versucht eine automatische Wiederverbindung. Weitere Informationen finden Sie in den Protokolldateien von Home Assistant

  2. Interface RaspberryMatic-HmIP-RF nicht erreichbar Warnung ⸱ Von Homematic(IP) Local gemeldet Keine Verbindung zu Schnittstelle RaspberryMatic-HmIP-RF. Diese Integration versucht eine automatische Wiederverbindung. Weitere Informationen finden Sie in den Protokolldateien von Home Assistant

Wenn ich die Port-Änderung rückgängig mache, läuft alles wieder normal. Die Logs des Addons zeigen keine Fehlermeldung.

Quelle: runner.py:154
Erstmals aufgetreten: 11. April 2025 um 21:34:00 (4 Vorkommnisse)
Zuletzt protokolliert: 12:02:41

OSError on RaspberryMatic-HmIP-RF: (111, 'Connection refused')
OSError on RaspberryMatic-VirtualDevices: (111, 'Connection refused')

und

Quelle: runner.py:154
Erstmals aufgetreten: 11. April 2025 um 21:38:23 (4 Vorkommnisse)
Zuletzt protokolliert: 11. April 2025 um 21:43:32

PROXY_INIT failed: ResponseNotReady [Request-sent] Unable to initialize proxy for RaspberryMatic-HmIP-RF
PROXY_DE_INIT failed: NoConnectionException [OSError on RaspberryMatic-HmIP-RF: (111, 'Connection refused')] Unable to de-initialize proxy for RaspberryMatic-HmIP-RF
PROXY_DE_INIT failed: NoConnectionException [OSError on RaspberryMatic-VirtualDevices: (111, 'Connection refused')] Unable to de-initialize proxy for RaspberryMatic-VirtualDevices
IS_CALLBACK_ALIVE: Callback for RaspberryMatic-VirtualDevices has not received events for 604s

Es spielt keine Rolle, welchen Port ich benutze; die Fehlermeldung ist immer die gleiche.

riegera2412 avatar Apr 12 '25 10:04 riegera2412

Ok, jetzt kommen wir von einem Problem zu einem anderen.

Normalerweise hat das aktivieren/ändern dieses Ports in der AddOn-Konfiguration keinerlei Einfluss auf die Homematic(IP) Local - Integration. Richtig konfiguriert geht die Integration direkt über das HA-Docker-Netzwerk auf das AddOn. Dazu muss im Config-Flow bei "CCU Hostname/IP-Adresse" nur der Hostname des AddOns eingetragen sein.

Zum Ursprungs-Problem: Hast du denn irgendwelche Firmware auf die RM hochgeladen? Und wenn ja, kannst du die mal über den "Browser-Weg" löschen?

Baxxy13 avatar Apr 12 '25 17:04 Baxxy13

Ja, das war auch meine Absicht. Der Hostname ist korrekt wie im RaspberryMatic Addon angegeben konfiguriert.

Der Home Assistant läuft auf einem HP T620 Thin Client. Für die Installation habe ich das Generic Image für HassOS verwendet. Alle Updates auf die neuste Version sind installiert.

Der Addon läuft in HassOS as is, also ich habe keinerlei Zusatzsoftware installiert.

riegera2412 avatar Apr 12 '25 18:04 riegera2412

There hasn't been any activity on this issue recently. To keep our backlog manageable we have to clean old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest RaspberryMatic version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 12 '25 05:07 github-actions[bot]