jorenvandeweyer / hue.js Goto Github PK
View Code? Open in Web Editor NEWAn easy to use wrapper for the Hue API in NodeJS
License: GNU General Public License v3.0
An easy to use wrapper for the Hue API in NodeJS
License: GNU General Public License v3.0
If there are any ideas or request, feel free to open a new issue so we can expand this wrapper :)
Create an interface for each response the API returns from the Hue API.
Not all methods of the Group model are mentioned in the docs yet.
The Hue public API has very prohibitive rate limiting nowadays. If you try and fail a few times, you will be unable to connect to your bridge for about an hour or so because you will get HTTP 429'd.
If UPnP was supported for discovery, this would solve that problem.
The Hue public API has pretty prohibitive rate limiting nowadays.
My use case requires me to instantiate a new context and a new connection often. The current implementation requires an ID, fetches all bridges on the network using the public Hue API and filters by what bridge matches the given ID.
In my use case that makes it so I would hit that API endpoint tens—if not hundreds—of times in an hour.
If I could connect to my bridge using a known IP address, that would be of much help.
Edit: The Hue Bridge Discovery has a flowchart that specifies the preferred way of discovering and connecting to bridges.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.