Skip to main content

Philips Hue controls for DevDeck.

Project description

DevDeck - Philips Hue integration


Philips Hue light controls for DevDeck.


Simply install DevDeck - Hue into the same python environment that you have installed DevDeck.

pip install devdeck-hue

You can then update your DevDeck configuration to use decks and controls from this package.


  • toggle.Toggle

    Can be used to toggle on/off a Philips Hue lamp.

  • brightness.Increase

    Can be use to increase light brightness by a static amount.

  • brightness.Decrease

    Can be use to decrease light brightness by a static amount.

One-time setup

The phue module which is used under the hood requires a one-time pairing with the Hue bridge, once. Easiest way to do this is:

python3 -m phue --host

Where --host is the IP of the Hue bridge.


Example configuration:

  - serial_number: ABC123
    name: devdeck.decks.single_page_deck_controller.SinglePageDeckController
        - name: devdeck_hue.toggle.Toggle
          key: 0
            light_id: 4
          - name: devdeck_hue.brightness.Increase
            key: 1
            light_id: 4
            step: 20
        - name: devdeck_hue.brightness.Decrease
          key: 1
            light_id: 4
            step: 20

light_id is the light ID from the hue bridge. A simply way to list connected lights by id is to run the following Python snippet:

python3 -c 'import phue; b=phue.Bridge(); b.connect(); print(b.get_light_objects(mode="id"))'

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

devdeck_hue-0.0.1.tar.gz (48.5 kB view hashes)

Uploaded source

Built Distribution

devdeck_hue-0.0.1-py3-none-any.whl (49.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page