Closed JustinGeorgi closed 3 months ago
This issue has been mentioned on openHAB Community. There might be relevant details there:
https://community.openhab.org/t/all-sonos-things-flapping-every-minute/145765/9
Not sure if you still experience this issue, but the last snapshot build's have an upgraded jUPnP library. Maybe worth a while to test if that improves on the matter. From the binding perspective, i don't think there is anything that can be done to fix this issue. Docker / network / uPnP that is all sort of transparant to the binding.
the last snapshot build's have an upgraded jUPnP library
That very interesting news, thank you. I have been able to manage the issue, but that's not the same as fixing it, so I will definitely take a look at the new snapshots when I have a chance.
You can find answers on the community forum or in documentation: https://next.openhab.org/docs/installation/docker.html#universal-plug-and-play-upnp
You can find answers on the community forum or in documentation:
I've followed all the forum threads about this. Every time I try the Dorg.jupnp.network.useInterfaces Dorg.jupnp.network.useAddresses suggestions (and I've done it three or four times), far from fixing the problem, my container looses all connection to the internet. I don't know what I'm doing wrong or is different about my setup that causes this problem. I'll have time to try again soon and report back if the new update changes anything.
Unfortunately this seems to be specific to your docker installation and/or configuration. As the network layer is transparant to the binding, and no other cases have been reported, i guess this is something that can't be fixed in the binding. If you think otherwise, or have a lead how this cvan be fixed, feel free te re-open. For docker config the community forums are the best place to get assistance.
I migrated my OH system to a new environment and initially, I had the same problem (so at least it wasn't specific to the system OH was running on). I then reconfigured my docker containers on the new system so that all of them were using the host network and I haven't had the issue since.
Thank you for checking back in. Closing this issue is fine.
I have 8 sonos speakers. My sonos system has been reliably connected to OH for several years, but I have noticed in the last week now that the things for all 8 speakers go offline for a second or two and then come back online again once every minute.
A forum discussion about the issue can be seen here: https://community.openhab.org/t/all-sonos-things-flapping-every-minute/145765 but no resolution has been found.
System: OH 4.0 snapshot Build #3392 (also occurs on 4.0M1) Docker container network: host Docker running on ubuntu 22.04 All sonos speakers on same lan as OH Sonos system fully up-to-date
JUPnP settings in runtime.cfg
Have also tried
org.jupnp:threadPoolSize
andorg.jupnp:asyncThreadPoolSize
set to-1
but this does not fix the issue.Logs: events.log (example of one speaker)
openhab.log (org.openhab.binding.sonos log level DEBUG, example of one speaker)
openhab.log (org.jupnp log level DEBUG)