GithubHelp home page GithubHelp logo

hansienl / kingfish Goto Github PK

View Code? Open in Web Editor NEW

This project forked from peterkaminski/kingfish

0.0 1.0 0.0 39 KB

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

License: Other

HTML 100.00%

kingfish's Introduction

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 this directory in your browser, or load or save the file from the web: kingfish.html.

Hardware donations gratefully received, contact [email protected]. Consider purchasing Hue color or Hue Lux gear via our Amazon associate links to help support the Kingfish project.

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:

  • XY color
  • better mobile browser support
  • graphical color picker
  • Schedules and Rules, including sunrise/sunset+offset rules
  • calendar/time picker
  • Scenes
  • Sensors
  • using names of objects from bridge instead of numbers
  • more attractive visually (better CSS)
  • theming
  • namespacing variables
  • better code organization
  • automatic parsing of responses
  • countdown timer for monitoring transition time
  • active programmatic control of lighting
    • bookmark colors, optionally name
    • randomly adjust colors (random walk, abrupt)
    • "bounce" light gently from lamp to lamp
  • expand/close boxes
  • drag-drop to rearrange boxes
  • support for other similar systems

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.

kingfish's People

Contributors

peterkaminski avatar m-schrepel avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.