Items continously updated to the same value?

All

just clean-installed OH4 and imported the OH3 backup file (option 51 in openhab-config).

I see that there are some item values that are continuously (every ~10s) updated to the same value, see below for ChromecastLivingRoomTV_Mute as example

2024-04-01 20:19:01.993 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:19:12.151 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:19:22.308 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:19:32.472 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:19:42.622 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:19:52.782 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:20:02.933 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:20:13.093 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:20:23.242 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF
2024-04-01 20:20:33.393 [INFO ] [openhab.event.ItemStateUpdatedEvent ] - Item 'ChromecastLivingRoomTV_Mute' updated to OFF

Is this a OH4 feature or am I missing something?

Max

Yes:

:person_facepalming:

Thanks a lot and apologize I could not find this alone

:sweat_smile:

1 Like

It’s always updated like this this. The Chromecast binding is always getting updated statuses of each Chromecast and every time it does, it updates the Items. This has always been the case.

What changed in OH 4 is these events changed names so your old log4j2.xml isn’t suppressing updates any more. When you upgraded, you probably kept your log4j2.xml instead of updating to the latest one.

Add the following to your loggers.

                <Logger level="ERROR" name="openhab.event.ItemStateUpdatedEvent"/>
                <Logger level="ERROR" name="openhab.event.GroupStateUpdatedEvent"/>
1 Like