Philips Hue skill for Snips


Keywords
snips
License
MIT
Install
pip install snipshue==1.0

Documentation

Philips Hue skill for Snips

Build Status PyPI MIT License

Installation

The skill is on PyPI, so you can just install it with pip:

$ pip install snipshue

Snips Skills Manager

It is recommended that you use this skill with the Snips Skills Manager. Simply add the following section to your Snipsfile:

skills:
  - package_name: snipshue
    class_name: SnipsHue
    pip: snipshue=
    params:
      hostname: PHILIPS_HUE_IP
      username: PHILIPS_HUE_USERNAME
      light_ids: [1, 2, 3, 4, 5, 6]
    intents:
      - intent: DeactivateObject
        action: "turn_off"
      - intent: ActivateLightColor
        action: "turn_on"

Usage

The skill allows you to control Philips Hue lights. In order to use it, you need the IP address of your Hue Bridge, as well as the username:

from snipshue.snipshue import SnipsHue

hue = SnipsHue(hostname, username, light_ids)
hue.turn_on()

Copyright

This skill is provided by Snips as Open Source software. See LICENSE.txt for more information.