Skip to content

Instantly share code, notes, and snippets.

@man-oi

man-oi/dabblet.css

Created Sep 3, 2012
Embed
What would you like to do?
Untitled
/*HUE API*/
body {
background: #fff;
}
<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>
{"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
You can’t perform that action at this time.