node-red-contrib-sonos-plus
A set of Node-RED nodes to control SONOS player in your local network. Works well with RedMatic
NEWS
Node Manage Queue: remove_song has property "numberOfSongs
Node Manage Queue: Support for Spotify: tracks, album, playlists from My Sonos or direct insertion
Node Manage Queue: Removed property: queue_length, available_playlists
Node Get Status: Added command test_connected to check whether player is reachable
Node Control Player: Now with output to be able to chain commands
Node Radio Player: added play_httpradio to play an internet stream
All Nodes: Revised, code simplification, ...
Node Get Status: Revised, changing some output properties name: sonosName, sonosGroup, normalized_volume, queue_active
Node Manage Radio: Bug fix - no output for play_mysonos
Node Manage Queue: Added insert_amazonprime_playlist, get_amazonprime_playlists
Node Control Player: Added set_led command
Installation
Install directly from your NodeRED's setting pallete.
Major Functions
- SONOS Player: Simply select the SONOS player in ConfigNode by search button (recommendation: enter IP address, processing is faster)
- Basic functions: play, stop, pause, mute, group, activate line in, ...
- TuneIn radio ID: Select and play TuneIn stations by simply submitting the TuneIn radio id
- Stations: Convenient selection of "My Sonos" radio station from TuneIn and Amazon Prime by name (search string in station name).
- Spotify: Insert playlists, album, songs from My Sonos - using search string in playlist name - or direct with uri
- Playlists: Insert Amazon Prime playlist from My Sonos - using search string in playlist name
- Playlists: Insert Music Library playlist or Sonos playlist - using search string in playlist name
- Notification: Interrupt current song and play a notification
- Test: Test command to check whether SONOS player is reachable ( means on and really a SONOS player)
- Information: Provides many kinds of current song information: artist, title, media information and radio station name
Restrictions
When playing a radio station the commands next_song, previous_song may cause an error message as many stations do not support them.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Usage ...
For more information - also examples - see the Wiki