sqmk / huejay Goto Github PK
View Code? Open in Web Editor NEWPhilips Hue client for Node.js
License: MIT License
Philips Hue client for Node.js
License: MIT License
Add support for bridge models.
See #18.
Like lights, sensors come in various models.
See subject.
Light objects should allow for retrieving light model objects.
See subject.
Support for retrieving bridge data and updating.
Each sensor type supports a set of buttons/events. Some of these buttons are toggle-able.
This includes brightness, hue, sat, etc.
Allow configuring a custom port on the client.
Make sifting through examples nicer.
See subject.
See sensors refactor.
See sensors refactor.
State is not reset after saving a light or group. Fix!
Since this is a temporary setting, it may be nice to offer a shortcut for touchlink.
Scenes may be easily recalled by using group 0. If a group/id is provided, then that group id is used for the recall instead.
Sample call:
client.scenes.recall(sceneId)
.then(() => console.log(`Scene ${sceneId} recalled`));
With group id:
client.scenes.recall(sceneId, groupId)
.then(() => console.log(`Scene ${sceneId} with ${groupId} recalled`));
See subject.
The model shouldn't know a whole lot about bridge fields, logic.
Include a new attributes helper that can be reused in other models.
Same deal as issue #18.
See subject.
When we run the following code, the first line will cut the " ", the second line will produce an error.
echo jsmin('return /foo /.test(bar);'); echo jsmin('return /foo=/.test(bar);');
I'm not a fan of the client having a 1:1 mapping of commands to calls. Organize the client with properties organizing commands and models.
e.g. client.light.get(), client.sensor.update(sensor);
Support both upnp search and Philips remote api.
See sensors refactor.
See subject.
See subject.
The "type" attribute should be modifiable.
New attributes:
See sensors refactor.
The following parameters are accepted:
See #18.
See sensors refactor.
New attributes:
Deprecated attributes:
New commands:
Change lastUsedDate > lastUsed.
Change createDate > created.
For convenience. Add client.bridge.linkButton.
See subject.
See sensors refactor.
Add new light state model as part of lights and groups.
This will break API, so reserve for v1.0.0.
See subject.
Follow sensors refactor.
Action helpers would improve upcoming schedule and rule refactoring. More details to follow.
See subject
When creating a user, whitelist retrieval fails if there isn't a user associated with the client.
Rather than request the user from the bridge, return the original passed to create.
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.