Contact Us

Postman and the Elgato Key Light Air API

VMware

Due to Covid-19, I’m delivering VMware training courses online. Most of the time, I’m using Zoom but sometimes I have to switch back to WebEx. I always activate my camera, so the students have better interaction with me.

I never worried about the light but since a lot of people are working from home and posting their home-office pictures on Twitter I noticed some of them were using studio lights. After some investigation I decided to buy a Elgato Key Light Air.

The light can be switched on and off with the Control Center app and it’s also possible to change the brightness and the colour temperature. It’s remotely controlled through 2.4 GHz Wi-Fi.

I was wondering if there was a way to use REST and interact with the light. After some googling, I’ve found a PowerShell module developed by Trevor Sullivan. In his post he mentions the URL and shared an example JSON body needed for the REST API call. The JSON body has 3 parameters, on – brightness and temperature.

{
    “numberOfLights”: 1,
    “lights”: [
        {
            “on”: 1,
            “brightness”: 20,
            “temperature”: 200
        }
    ]
}

The URL to the API is http://IP address:9123/elgato/lights and it listens to GET and PUT commands. I want to give it a try with Postman and see if I could get this to work. You don’t need an authentication header, just a GET or PUT REST API call and a JSON body and it allows you to control the light.

Fist I send a GET request to get the current setting of the light and copy and paste these setting into the JSON body of my PUT request. After changing some parameters an hit SEND for the PUT request, the light changes immediately.

Privacy Settings
We use cookies to enhance your experience while using our website. If you are using our Services via a browser you can restrict, block or remove cookies through your web browser settings. We also use content and scripts from third parties that may use tracking technologies. You can selectively provide your consent below to allow such third party embeds. For complete information about the cookies we use, data we collect and how we process them, please check our Privacy Policy
Youtube
Consent to display content from Youtube
Vimeo
Consent to display content from Vimeo
Google Maps
Consent to display content from Google
Spotify
Consent to display content from Spotify
Sound Cloud
Consent to display content from Sound