I still have this bug, I can reproduce it exactly in the way described here:
The wrong state corrects itself after some time between 40 sec and 3 minutes.
I have disabled all rules for testing. I have sonos:connects and connect:amps, and a SYMFONISK, latest firmware, I use the Sonos S1 controller. All players use a wired LAN connection.
OH 3.4.4 is running on a NUC (backup OH 3.4.4 on a Synology NAS in a docker container) both produce the same issue.
Currently I use a workaround, a rule which refreshes all the sonos things whenever one of the players local_coordinator changes to ON. This way the states get corrected in a few seconds after any ungroup action:
rule sonos_refresh
when
Item Sonos_ConnectAmp_Konyha_Local_Coordinator changed to ON or
Item Sonos_ConnectAmp_Furdo_Local_Coordinator changed to ON or
...
then
//The sonos things get switched off and on again
sendHttpPutRequest("http://a:b@localhost:8080/rest/things/sonos:CONNECTAMP:RINCON_xxxxxxx/enable", "text/plain", "false")
sendHttpPutRequest("http://a:b@localhost:8080/rest/things/sonos:CONNECTAMP:RINCON_xxxxxxx/enable", "text/plain", "true")
sendHttpPutRequest("http://a:b@localhost:8080/rest/things/sonos:CONNECTAMP:RINCON_yyyyyyy/enable", "text/plain", "false")
sendHttpPutRequest("http://a:b@localhost:8080/rest/things/sonos:CONNECTAMP:RINCON_yyyyyyy/enable", "text/plain", "true")
...
end
Maybe the binding could be adjusted to handle this better?
Thanks
ecser