Created
September 3, 2012 21:08
-
-
Save man-oi/3613561 to your computer and use it in GitHub Desktop.
Untitled
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*HUE API*/ | |
body { | |
background: #fff; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<ul> | |
<li><a href="http://developers.meethue.com/howhueworks.html">How it works</a></li> | |
<li><a href="http://developers.meethue.com/gettingstarted.html">Getting Started</a></li> | |
<li><a href="http://developers.meethue.com/1_lightsapi.html">Lights API</a></li> | |
<li><a href="http://rsmck.co.uk/hue">Hack the HUE</a></li> | |
</ul> | |
<h4>App anmelden</h4> | |
<pre> | |
Adress: http://[bridge ip address]/api | |
Arguments: {"devicetype":"test user","username":"newdeveloper"} | |
/* | |
devicetype: App Name, Description of the type of device associated with this username. | |
username: optional, If this is not provided, a random key will be generated and returned. | |
*/ | |
</pre> | |
<h4>Farbe einer Lampe ändern</h4> | |
<pre> | |
Adress: http://[bridge ip address]/api/newdeveloper/lights/1/state | |
Arguments: {"on":true, "sat":255, "bri":255,"hue":10000} | |
</pre> | |
<h4>Name einer Lampe ändern</h4> | |
<pre> | |
Adress: http://[bridge ip address]/api/[username]/lights/[id] | |
Arguments: {"name":"Bedroom Light"} | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split-vertical","fontsize":"100","seethrough":"","prefixfree":"1","page":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment