You can use this page as is, or save it to and reload it from your device, or load or save kingfish.html from the web.
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 save and reload input values entered on your device, as long as you load it from the same location.
"Drift" toy sends a random hue and saturation at the specified interval. Also sends the "Transition Time" interval to the bridge.
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 below.
Kingfish for Philips Hue
Copyright 2015-2020 Peter Kaminski
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.