Skip to content

Define scenes in a file and apply them to your Philips Hue lights

Notifications You must be signed in to change notification settings

paolotremadio/homebridge-hue-scenes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Philips Hue Scenes

Why this plugin

  • Easily describe scenes in JSON format.
  • Use scenes to manipulate every property supported by the Hue REST API.
  • Alias lights by nicknames, so you can replace a bulb on your Hub without having to change all the scenes.
  • Support for groups of lights, so you can reduce the copy&paste if you want to apply the same settings to multiple lights.
  • Pick a random scene.
  • Easily backup your scenes (they are on file, in JSON).
  • Easily share your scenes (they are on file, in JSON).
  • Go over the 100 scenes limit set by HomeKit. You can have as many scenes as you like.

Config

Example config.json:

{
  "accessory": "HueScenes",
  "name": "Living room",
  "bridge": {
    "host": "192.168.1.10",
    "username": "ABCDEFC872NAD&"
  },
  "scenesFile": "livingRoomRandomScenes.json"
}

This accessory will create a Switch for every scene. Turning on a switch will apply the Scene. There's also a Switch to pick a random scene.

Configuration options

Attribute Required Usage Example
name Yes A unique name for the accessory. It will be used as the accessory name in HomeKit. Living Room Scenes
bridge Yes IP and Username for your Philips Hue Hub n/a
sceneFiles Yes A file describing your scenes n/a

Scenes file

See example.json

About

Define scenes in a file and apply them to your Philips Hue lights

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published