Turn on the Hue light in Joyce's kitchen
Number of APIs: 4
Follow along on the livestreams
- Part 1: Unboxing Philips Hue lights and messing around with their API
- Part 2: Make your own Bat-Signal
- Part 3: Change a light based on the mood of your tweets
Get Started
- Select the folder
Working in Production
- Find the
POST
requestturn on / off - PROD
- Update the payload to
{"on": true}
- Hit Send
More info
Joyce is passing requests through to a Philips Hue lightbulb in her kitchen. The responses you receive from these endpoints are from her proxy server (not the Philips Hue device). If you want to set up something like this in your own home, check out this blog post: Enable public access to connected devices in your local network
Turn on the lights in Joyce's kitchen by sending requests in the folder Working in Production.
https://light.meowsergirl.com
Feel free to update the lights during future livestreams in a totally non-distracting way.
Follow GetQodex on Twitch so you never miss an episode! In a previous livestream, we worked locally to GET
the current weather and update the lights according to the weather forecast.
- [Code sample on Qodex] for working locally
- Recording of the livestream
-
Working locally - hello world GET {{localhost}}
-
Working in Production - hello world - PROD GET {{production}}
-
Working in Production - update light color - PROD POST {{production}}
-
Working locally - update light color POST {{localhost}}