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:

  1. Update color with weather - update light color PUT http://{{bridge_ip}}/api/{{username}}/lights/4/state

  2. Update color with weather - Get weather in city GET api.openweathermap.org/data/2.5/weather?q={{city}}&appid={{weather_api}}

  3. check bridge GET http://{{bridge_ip}}/debug/clip.html

  4. new developer GET http://{{bridge_ip}}/api/newdeveloper

  5. get light by id GET http://{{bridge_ip}}/api/{{username}}/lights/4

  6. update light PUT http://{{bridge_ip}}/api/{{username}}/lights/4/state

  7. new user POST http://{{bridge_ip}}/api

  8. get all lights GET http://{{bridge_ip}}/api/{{username}}/lights