0.1.11 • Published 8 years ago

homestar-sonos v0.1.11

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 years ago

homestar-sonos

IOTDB / HomeStar Controller for Sonos

See the samples for details how to add to your project.

Important Bug List

  • This has never been tested: I don't own a Sonos
  • We don't know the Sonos UUID. We have to get them to figure that out in the sonos library

Quick Start

Set the channel to 3

$ npm install -g homestar ## with 'sudo' if error
$ homestar setup
$ homestar install homestar-sonos
$ node
>>> iotdb = require('iotdb')
>>> iot = iotdb.iot()
>>> things = iot.connect("SonosPlay")
>>> things.set(":volume", 20)
>>> things.set(":mute", true)
>>> things.set(":media.mode", ":media.mode.play")

LGSmartTV

  • volume: integer from 0 to 100 (iot-attribute:volume)
  • mute: true or false (iot-attribute:mute)
  • media.mode: string, see below (iot-attribute:media.mode.*)
  • next: a work in progress
  • previous: a work in progress

Modes

Supported Media Modes (so far)

  • media.mode.play
  • media.mode.pause
  • media.mode.stop
0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago