Git Product home page Git Product logo

hue-hacks's Introduction

Hue-Hacks

This project contains various scripts for controlling Hue lights from a Raspberry Pi.

There are a number of testing scripts in the "experiments" directory, but the primary project contains code for a Raspberry-Pi based Hue Light controller. It consists of 3 buttons and a knob.

We use the Raspberry Pi B+ as the central controller. The GPIO has the following pinout: Schematic

Here is the schematic for the controller: Schematic

The prototype can be put together on a simple PiHat: Blank PiHat

Here is the front: Proto Front

And the Back: Proto Back

The 3 buttons are:

  • a large square LED which serves as the main button
  • a red button which is the "back" button
  • a blue button which is the "forward" button

The primary functions of the button are triggered with a "short press"

These are:

  • Square button: toggle lights on or off
  • Red Button: Switch to the previous scene
  • Blue Button: Switch to the next scene

A long press will trigger a secondary functinon. The secondary functions are:

  • Square button: Dump state to log
  • Red Button: Delete the current scene
  • Blue Button: Save the current scene

Additionally, a knob is used to dim the lights. An led is used to indicate that the lights are in the "on" state.

hue-hacks's People

Contributors

ericmelz avatar

Watchers

 avatar 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.