
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
hubot-philipshue
Advanced tools
Control your Philips Hue Lights from HUBOT! BAM, easy candy for the kids
This is a Hubot script package that will control your Philips Hue lights.
Uses the node-hue-api
NPM package to communicate with the hue bridge.
Run the following command to make sure the module is installed to your local Hubot instance.
$ npm install hubot-philipshue --save
To enable the script, add the hubot-philipshue
entry to the external-scripts.json
file (you may need to create this file).
["hubot-philipshue"]
Variable | Description |
---|---|
PHILIPS_HUE_HASH | The generated secret hash described below. |
PHILIPS_HUE_IP | The IP address of your Hue Hub. |
export PHILIPS_HUE_HASH="YourSecretHash"
export PHILIPS_HUE_IP="xxx.xxx.xxx.xxx"
There is a two-step process to generating the credentials above.
First, press the button on your Hue Hub. This puts the device in a mode to accept new connections.
Second, make an HTTP POST request of the JSON payload below to http://YourHueHub/api
. You can use the Clip API Debugger on your base station as well.
$ curl -v -H "Content-Type: application/json" -X POST 'http://YourHueHub/api' -d '{"devicetype": "YourAppName"}'
The Hub will respond with:
{"success":{"username":"YourSecretHash"}}
The username
property will contain the hash key to use in the PHIPLIPS_HUE_HASH
environment variable.
If you have not pressed the button on the Hue Hub you will receive an error like this:
{"error":{"type":101,"address":"/","description":"link button not pressed"}}
Press the link button on the hub and try again.
FAQs
Control your Philips Hue Lights from HUBOT! BAM, easy candy for the kids
The npm package hubot-philipshue receives a total of 13 weekly downloads. As such, hubot-philipshue popularity was classified as not popular.
We found that hubot-philipshue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.