0.1.0 • Published 10 years ago

hue-scenes v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

hueScenes

manage scenes for philips hue api.

Definition: scene

A scene is represented by a json object like the following

{
  "lights": {
    "1": {
      "on": false
    },
    "2": {
      "on": true,
      "bri": 230
    }
  },
  "groups": {
    "0": {
      "effect": "colorloop"
    }
  }
}

The object after the light ID oder group ID is a light state object, see API specifications. There are some default scenes in the scenes directory.

Define your own scenes

So let's say you want to create a scene named relax. Simply put a file named relax.json with the scene specification in the folder ~/.hueScenes in your home directory.

0.1.0

10 years ago

0.0.0

10 years ago