Hue Picker is a bare-bones internet server and utility that controls a single Philips Hue light.
It affords management over a particular person Hue light without opening up the whole dwelling automation community. For
occasion, it enables teenagers to lift a watch on the light in their hold room without being ready to clutter around with all
assorted lights or dwelling automation appliances.
The Hue Picker internet utility might per chance effectively be set in as an App on the iOS or Android dwelling conceal to simplify its
Pre-built binaries are on hand on the release internet page.
Gain the binary, fabricate it executable, and transfer it to a folder on your
curl -sSL https://github.com/tja/hue-picker/releases/rep/v0.1.0/hue-picker-`uname -s`-`uname -m` >/tmp/hue-picker chmod x /tmp/hue-picker sudo mv /tmp/hue-picker /usr/local/bin/hue-picker
Hue Picker requires to be registered with the local Hue bridge. Here’s carried out as follows:
The machine instructs you to press the button on the Hue bridge. As soon as the button is pressed, three pieces of
files will most most likely be printed; the Hue bridge’s Host address, the Bridge ID, and the User ID.
The next step is to procure the ID of the light that would unruffled be managed. Utilizing the Host address and Bridge ID,
merely luxuriate in:
hue-picker checklist --host="192.168.0.40" --user="YDbjwv...4arRIk"
The machine will output the checklist of rooms and linked lights. Every light is prefixed with the light ID in
[00:17:88:01:02:07:21:13-0b]). Contemporary down the light that Hue Picker might per chance unruffled management.
Hue Picker serves an internet utility by the spend of its built-in internet server. Utilizing the previously gathered files,
the server might per chance effectively be launched love this:
hue-picker assist --host="192.168.0.40" --user="YDbjwv...4arRIk" --light="00: 17:...: 21: 13-0b"
As soon as started, the gain utility might per chance effectively be opened at http://localhost: 80/ . Contemporary that the port quantity and community
interface might per chance effectively be changed by the spend of the
hue-picker assist --support to see the checklist of all on hand ideas.
Hue Picker will compare a configuration file
config.yaml at several areas in the next instruct:
Uncover line parameters and configuration file ideas are named the same.
Furthermore, Hue Picker might per chance effectively be configured by the spend of ambiance variables. Merely use the higher-cased present line
parameter and prefix with
HUE_PICKER_ — e.g.
Uncover line parameters override configuration file ideas, which override ambiance variables.
Copyright (c) 2022–23 Thomas Jansen. Launched underneath the