jens-maus / RaspberryMatic

:house: A feature-rich but lightweight, buildroot-based Linux operating system alternative for your CloudFree CCU3/ELV-Charly 'homematicIP CCU' IoT smarthome central. Running as a pure virtual appliance (ProxmoxVE, Home Assistant, LXC, Docker/OCI, Kubernetes/K8s, etc.) on a dedicated embedded device (RaspberryPi, etc.) or generic x86/ARM hardware.
https://raspberrymatic.de
Apache License 2.0
1.55k stars 192 forks source link

RaspberryMatic becomes unresponsive after adding a program and restarting #2934

Open UllisHellfireeXperiments opened 6 days ago

UllisHellfireeXperiments commented 6 days ago

Describe the issue you are experiencing

I am using RaspberryMatic (HA Add-on) for a few years now, operating thermostats (HM-CC-RT-DN), a few other devices (HM-PB-2-WM55, HM-WDS10-TH-O, HM-WDS40-TH-I-2) and a few programs without any issues up to now.

However, I recently added a few additional devices, updated the existing programs and added new programs. At first RaspberryMatic continued to work properly, however, after the update to 3.76.6 the UI became unresponsive. Opening RaspberryMatic from the Home Assistant UI revealed the RaspberryMatic Home Page as usual, but clicking on anything made it unresponsive. Deactivating Home Assistant's Watchdog function even made Home Assistant unresponsive for several minutes.

Of course, at first I thought that the issue had something to do with the update. But, after restoring a backup, adding the new devices and programs - but not performing the update - it turned out that a restart a again lead to RaspberryMatic becoming unresponsive.

So I again restored a backup, but performed the update to 3.76.6 first. The update did not pose any problems.

Next I recreated what I had done before step by step with a backup and reboot between each step. It turned out that the critical action was adding a new program. The new program was simply triggered by a system state being updated and set all the thermostats to a certain temperature. As I said before, the issue was latent until after the next restart.

It might be noteworthy, that adding an empty program did not trigger the issue. Adding a condition and actions in the next step did.

Describe the behavior you expected

RaspberryMatic shall operate normally after adding new programs. In case of a corrupt or in any other way invalid program I would expect an error message and graceful degradation.

Steps to reproduce the issue

  1. Add a new program.
  2. Reboot.

What is the version this bug report is based on?

3.76.6 (both, 20241030 and 20241122)

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?

Unfortunately I was not able to review any logs because of the UI being unresponsive.

Additional information

No response

MichaelN0815 commented 5 days ago

Und du hältst es nicht für geboten das mysteriöser Programm hier mal zu zeigen?

github-actions[bot] commented 1 day ago

@UllisHellfireeXperiments, the maintainer of this project has requested more detailed information or a specific feedback. Please provide this feedback and report back ASAP or this ticket will be automatically marked as stale after a certain short grace period.