danparsons / dphue Goto Github PK
View Code? Open in Web Editor NEWObjective-C library for interacting with Philips Hue lighting systems
License: Other
Objective-C library for interacting with Philips Hue lighting systems
License: Other
In DPHue.m I see that the "deviceType" is hardcoded as "QuickHue". I suppose this doesn't affect anything, but it seems like it shouldn't be done that way. Or should it?
[!] The platform of the target Pods
(OS X 10.8) is not compatible with DPHue (0.0.1)
which has a minimum requirement of iOS 5.0.
Looks like the spec file sets the Deployment target to iOS
s.ios.deployment_target = '5.0'
Description:
If you have a preset that has some bulbs that are dimmed down to "off", when applying this preset later, the 'off' light bulbs will display at full brightness in white.
Steps to Repro:
Actual Result:
All lights that had brightness in the preset will be applied correctly, any that were 'off' will turn on as white full brightness. (For this example: one red full brightness, one blue half brightness, one WHITE FULL BRIGHTNESS)
Expected Result:
Lights dimmed down to 'off' should apply that state when applying presets.
Hi Dan,
I work for Philips Hue Developer Support. In case you were not aware, in a few months time we will be changing the way usernames are created on the bridge (for security reasons). Custom whitelist usernames will no longer be allowed and the bridge randomly generated username must be used instead. Please see below link for more information:
http://www.developers.meethue.com/documentation/important-whitelist-changes
I must confess I don't really understand Objective-C code, but I can see in the registerUser method (line 52 in DPHue.m) you are setting the username in your JSON body. After February 2016 this will have no effect. The username should be removed and instead the randomly generated username in the bridge response should be used instead (the above link should hopefully clarify the changes needed). Apologies for the inconvenience.
Thanks
Steve
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.