Node.js server to emulate a Philips Hue Bridge.
This projects helps all developers for the Hue Bridge to simulate interactions with a Hue Bridge without even owning one.
As the app is written in Typescript, the code needs to be compiled into the dist
folder first.
The instructions below requires node
being installed on your developer machine.
- Fork/download the source code into the local folder of your choice
- Open a Terminal and navigate to that root folder
- Initiate the Node package environment with:
npm install
- The
package.json
has some script pre-configured to start right away with:npm start dev
(development environment)
- Permanent storage (local JSON file to permanently store the bridge state)
- Lights API
- Groups API
- Scenes API
- Error handler to provide proper feedback on wrong JSON body data