dtruebin / hue-multidim

Control lights in 2 rooms with a single Phillips Hue Dimmer switch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

This project contains the script which uploads a set of rules to your Hue Bridge, allowing a single Hue Dimmer switch to control two groups of lights a.k.a. rooms, instead of default one group.

See the wiki for additional information about the switch layout.

Guide

  1. Create config based on the sample:
    $ cp etc/hue-multidim.conf.sample etc/hue-multidim.conf
  2. Open hue-multidim.conf and set variable values. If you need help identifying the correct values, refer to the following pages of Hue API documentation:
    • HUB_IP and API_KEYGetting Started.
    • OUTER_GROUP_ID and INNER_GROUP_IDGroups.
    • DIMMER_SENSOR_IDSensors.
      Among your sensors, look for the one having "type": "ZLLSwitch".
    • FIRST_RULE_IDRules.
      Among your rules, look for the one having "name": "Dimmer Switch X on0". This rule will exist, provided you already set up your Hue Dimmer switch using the app. The script will update 12 consecutive rules beginning with this rule.
  3. Run the script:
    $ ./hue-multidim-setup.sh

About

Control lights in 2 rooms with a single Phillips Hue Dimmer switch

License:MIT License


Languages

Language:Shell 100.0%