Supergiovane / node-red-contrib-knx-ultimate

Control your KNX intallation via Node-Red! A bunch of KNX nodes, with integrated Philips HUE control and ETS group address importer.
https://youtu.be/egRbR_KwP9I
MIT License
154 stars 34 forks source link

Cannot load node-red HA add-on UI with KNX Ultimate enabled #282

Closed KomtGoed closed 1 year ago

KomtGoed commented 1 year ago

Buona sera :) Hope this is the right place to report below bug (?) I am running into. Happy to share any other logs required.

Describe the bug I am using Home Assistant, with the Node-Red add-on and the node-red-contrib-knx-ultimate NPM package. This has been working great so far but as of today, the following issue occurs.

When opening the NR UI in HA (click in menu bar), it stalls at "Loading nodes 53/111". I have waited 5 min, nothing happens. When I disable the node-red-contrib-knx-ultimate NPM package, the UI loads just fine.

Can't think of any changes in configurations etc. I have done.

Screenshots image

Knx-Ultimate Version 2023-11-05T21:10:35.493060+01:00 tintin addon_a0d7b954_nodered[484]: 5 Nov 21:10:35 - [debug] Module: node-red-contrib-knx-ultimate 2.2.19 /opt/node_modules/node-red-contrib-knx-ultimate

Are you running node-red behind homematic, docker or anything similar? Running hassio inside a Xen virtual machine with Debian 12.

Additional context Performed various reboots, no change. Removed the NR add-on. Reboot. Re-installed it, no change.

FYI: only other NPM package is @waldbaer/node-red-persistent-values

I have increased the logging levels of NR and KNX Ultimate to debug:

Additional log info from /var/log/syslog: 2023-11-05T21:27:38.939992+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m-----------------------------------------------------------#033[0m 2023-11-05T21:27:39.101710+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m Add-on: Node-RED#033[0m 2023-11-05T21:27:39.151291+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m Flow-based programming for the Internet of Things#033[0m 2023-11-05T21:27:39.152408+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m-----------------------------------------------------------#033[0m 2023-11-05T21:27:39.202133+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m Add-on version: 15.0.0#033[0m 2023-11-05T21:27:39.251091+01:00 tintin addon_a0d7b954_nodered[484]: #033[32m You are running the latest version of this add-on.#033[0m 2023-11-05T21:27:39.480226+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m System: Debian GNU/Linux 12 (bookworm) (amd64 / qemux86-64)#033[0m 2023-11-05T21:27:39.526383+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m Home Assistant Core: 2023.11.1#033[0m 2023-11-05T21:27:39.572387+01:00 tintin addon_a0d7b954_nodered[484]: #033[34m Home Assistant Supervisor: 2023.10.1#033[0m

Supergiovane commented 1 year ago

Hi Thank you for the very detailed report. I appreciate that! A fix is already out in v 2.2.20 Are you able to upgrade?

KomtGoed commented 1 year ago

You are my personal super hero for today, thanks a lot for fixing it so quickly. Confirm that the issue is gone with 2.2.20!

Saw that the issue is with https://kit.fontawesome.com/11f26b4500.js... Is there a way to avoid this external dependency on a production system?

Supergiovane commented 1 year ago

Hi Yes, i'll work on that, to find a solution not to call external dependencies, but first, i must add some option to set Kelvin degrees with datapoint 9.002. After that, i'll work on it.

KomtGoed commented 1 year ago

Much appreciated and please take your time, very happy with KNX Ultimate already.