ian-antking / keybow-hue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Keybow-Hue

Control Phillips Hue lights with the Pimoroni Keybow.

Not curently compatible with the Keybow Mini

Getting Started

This project requires a Raspberry Pi, running raspbian/raspbian lite, and a connected keybow.

Configure the app

Create a file in the root of the project called .env. Add the following:

HUE_TOKEN=<hue bridge access token>
ROOM_NAME=<name of room being controlled (in "" if more than one word)>

See this guide for details on how to obtain an access token.

Install dependencies

Open a terminal, and run this command from the project root:

pip3 install -r requirements.txt

Running the app

Open a terminal, and run this command from the project root:

python3 keybow_hue/app.py 

Using the app

The keybow should be oriented with the power cable coming out of the top:

power decrease hue current hue increase hue
not used decrease saturation current saturation incresase saturation
not used decrease brightness current brightness increase brightness

About

License:MIT License


Languages

Language:Python 100.0%