Last active
September 11, 2023 11:56
-
-
Save mjmenger/1069aac25d05eb97686bcda85ac90fc0 to your computer and use it in GitHub Desktop.
elgato key light REST endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simple requests for use with the VSCode Rest Client extension | |
### | |
GET http://{{$dotenv lightaddress}}:{{$dotenv lightport}}/elgato/accessory-info | |
### | |
# on or off | |
PUT http://{{$dotenv lightaddress}}:{{$dotenv lightport}}/elgato/lights | |
{"numberOfLights":1,"lights":[{"on":1}]} | |
### | |
# brightness 0 to 100 | |
PUT http://{{$dotenv lightaddress}}:{{$dotenv lightport}}/elgato/lights | |
{"numberOfLights":1,"lights":[{"brightness":75}]} | |
### | |
# temperature 331(3000K) to 142(7000K) | |
PUT http://{{$dotenv lightaddress}}:{{$dotenv lightport}}/elgato/lights | |
{"numberOfLights":1,"lights":[{"temperature":200}]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ubuntu 20.04:
find IP address:
Port is 9123