# Node-red-contrib-sonos-plus monitor track being played

**URL:** <https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025>\
**Category:** General\
**Created:** [22 March 2021 16:12 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025 "2021-03-22T16:12:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lseg74](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lseg74/32/39134_2.png) [@lseg74](https://discourse.nodered.org/u/lseg74)\
**Post date:** [22 March 2021 16:12 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025/1 "2021-03-22T16:12:22Z")

</div>

Hi @hklages, I was wondering if I could monitor which track is being played on a particular sonos (S1). My kids typically are playing story CD's from the music library in the evening. And we typically switch to Radio in the morning.  
Problem every evening is to find out which track they were playing last evening. CD is still in the history, but not the track. It would be easy if I could monitor this with node red.

Kind regards,

Luc

---

<div class="post-metadata">

**Author:** ![hklages](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hklages/32/23899_2.png) [@hklages](https://discourse.nodered.org/u/hklages)\
**Post date:** [22 March 2021 16:57 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025/2 "2021-03-22T16:57:28Z")

</div>

There is a sister package [events](https://flows.nodered.org/node/node-red-contrib-sonos-events).  
This enables to subscribe to your specific player and choose the event type AV Transport content should provide a lot of information including the track.

Description is [here](https://flows.nodered.org/node/node-red-contrib-sonos-events) and apart from msg.payload there is msg.raw object with even more infos

Option 2: In sonos-plus use group.get.trackplus in and pull every minute/..

Please try and let me know whether that works for you.

---

<div class="post-metadata">

**Author:** ![lseg74](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lseg74/32/39134_2.png) [@lseg74](https://discourse.nodered.org/u/lseg74)\
**Post date:** [22 March 2021 18:33 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025/3 "2021-03-22T18:33:43Z")

</div>

Ok thank you, sounds perfect. I will give it a try.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 May 2021 18:34 UTC](https://discourse.nodered.org/t/node-red-contrib-sonos-plus-monitor-track-being-played/43025/4 "2021-05-21T18:34:04Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
