Giter Club home page Giter Club logo

iobroker.sonos's Introduction

Logo

ioBroker.sonos

Number of Installations Number of Installations NPM version Downloads

NPM

Control and monitor SONOS devices with ioBroker.

Handling of groups

  • States for handling SONOS groups:
    • coordinator *: set/get the coordinator, so the SONOS device which is the master and coordinating the group. It requires the IP address (channel name) of the SONOS device to be the coordinator, but with underscore _ instead of dot ., so use for example 192_168_0_100 for IP address 192.168.0.100. If the device does not belong to any group, then the value is equal to the own channel name (IP).
    • group_volume *: the volume of the group
    • group_muted *: mute status of the group.
    • add_to_group: Add a certain SONOS device to the SONOS device under which this state is. Use IP address with underscores (see above).
    • remove_from_group: Remove a certain SONOS device from the SONOS device under which this state is. Use IP address with underscores (see above).

*) These states will be updated if changes are made in the SONOS app.

Using with the sayit adapter

To use the sayit adapter with this SONOS adapter, ensure that the web adapter is instantiated and running too. The web adapter is required to allow the SONOS adapter to read the generated MP3 file from the sayit adapter.

Warning: Stability problems in combination with sayit adapter

Please note: This SONOS adapter has stability issues if using 'text to speech' with the sayit adapter. Symptoms observed:

  1. Arbitrary change of volume to 0 or 100 %.
  2. No response after a random number of text to speech sequences

Workaround for text to speech is to use the SONOS HTTP API.

To Do

  • Show queue with covers

Changelog

2.0.1 (2019-11-04)

  • (klein0r) create sonos cache directory

2.0.0 (2019-08-13)

  • (bluefox) no web server any more
  • (bluefox) update all used npm packages

1.8.0 (2019-01-04)

  • (bluefox) Support js-controller compact mode

1.7.7 (2018-08-06)

  • (bluefox) Fixed error with node.js 6

1.7.5 (2018-08-06)

  • (bluefox) Trying to correct fade-out

1.7.4 (2018-07-23)

  • (bluefox) The group volume has a valid role now
  • (bluefox) Important changes: state cover.png renamed to "cover_png"
  • (bluefox) added shuffle, repeat and crossfade modes. To enable it you must delete device from list and add it again
  • (bluefox) better icon
  • (bluefox) fix fade out option

1.7.1 (2018-07-17)

  • (bluefox) Ready for npm6

1.7.0 (2018-07-16)

  • (bluefox) Added the support of Admin3

1.6.2 (2017-08-16)

  • (soef) no duration/elapsed update on radio

1.6.0 (2017-04-09)

  • (justr1) Enhance group Handling

1.5.0 (2017-02-23)

  • (bluefox) use new configuration dialog

1.4.4 (2017-01-29)

  • (soef) removeFromGroup extended

1.4.3 (2017-01-08)

  • (bluefox) Allow to use the sonos web via with proxy

1.4.2 (2016-12-29)

  • (bluefox) add states for vis control and change some roles

1.3.1 (2016-12-27)

  • (bluefox) Fix TTS if fade was 0

1.3.0 (2016-12-13)

  • (bluefox) Fix api changes of SONOS module

1.2.1 (2016-12-10)

  • (bluefox) add web adapter as dependency

1.2.0 (2016-10-25)

  • (bluefox) tts was rewritten because of new sonos-discovery interface

1.1.0 (2016-10-20)

  • (bluefox) update sonos npm packets
  • (bluefox) configurable fadeIn and fadeOut

1.0.0 (2016-10-16)

  • (bluefox) fix fade out

0.2.2 (2016-09-30)

  • (bluefox) fix types of states

0.2.1 (2016-09-25)

  • (soef) fixed restore of radio after sayIt

0.2.0 (2016-07-28)

  • (soef) fixed restore of radio after sayIt
  • (bluefox) fix log outputs
  • (bluefox) update libraries and use fix versions of it

0.1.10 (2016-05-26)

  • (bluefox) check type of "state"

0.1.9 (2016-05-20)

  • (bluefox) change default port to 8080

0.1.8 (2016-02-22)

  • (hagen) - Better handling of radio stations (show -> album, streamInfo -> artist)
  • (hagen) New state 'current_type' to tell if a track or radio is playing
  • (hagen) (Hopefully) fixed the unreliable cover art update

0.1.7 (2015-09-14)

  • (bluefox) fix favorites set

0.1.6 (2015-02-25)

  • (bluefox) implement tts if radio is playing

0.1.5 (2015-02-13)

  • (bluefox) set volume by TTS

0.1.4 (2015-01-04)

  • (bluefox) catch errors if states deleted

0.1.3 (2015-01-02)

  • (bluefox) enable npm install

0.1.2 (2014-12-12)

  • (bluefox) redirect logging messages to ioBroker

0.1.1 (2014-12-04)

  • (bluefox) translate grid in config dialog

0.1.0 (2014-12-04)

  • (bluefox) use sonos-web-controller module as tarball from git

0.0.5 (2014-11-24)

  • (bluefox) support of new naming concept

0.0.4 (2014-11-22)

  • (bluefox) support of text to speech

0.0.3 (2014-11-01)

  • (bluefox) support of text to speech and cover image

0.0.2 (2014-11-01)

  • (bluefox) improve configuration edit

Configuration

  • Web server - [optional] If web server enabled or not
  • Port - If Webserver is enabled, so the port for this. Default 8083
  • Update of elapsed time(ms) - Interval in ms how often to update elapsed timer when the title is playing. (Default 2000)

License

The MIT License (MIT)

Copyright (c) 2014-2019, bluefox [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

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.

iobroker.sonos's People

Contributors

apollon77 avatar germanbluefox avatar justr1 avatar klein0r avatar maeb3 avatar marty56 avatar mic-m avatar ruhr70 avatar soef avatar t4qjxh8n avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.