[sonos] media channel WARN messages while thing is not added #4850
Comments
This warning happens when the group master is not attached to a thing. As an example, you send a command "NEXT" to the Sonos group, this command has to be handled by the group master. If this Sonos master is not attached to a thing, the binding is not able to send this command. |
The Sonos Playbar is added as a Thing and it is the group master. I can control the Sonos from openhab, all commands work as expected. These two Play 1's are not added because i don't need to control them, so i still don't see why it would log anything at all.
Offcourse it should log a warning when a command is send and it can't be handled. But that is not the case, i don't send any command to these Play 1's. |
Oups, you're right, looking again at your logs, the problem is more that the binding tries to update all group members, for example the currently track information. As you have not these things, there is a log message. |
Fixes #4850 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
Fixes eclipse-archived#4850 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
The sonos binding shows warnings in the log while the corresponding thing is not yet added from the inbox (or in my case is hidden in the inbox).
I have a Playbar with two play 1's as left/right rear. The Playbar is added as Thing in openhab, the Play 1's are not. All works as expected except for these WARN messages in the log. The RINCON points to both play 1's. And that is a bit strange, because they are not used in openhab. No thing, no channels.
As far as i know there are two different warnings added to the log every time a different track is played on the Sonos Playbar:
[WARN ] [s.internal.handler.ZonePlayerHandler] - Cannot update media data for group member (Could not find handler for RINCON_XXXXXXXXXXXXX)
[WARN ] [s.internal.handler.ZonePlayerHandler] - Cannot update channel for group member (Could not find handler for RINCON_XXXXXXXXXXXXX)
This is with build 1162 and when i check my logs, this is happening for months, can't determine with what build it was introduced.
The text was updated successfully, but these errors were encountered: