A small BUG in the SONOS Binding?

Hello,

in the LOG-File from openhab :

[hingStatusInfoChangedEvent] - ‘sonos:PLAY1:RINCON_XXXXXXXX’ changed from OFFLINE (COMMUNICATION_ERROR): The Sonos player RINCON_XXXXXXXX is not available in local network. to ONLINE

I think the
"COMMUNICATION_ERROR): The Sonos player RINCON_XXXXXXXX is not available in local network."

is wrong on this place.

This is correct:
[hingStatusInfoChangedEvent] - ‘sonos:CONNECT:RINCON_XXXXXXXX’ changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): The Sonos player RINCON_XXXXXXXX is not available in local network.

mfg

Are you trying to say that the log entry when the Sonos device went from ONLINE to OFFLINE is missing? Are you sure that entry is not somewhere deeper in the log as this event could be some time ago.
Why are you using a different Sonos thing in the second example? Just because it was easier to copy or???

Hi,

it in all Sonos devices the same.

From “Offline to Online” is in the middle the text "(COMMUNICATION_ERROR): The Sonos player RINCON_xxx is not available in local network.

From “Online to Offline” in in the end the text " (COMMUNICATION_ERROR): The …

Wenn the device go to Online then is a ERROR message not OK.

I understand your problem!!
When a status change is observed it will be reported stating the last status tkgether with the optional detail message followed by the new status which is also followed by an optional detail message.
In case of a status change to ONLINE there is (notmally) no detail message.
What you see is the status report OFFLINE always together with its detail message and the status report ONLINE with no detail. In case of the change to ONLINE the display of the detail message of the previous state (OFFLINE) is somewhat missleading, however it is intended!

Best, Jay