Skip to content

Mirror hue bridge values to an external source to offload bridge requests or make them available to other networks.

License

Notifications You must be signed in to change notification settings

dannyvanlierop/NodeJS_API_Philips_Hue_Bridge_Mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS_HueBridge-Mirror-API

Mirror hue bridge values to external source to offload bridge requests

 
Open source License: Mit Contributors Forks Stars Issues  

Configure:


Create a file named .config.json (in the the src directory). Add contents like below and adjust it to your needs.

{
    "BridgeUser": "BRIDGE-USER-KEY-HERE"
}

 

Run:


Run this file from your favorite shell

node App.js

 

Usage:


Fetch light values with any client from your new source like you would from the hue bridge.

One light example:  http://127.0.0.1/api/BRIDGE_USERNAME/lights/1/
All lights example:  http://127.0.0.1/api/BRIDGE_USERNAME/lights/
One sensor example:  http://127.0.0.1/api/BRIDGE_USERNAME/sensors/1/
All sensors example:  http://127.0.0.1/api/BRIDGE_USERNAME/sensors/

 

Dependency:


apt install nodejs 
npm install fastify
npm install follow-redirects

 

License:


For more details, see the LICENSES file.


 

About

Mirror hue bridge values to an external source to offload bridge requests or make them available to other networks.

Topics

Resources

License

Stars

Watchers

Forks