Skip to content

Instantly share code, notes, and snippets.

@mjmenger
Last active September 11, 2023 11:56
Show Gist options
  • Save mjmenger/1069aac25d05eb97686bcda85ac90fc0 to your computer and use it in GitHub Desktop.
Save mjmenger/1069aac25d05eb97686bcda85ac90fc0 to your computer and use it in GitHub Desktop.
elgato key light REST endpoints
# 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}]}
@a-bashtannik
Copy link

Ubuntu 20.04:

find IP address:

avahi-browse -d local _elg._tcp --resolve -t

Port is 9123

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment