Unfolded Circle Remote integration driver for Philips Hue lights.
This integration driver is included in the Unfolded Circle Remote firmware and does not need to be run as an external integration to control Hue lights. A standalone driver can be used for development or custom functionality.
The integration implements the UC Remote Integration-API which communicates with JSON messages over WebSocket.
Important
This driver is currently being rewritten using the Hue API v2 with event streaming.
- v1 Hue hubs are no longer supported.
- Compatibility with the new Hue Bridge Pro has not yet been tested.
Requirements:
- Remote Two/3 firmware 1.9.3 or newer with support for custom integrations.
- Install nvm (Node.js version manager) for local development.
- Node.js v22.13 or newer (older versions are not tested).
- Install required libraries:
npm install
Build JavaScript from TypeScript:
npm run buildRun as an external integration driver:
UC_CONFIG_HOME=. UC_INTEGRATION_HTTP_PORT=8097 npm run startThe configuration files are loaded and saved from the path specified in the environment variable UC_CONFIG_HOME.
Logging any kind of output is directed to the debug module.
To let the integration driver output anything, run the driver with the DEBUG environment variable set like:
DEBUG=uc_hue:* npm run startThe driver exposes the following log-levels:
Log namespaces:
uc_hue:msg: Philips Hue API messagesuc_hue:debug: debugging messagesuc_hue:info: informational messagesuc_hue:warn: warningsuc_hue:error: errors
If you only want to get errors and warnings reported:
DEBUG=uc_hue:warn,uc_hue:error npm run startThe Unfolded Circle Integration-API library is also using
the debug module for logging:
- Enable WebSocket message trace:
ucapi:msg
We use SemVer for versioning. For the versions available, see the tags and releases on this repository.
The major changes found in each new release are listed in the changelog and under the GitHub releases.
Please read our contribution guidelines before opening a pull request.
This project is licensed under the Mozilla Public License 2.0. See the LICENSE file for details.