A bunch of executables to interact with a specific Philips Hue Lamp:
switch: Turn On / Off the lamp;dimmer: Dim the lamp;brighter: Bright the lamp;setup: Find the Philips Hue Bridge, register Huexe in it and create theconfig.ymlfile;unregister: Unregister the Huexe from the Bridge.
-
Download the package of your Operating System at huexe/releases and extract it where you prefer.
-
Press the Philips Hue Bridge "Push-Link Button" and (by the limit of 30 seconds) execute the
setup. The Huexe will be registered and the Key will be stored atconfig.ymlfile.
It will be configured to use the lamp with id 1. If you want to control other lamps, create a copy of this installation and edit the id inside config.yml to the desired one.
id: 1
address: 192.168.1.2
username: 249ba36000029bbe97499c03db5a9001f6b734ec
steps: 25-
id: Refers to the Lamp ID from the Philips Hue Bridge API.
If you are using the API to find the lamps IDs, it is not the
uniqueid,modelidnorluminaireuniqueid. It's thekeyrefering the JSON object, withstate,type, etc.. -
address: The Philips Hue Bridge IP Address.
-
username: It's a Hash Key / Token generated from the Philips Hue Bridge API when the Huexe is registered.
-
steps: Refers to how much one execution of
dimmer/brighterwill dim / bright.The Brightness of a Hue lamp goes from 1 to 254, and it just accept integer values. In this way the default value of
stepsis25, to a total of 10 executions from minimum to maximum bright.
Huexe is released under the MIT License.