Giter Site home page Giter Site logo

hue-log's Introduction

hue-log

Log to a journal the state of each Philips Hue light as they change throughout the day.

Usage

Configuration

Before running, the program must first be configured.

First time setup

  1. Execute make in order to set up the virtual environment.
  2. Activate the virtual environment e.g., source venv/bin/activate.
  3. Specify the IP address of the bridge in the BRIDGE_IP environment variable.
  4. Press the home button on the bridge before starting the program, which is needed so that the program can register with the bridge for authentication purposes.

Verbose output

Optionally, set the VERBOSE environment variable to 1 in order to log the full api dictionary whenever a log is emitted, otherwise only relevant data will be outputted i.e., light state and timestamps.

Running the program

Execute python -m hue_log to start the program.

The log will be written to standard out, so feel free to redirect the output to the log file that should be used.

hue-log's People

Contributors

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