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. check bridge
GET http://{{bridge_ip}}/debug/clip.html
GET http://{{bridge_ip}}/api/newdeveloper
3. new user
POST http://{{bridge_ip}}/api
GET http://{{bridge_ip}}/api/{{username}}/lights
GET http://{{bridge_ip}}/api/{{username}}/lights/4
6. update light
PUT http://{{bridge_ip}}/api/{{username}}/lights/4/state
7. Update color with weather - Get weather in city
GET api.openweathermap.org/data/2.5/weather?q={{city}}&appid={{weather_api}}
8. Update color with weather - update light color
PUT http://{{bridge_ip}}/api/{{username}}/lights/4/state