Skip to content

snipsco-forks/snips-skill-hue

 
 

Repository files navigation

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

Usage

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
    intents:
      - intent: DeactivateObject
        action: "turn_off"
      - intent: ActivateLightColor
        action: "turn_on"

Standalone

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() 
hue.turn_on()

Contributing

Please see the Contribution Guidelines.

Copyright

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

About

Philips Hue skill for Snips

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.1%
  • Shell 0.9%