entrippy / OctoPrint-OctoHue

Illuminate your print job and signal its status using a Philips Hue lights.
GNU Affero General Public License v3.0
18 stars 4 forks source link

OctoPrint-OctoHue

Illuminate your print job and signal its status using a Philips Hue light.

Added in 0.6.0

Added in 0.5.0

Fixed in 0.4.4

Features

See the CHANGELOG.md for a full list of historic changes over time

See the TODO list at the end of this page for features on the roadmap

Setup

For install troubleshooting please see the "Known Issues" section at the bottom of this Readme.

Install via the bundled Plugin Manager or manually using this URL:

https://github.com/entrippy/OctoPrint-OctoHue/archive/master.zip

Hue Bridge Configuration

Octohue requires 3 settings to function

  1. The IP Address of you Hue Bridge
  2. A User for octoprint to use when contacting your bridge
  3. The numberic ID of your Hue light or light group.

Steps to find or configure these can be found in How to Develop for Hue - Getting Started

Should you run into problems using the bridges own built in REST interface, the steps can also be completed using a desktop interface such as Postman

Light and Group ID's

The list of available Light ID's can be found at: https://<bridgeaddr>/api/<hueusername>/lights

To control multiple lights:

If a the lights are not yet grouped, use the Hue app (or API directly if you're feeling hardcore) to create a room or zone consisting of the intended lights.

Once done, the list of available Group ID's can be found at: https://<bridgeaddr>/api/<hueusername>/groups

Configuration

Once you have the Hue IP, Username, and Light ID, enter these into the appropriate field in Octohues menu in settings.

Screenshot

Compatible Events

For a list of events compatible for triggering light changes see the OctoPrint Events Documentation

Known Issues

Manual pip (re)installation instructions

  1. Log into you Octohue server via the command line.
  2. Activate OctoPrints python virtualenv e.g in octopi: source ~/oprint/bin/activate
  3. Reinstall Octohue using pip: pip install --upgrade --force-reinstall https://github.com/entrippy/OctoPrint-OctoHue/archive/master.zip

TODO