solid-hue
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Philips Hue module for the Community Solid Server

npm version

💡 Control your Philips Hue Lights from within Solid applications.

What it is

  • The Community Solid Server allows people to expose their data on the Web behind access control.
  • This philips-hue npm package provides a plug-in store for the Community Solid Server that exposes your Philips Hue lights as read/write documents.
  • Solid apps can thereby access your light setup as if they would access any other document.

How to install

From the npm package registry:

mkdir my-server
cd my-server
npm install @solid/community-server@v0.5.0 solid-hue

As a developer:

git clone git@github.com:RubenVerborgh/solid-hue.git
cd solid-hue
npm ci

How to configure

Create a file settings.json from this template, and filling out your settings.

You can obtain your settings by creating a new Philips Hue App and following the set-up steps.

How to run

Execute the following command:

npx community-solid-server -c settings.json -m .

Now you can access your lights from http://localhost:3000/home/lights

License

©2020–2021 Ruben Verborgh, MIT License

Package Sidebar

Install

npm i solid-hue

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

430 kB

Total Files

38

Last publish

Collaborators

  • rubenverborgh