Replies: 2 comments 5 replies
-
What values are you setting for timeout and delay? If its not receiving the events, it does not know that it's playing or not. https://sonos2mqtt.svrooij.io/getting-started.html#events-explained Option two, you enable the 'experimental' option and it will switch to "native" notification support. But still the onlyWhenPlaying option will only work if sonos2mqtt is receiving the events (see above) |
Beta Was this translation helpful? Give feedback.
-
thanks for your feedback. Concerning the events I think this works properly, with every change on the players I receive a message like the follwoing on the topic "sonos/RINCONXXX01400": {
"uuid": "RINCON_XXXX01400",
"model": "Sonos One",
"name": "Esszimmer",
"groupName": "Esszimmer",
"coordinatorUuid": "RINCON_XXX01400",
"currentTrack": {
"Artist": "Eddie Money",
"AlbumArtUri": "http://192.168.178.30:1400/getaa?s=1&u=x-sonosapi-stream%3atunein%253a9631%3fsid%3d303%26flags%3d8232%26sn%3d2",
"Title": "Two tickets to paradise",
"UpnpClass": "object.item",
"ItemId": "-1",
"ParentId": "-1",
"TrackUri": "x-sonosapi-stream:tunein:9631?sid=303&flags=8232&sn=2",
"ProtocolInfo": "sonos.com-http:*:application/octet-stream:*"
},
"enqueuedMetadata": {
"Title": "ROCK ANTENNE",
"UpnpClass": "object.item.audioItem.audioBroadcast",
"ItemId": "-1",
"ParentId": "-1"
},
"playmode": "NORMAL",
"ts": 1710050196643,
"transportState": "PLAYING",
"volume": {
"Master": 22,
"LF": 100,
"RF": 100
},
"mute": {
"Master": false,
"LF": false,
"RF": false
},
"bass": 0,
"treble": 0,
"nextTrack": {
"UpnpClass": "object.item.audioItem.musicTrack",
"Duration": "0:00:00",
"ItemId": "-1",
"ParentId": "-1",
"TrackUri": "https://d3rz60g1mtspwx.cloudfront.net/d417df26-cf55-4200000530339225/afc2402e-ec6f-3c82-8da5-fa0aa20ffd44.flac?Expires=1709977500&Signature=bKAr2W3fp4cwWyW62SPAFVfBMsMV7ZSe4uogQPtLc3CkFyXhrbaDBQ~FS009DjLi-OL0rIrp7j-8oyiMHSCUhrz1FEKPbymXVJhH7vFxsCExokEJ3tbZE7KiSl2d~RYawfOAplyu1X22~oTp-iAbg-HwEClNIBRckMXM8dq0WRs_&Key-Pair-Id=APKAJVZTZLZ7I5XDXGUQ"
}
} |
Beta Was this translation helpful? Give feedback.
-
Hi together,
I'm just playing around with the notify-command to run my doorbell by Sonos.
There are 2 main issues:
in case of active playback the doorbell-mp3 is not played completely, it stops after few split seconds. When playing during inactive playback it works properly
parameters "onlywhenplaying","timeout" and "delay" do not really have an influence, independently from changing these parameters the result is always the same. Is it possible to describe the expected action of these parameters more detailed?
I hope someone can e help,
thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions