openHAB 4.2.1 Physically Unplugged shellyplug - Thing bouncing between ONLINE and OFFLINE

Since I switched from OH 4.0.4 to OH 4.2.1 the state of my Shelly thing shelly:shellyplug-s:xxxxxx of a currently unplugged Shelly plug bounces between ONLINE an OFFLINE.
I am checking the state in a rule to see if an electrical heating is plugged in or not.

Here is relevant entry from the log - the last two entries are coming from my rule:
2024-09-12 12:43:50.451 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyplug-s-xxxxxx: Status update triggered thing initialization

2024-09-12 12:43:50.452 [DEBUG] [y.internal.handler.ShellyBaseHandler] - shellyplug-s-xxxxxx: Start initializing for thing shellyplug-s-xxxxxx - yyy.yyy.yyy.yy, type shellyplugs, Device address 192.168.178.85, Gen2: false, isBlu: false, alwaysOn: true, hasBattery: false, CoIoT: true

2024-09-12 12:43:50.453 [TRACE] [shelly.internal.api.ShellyHttpClient] - shellyplug-s-xxxxxx - 192.168.178.85: HTTP GET http://yyy.yyy.yyy.yy/shelly

Accept-Encoding: gzip

User-Agent: Jetty/9.4.54.v20240208

Content-Type: application/x-www-form-urlencoded

2024-09-12 12:43:50.458 [INFO ] [.model.script.HeizungJulia Reachable] - Yes, Status shelly:shellyplugs:xxxxxx: ONLINE

2024-09-12 12:43:53.525 [INFO ] [.model.script.HeizungJulia Reachable] - No, Status shelly:shellyplugs:xxxxxx: OFFLINE

Is this a known problem?

I’m monitoring my shellies too since I have moved to 4.2.1. In 4.2.1 an update of statusInfo is also triggered as update of thing state.
I’m using “debounce add on” to get stable state of unplugged (not connected) shellies. Please have a look at Physical entities “lost in space”

Hey Manfred, thanks for you help. Based on your info I implemented the debouncing.
I am currently ordering a Zigbee2MQTT device because the Zigbee support of my Amazon Echo device does not seem work in OpenHAB any more, so the info about Zigbee2MQTT comes handy as well.

Do you alredy have zigbee devices?
Zigbee-network is different to wifi network, they only share 2.4GHz frequency range.

yes, I have currently 2 lightbulbs (Phillips and Ikea) and one plug via zigbee attached to Amazon Echo and since about 4 weeks it does not work anymore in OpernHAB, presumably because Amazon changed it’s protocol. Here is the problem I opened in the forum regarding this problem:
Amazon Echo Control Problem: getSmartHomeDevices fails: GET url 'https://alexa.amazon.de/api/phoenix' failed: Too Many Requests .
The interface between the OpenHAB binding and Amazon seems to be pretty brittle in general.

Using local control of your zigbee devices is best choice!
Im using Sonoff Zigbee Dongle E for my zigbee2mqtt instance. You might have to flash the dongle, which is well described in Supported adapters.