After the migration to OH3 I have this one line that keeps coming back now and then in the openhab.log 2020-12-28 21:09:15.648 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined
I have not found any logic so far in when it happens. I don’t have any other errors in the logs.
Is there a way to debug this further as to know which item could be gone missing ?
Are you also using the keypad widget by ysc? This seems to be causing the messages, as it uses an item name of “undefined” when no item is set in the widget config.
I get these as well. I haven’t been able to replicate them, but as I am very slowly migrating to OH3 and messing with the GUI a lot, I’ve noticed that it happens when I have been adding/linking items to channels.
I have so far installed the Astro, HTTP, opensprinkler, icloud and NTP bindings. In the GUI I have only created things and items, linked them and added transformations. I also created a very basic page with toggle and label cards.
So this isn’t too helpful, but at least its further validation that it does occur.
Oh man that saved the day. Is there any way to get a more detailed log message for those kind of errors/warnings? Or is there a global search for the UI mode in openhab3?
Sorry, but what do you exactly mean?
In my case this error pops up for items which have been deleted months ago (file based config).
Shouldn’t these items be removed from auto generated widgets?
(I did not create mainUI custom widgets, because I am on HABpanel)
I’m just an openHAB beginner so I might not be of much help.
You might have something in a UI element/widget which is refering to an item that you may have since deleted or changed the name of. For me it was an item reference embedded in the subtitle object of a label card. Found it by looking in the yaml-code of the widget. Check your pages and sitemaps. Hope it makes sense.