node-red-contrib-sonos-notify 0.2.1

The most simple node for Sonos ever.

npm install node-red-contrib-sonos-notify

The most simple node for Sonos ever.

ポキオ Sonos IFTTT

This node receives music track updates from Sonos devices and notifies track infomation to the next node. Sonos devices must be on the same local network.

Settings

To use this node, no configurations required. This node will search Sonos devices on the local network and notify music update of all Sonos devices found.

If you configure parameters below, you can also specify a Sonos device which you want to get notify from.

  • Address
    • A local IP address of the target Sonos device.
  • Port
    • A port number of the target Sonos devices.

And from 0.1.7, this node supports more events like Volume and PlayState. It can be enabled from properties of the node.

ポキオ Node-RED Sonos

Usage

If the target Sonos device starts playing new track, the infomation will be notified to the next node. Enjoy!

Following is a sample output.

{
    "name": "Living Room",   // a name of Sonos player.
    "event": "CurrentTrack",   // event kind. if `More Events` is checked, this may vary.
    "address": "192.168.1.35",   // an ip address of Sonos player.
    "payload": {   // current track info is included in `payload`.
        "id": null,
        "parentID": null,
        "title": "Scream & Shout",
        "artist": "will.i.am",
        "album": "#willpower",
        "albumArtURI": "https://i.scdn.co/image/ab67616d0000b2738165b764264fb3705d7367d6",
        "uri": "x-sonos-spotify:spotify:track:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        "duration": 282,
        "queuePosition": 1
    },
    "_msgid": "xxxxxxxx.xxxxxx"
}

Special Thanks

Node Info

Version: 0.2.1
Updated 2 years, 3 months ago
License: MIT
Rating: not yet rated

Actions

Rate:

Downloads

28 in the last week

Nodes

  • sonos-notify

Keywords

  • node-red
  • sonos
  • notify

Maintainers