# Help with Nodes Pi Keyboard and contrib sonos plus

**URL:** https://discourse.nodered.org/t/help-with-nodes-pi-keyboard-and-contrib-sonos-plus/43916
**Category:** General
**Created:** [9 April 2021 11:45 UTC](https://discourse.nodered.org/t/help-with-nodes-pi-keyboard-and-contrib-sonos-plus/43916 "2021-04-09T11:45:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ttavlis](https://avatars.discourse-cdn.com/v4/letter/t/7993a0/32.png) [@ttavlis](https://discourse.nodered.org/u/ttavlis)
#### Post date: [9 April 2021 11:45 UTC](https://discourse.nodered.org/t/help-with-nodes-pi-keyboard-and-contrib-sonos-plus/43916/1 "2021-04-09T11:45:15Z")

</div>

Hallo all,  
I have a usb rfid reader and as soon as I read a rfid Tag it is setup to play a music in sonos.  
The pi keyboard node reads the tag and via a switch linked to the Sonos node it plays the song.  
I wanted to do two things here, but hasn’t found a way yet to do so:

1. It would be great that when the rfid tag is not in contact anymore, that the song being played in Sonos pauses. The usb reader changes a color from green to red to indicate this, but I the debug node of the Pi keyboard there is no indication of that. Any ideas?

2. I would like to control via a dashboard node where the song should be played. Any ideas on how to proceed here? I could not send the ‘state’ togehhtet with the payload somehow, to the Sonos node....  
Thanks for any help!

---

<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: [8 June 2021 11:45 UTC](https://discourse.nodered.org/t/help-with-nodes-pi-keyboard-and-contrib-sonos-plus/43916/2 "2021-06-08T11:45:41Z")

</div>

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