GithubHelp home page GithubHelp logo

castorlighting / iobroker.bosesoundtouch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iobroker-community-adapters/iobroker.bosesoundtouch

0.0 1.0 0.0 180 KB

Bose SoundTouch adapter for ioBroker

License: MIT License

JavaScript 94.91% HTML 5.09%

iobroker.bosesoundtouch's Introduction

ioBroker.bosesoundtouch Logo

Bose SoundTouch adapter for ioBroker IoT platform

Control States

To control your speaker, the following objects can be written:

State Description
key One of the following keys to send:

PLAY
PAUSE
STOP
PREV_TRACK
NEXT_TRACK
THUMBS_UP
THUMBS_DOWN
BOOKMARK
POWER
MUTE
VOLUME_UP
VOLUME_DOWN
PRESET_1
PRESET_2
PRESET_3
PRESET_4
PRESET_5
PRESET_6
AUX_INPUT
SHUFFLE_OFF
SHUFFLE_ON
REPEAT_OFF
REPEAT_ONE
REPEAT_ALL
PLAY_PAUSE
ADD_FAVORITE
REMOVE_FAVORITE
INVALID_KEY
muted Mute or unmute the device.
on Power on or off the device.
playEverywhere Define speaker as zone master and play its content on all other speakers.
volume Change device volume between 0 and 100.

Info States

The following information is collected from your speaker (read-only states):

Device Info

State Description
ipAddress The device IP address, usually the same that you configured in adapter settings.
macAddress The device MAC address
name The name you configured with your SoundTouch App.
type The device type (e.g. SoundTouch 300).

Now Playing

State Description
album The currently playing album.
art The URL of the source art.
artist The currently playing artist.
genre The genre of current playing track.
source The type or name of the service playing. To determine if the product is in standby mode, check if source == STANDBY.
station The station or playlist name.
track The currently playing track.

Presets

The following states are present for each of the 6 available presets:

State Description
iconUrl The URL of the source art.
name The album, station, playlist, song, phone, etc. name depending on the source.
source The type or name of the service.

Zones

The following description will help you to create groups with you multiroom system. The readonly field are automaticly updated by the soundtouch devices, also if you change the groups by the Soundtouch Application itself.

State Description
masterOf Display the MAC addresses of the slaves of a speaker (splitted by ";") (readonly)
memberOf Display the MAC address of the master of this speaker (readonly)
addMasterOf Add MAC address of the speaker you would like to add to this master speaker. Also possible to put more then one speaker (split by ";").
removeMasterOf Add MAC address of the speaker you would like to remove from this master speaker. Also possible to put more then one speaker (split by ";").

Changelog

0.2.2 (03.11.2018)

  • Zones: objects moved to sub folder 'zones'

0.2.1 (12.10.2018)

  • Update now playing info for source Deezer

0.2.0 (27.09.2018)

  • Add support for zones

0.1.9 (07.03.2018)

  • Update now playing info for source Amazon

0.1.8 (08.02.2018)

  • Update now playing info for source Spotify
  • now playing: added state 'genre'

0.1.7 (04.02.2018)

  • fixed crash if no presets are defined

0.1.6 (17.01.2018)

  • fixed crash if socket connection fails
  • added setting: time to reconnect in seconds

0.1.5 (06.01.2018)

  • added 'TUNEIN' to now playing info
  • state playEverywhere falls back to false after activation
  • admin/bose.png renamed to admin/bosesoundtouch.png to be shown corretly in adapter list
  • added short adapter description in io-package.json

0.1.4 (30.12.2017)

  • playEverywhere: support multi room (zones) to define one speaker as master for all others

0.1.3 (22.12.2017)

  • revert last change

0.1.2 (22.12.2017)

  • fixed typo in package.json

0.1.1 (20.12.2017)

  • now playing: added state 'art' (URL to cover image if available)
  • merged pull request from Apollon77 (basic config files for testing)
  • renamed repository to 'ioBroker.bosesoundtouch'

0.1.0 (26.11.2017)

  • objectChange/stateChange: log level 'debug'
  • added 'STORED_MUSIC' to now playing info.

0.0.9 (22.11.2017)

  • Merge pull request #1 from Apollon77/master: Add testing and fix things...

0.0.8 (19.11.2017)

  • send value to correct instance when having multiple adapters installed
  • first version of README.md

0.0.7 (09.11.2017)

  • fixed logging in soundtouchsocket.js

0.0.6 (09.11.2017)

  • renamed main.js to bosesoundtouch.js
  • line ending: LF
  • strings: single quote

0.0.5 and earlier (01.11.2017)

  • Initial versions

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.