Hue for Twitch
Number of APIs: 8
Follow along with Arlemi and Joyce's livestream on Twitch as they unbox Philips Hue lights and mess around with the API.
📽️: https://youtu.be/Nu0oMwld5Pk
Get the current weather and update the lights accordingly.
Philips Hue Lights API - get started guide OpenWeatherMap API - documentation
Follow GetQodex on Twitch so you never miss an episode! We also share the recordings on YouTube.
Update: If you want to turn on the lights in Joyce's kitchen, hit these endpoints instead:
-
Update color with weather - update light color PUT http://{{bridge_ip}}/api/{{username}}/lights/4/state
-
Update color with weather - Get weather in city GET api.openweathermap.org/data/2.5/weather?q={{city}}&appid={{weather_api}}
-
check bridge GET http://{{bridge_ip}}/debug/clip.html
-
new developer GET http://{{bridge_ip}}/api/newdeveloper
-
get light by id GET http://{{bridge_ip}}/api/{{username}}/lights/4
-
update light PUT http://{{bridge_ip}}/api/{{username}}/lights/4/state
-
new user POST http://{{bridge_ip}}/api
-
get all lights GET http://{{bridge_ip}}/api/{{username}}/lights