View on GitHub

Kingfish

An open-source single-file HTML/JavaScript Hue controller

Download this project as a .zip file Download this project as a tar.gz file

Kingfish for Philips Hue, by Peter Kaminski

An open-source single-file HTML/JavaScript Hue controller for interacting directly with the API. Intended for those who want to get a better handle on the low-level interface to their Hue system.

You can load the kingfish.html file from the repo, or load or save the file from the web: kingfish.html.

Commands are sent on your local network directly from your device to your Hue bridge, not through any server. (The "Get Bridge IP" command retrieves your bridge IP address from a Philips server, but does not send any data, nor does the Philips server send any commands.) There are no analytics or tracking bugs in this file.

Start by doing boxes in numbered order, then repeat in any order as desired. Green buttons set blue values, but don't send commands. Blue and red buttons send commands to bridge. You can close and re-open Kingfish at any time. Kingfish uses HTML5 local storage, if available in your browser, to persist input values entered on your device.

Roadmap and other development ideas:

Kingfish uses jQuery.ajax to send commands via HTTP to the bridge. For background on Philips Hue terminology and how the Hue API works, read Philips Hue API. Visit the Kingfish project home page or the Kingfish repo to comment, fork, or download the project files. Distributed under open-source MIT license, see LICENSE.md.