Elgato Lighting Control v2

Description

This drop-in action can be used to control the settings of Elgato Lighting products.
It is tested with Keylight Air, Keylight Pro and Ring Light but it may work with others too.

Installation

  1. Copy the code block below into the Import Action Dialogue
TlM0RR+LCAAAAAAABADNWG1v4rgW/n6l/Q9RpZXulSaV47yRkeZDYQoEWmZ4C5Db/eDYDjA4CZMQKKz2v+9xArRAO5pWu9IgRSH28Xl5znPsnPz5238U5WrN02yexFcfFfyhGIhJxOHp6qp8JHQF0xmM/F8+K8qf5Q2m5kzKIYdYTDeJGmLTUA1WMdUK1pFqWjRgyDaIpQWlrmLR95znUn+cC/E0ymMSCC71rdKcPxt/pCJnvJ4mUXOerZJ0CyIhEdkzmYPDt2JKVoly+0iipeDKGj+zOk2TfCmF7ubT2WoeT5/NEbEh26yXx5eqUxKzJLopILicpUlM8zTl8epy7gK2E+gKkTUReel4vOKp4n5VCGMpzzIlCRUh/Xxycm9PJOk5dM8ywUJOHWw5qm1YVDV0oqsEY6qGpILsgOqaGaAzlRte2PmooGt0OrPaLqVzGkLO6cQRyloSh/NpnpICnVOhV/JZOhsz/ihNPo3+9eF1kNK5VNXZJ3lF0ilfucubEqozs0dINQdfa1blWkPXGj4TIvkqGZTRveBcgWRFsxHVw1A1KLNVwwyB02FFV62KgyrY1AOOzTcjifV/CUjtZ4A8VEmbbwtuKbUZiafAu/U5PoxnNJ0v95y/GpAFz5TVjCvT+ZrHyiEjmQLFoSzzbFZORwoUnxRb7C2cqV1wvrwRoOKiWIrplIccSonys5opJmsfHx5GEG6yyR4e7uc0TbIkXF13bgcPD/UUItsk6eLhYW1co2sd6Zrz8BBlNEnFPLhmQpx68j59/W224tE/rG3E/2n/Onz1fo2W8QMMnyv84zR3wXbFawkr+MXGnWUQ0elQFzvW8FZfNqh9PnYnmJh8yzq12NuRkRm79Y5J9Z4I+uYXf9y1P3eXGsUi97dVeGYowOYuwD66WyzhbuSDhsjp4MX1rcEOxqeoTZvePGiIb26jk03GnZ172+n2b0UOY7nfRW0Ofrm1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J88rLmOTIMWfSH5kzs/AJzpg61M5FHGH37Ay47ayDGK7GMN/jfw+1K17wewB7EuzDHeAb5OZkf1jKfHw6e8tcppwm0XIuXnnNZFyQbR+6iMuerZjPyJr3eJaL1SDx9m+6r0ueyFxdvdRKhGHImMZC1TKRqRrQiqmEOrbqBAjaY4IcjN7cSjjy92ozAe9h/1ozdtKxVlPpZyw71t+V/2oq9Ir/e2PLaoQBDTQtULFFNdXgPFArmgktl6OHlFFkEqL9Qi0rfn/L+gTWKz0ruP3mPhVpFtU5dPwcWnvVQKGmEmhdVUuvOBaxWKDZ4a/Tp+rv4FhNEkgZ8GipAMUMXdUN460kw7ZjEMvEqmEgJr9QWWpFR1gN7AARHdtE5/ovRDLjTTABJp9shNDig2LI2ydsOB8U7Mi/78DK1ByH6xyryAhC1bADXQ0sx1KxxplOcIUx9CthZb6/ICWnOBjO0/P98liR1jsqMnQwsRmgpqMKbGPIVomBK2pgIk40ZpiEO79ORVrP4Dv8fert9x8xG9LaD79klqFbukk5DnXV5hhqzbQCldiEqLppGdSmtMId+tOhHz5X/SjC8uvsy6fzm8610n9b04hpMKxakCzV0EKiBkEIqSM2JkbATWL+fOqe/L84jn/Gbe3HiYEqFmSZcfaUmz/KyUK6lCw/tZeT5QC8GUVg/CD/199ScZMyAhgAAA==
  1. Open the Execute Code (keylight Changer v2) subaction. Go to the References tab and press the Find Refs button, it should find everything it needs automatically. If not right click in the white box and ensure the following dll files are listed
mscorlib.dll
System.dll
System.Web.dll
System.Net.dll
  1. Go to the Compiling Log tab and press Compile. If everything is working correctly it will say Compiled successfully!

Configuration

The C# code needs to the IP addresses of the lights to control. You can define which Keylight to control and the settings to push using the arguments in the Action

elgato-lighting-v2 (1)

Configure the following to match your use case:

Line Data Notes
targetIpAddress The IP address list to send control data to You can get the IP addresses of your Elgato lights from the Elgato Control Center App
targetBrightness Specify the brightness you want to set Range is 3-100 and is the percentage of maximum the device supports
targetTemperaure Specify the colour temperature you want Range is 143-344

Color Temperature range represents the values found by adjusting the setting in Elgato Control Center
143 is 7000 Kelvin,
249 is 4000 Kelvin,
344 is 2900 Kelvin

Once the subaction is configured, you can duplicate it and configure the copy with other settings as needed.

It is highly recommended to name the C# code on the Settings tab. Not only will this show you what the code does without having to open it but also it allows you to call that same code in other Actions