==============
Control and monitor SONOS player from ioBroker.
Used packets from Jimmy Shimizu https://github.com/jishi/node-sonos-discovery and https://github.com/jishi/node-sonos-web-controller
This adapter requires node 4.0.0 or higher!
To allow using sayIt adapter with SONOS, be sure that web adapter is instantiated and running too. Web adapter is required to enable SONOS to read the generated MP3 file from sayIt.
You can use mobile interface too. It can be found under http://ipaddress:8083/m/
TODO: Show queue with covers
- States: coordinator, group_volume, group_muted
- all read/write, to get also changes from Sonos-App
- "coordinator" contains the channel name of the Group-Master (e.g. 192_168_1_99). If Device do not belong to any group the value is eaqual to the own channel name
- (bluefox) Support js-controller compact mode
- (bluefox) Fixed error with node.js 6
- (bluefox) Trying to correct fade-out
- (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
- (bluefox) Ready for npm6
- (bluefox) Added the support of Admin3
- (soef) no duration/elapsed update on radio
- (justr1) Enhance group Handling
- (bluefox) use new configuration dialog
- (soef) removeFromGroup extended
- (bluefox) Allow to use the sonos web via with proxy
- (bluefox) add states for vis control and change some roles
- (bluefox) Fix TTS if fade was 0
- (bluefox) Fix api changes of SONOS module
- (bluefox) add web adapter as dependency
- (bluefox) tts was rewritten because of new sonos-discovery interface
- (bluefox) update sonos npm packets
- (bluefox) configurable fadeIn and fadeOut
- (bluefox) fix fade out
- (bluefox) fix types of states
- (soef) fixed restore of radio after sayIt
- (soef) fixed restore of radio after sayIt
- (bluefox) fix log outputs
- (bluefox) update libraries and use fix versions of it
- (bluefox) check type of "state"
- (bluefox) change default port to 8080
- (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
- (bluefox) fix favorites set
- (bluefox) implement tts if radio is playing
- (bluefox) set volume by TTS
- (bluefox) catch errors if states deleted
- (bluefox) enable npm install
- (bluefox) redirect logging messages to ioBroker
- (bluefox) translate grid in config dialog
- (bluefox) use sonos-web-controller module as tarball from git
- (bluefox) support of new naming concept
- (bluefox) support of text to speech
- (bluefox) support of text to speech and cover image
- (bluefox) improve configuration edit
- 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)
The MIT License (MIT)
Copyright (c) 2014-2019, bluefox dogafox@gmail.com
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.