GithubHelp home page GithubHelp logo

paolotremadio / homebridge-hue-scenes Goto Github PK

View Code? Open in Web Editor NEW
11.0 1.0 1.0 13 KB

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

JavaScript 100.00%
homebridge-plugin homekit hue hue-lights philips-hue nodejs

homebridge-hue-scenes's Introduction

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

homebridge-hue-scenes's People

Contributors

paolotremadio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

th8nderbird

homebridge-hue-scenes's Issues

Possible to export scenes from bridge as JSON for this?

I wondered - would it be possible to build fading and colour changing scenes in something like the Hue Lights app, then export them from the bridge as JSON to use with this instead (and thus trigger fading scenes in Homekit)

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.