derjayjay/homebridge-keylights

Add Key Light Mini

Opened this issue · 10 comments

There's a new battery-driven Key Light that has a few new configuration options (whether to bypass the battery aka "studio mode", take certain actions when the battery is low. Would it be possible to add support for this? It shows up in Homebridge with this plugin, but I can't seem to get it to rename within the Homebridge / HomeKit config, and having some of the additional settings available in the plugin would save me having to switch apps.

Thanks.

Sure, but since I don't own a mini, I'd need someone to look into the API.

Here is what I found via a quick exploration.

Looks good, I'll have a look and see if I can integrate it.

I can do some more checking if needed, later. I used Charles Proxy to sniff the official app requests and then replayed them locally, but I may have missed a call or option (I think there is possibly a third power state that I didn't capture, since I only have 1 and 2 in the JSON output). Thanks!

Note, the Mini does already work with the homebridge plugin, but there may be nicer things that can be done with the full API.

I cannot seem to get the Home app to recognize the Mini. I've got it added to Elgato Control Center just fine on the iPhone, iPad and Mac, but won't show up in Home when I go to Add Accessory > More options... in the Home app. Maybe I'm doing it wrong or something.

@derjayjay can I help here? Also got a Mini.

Do you have any way to get me a dump of the traffic between your phone or computer and the key light, when Elgato Control Center is running?

The light should be automatically detected by the plugin.

@derjayjay of course.

Went through all functions available in the app so you got 100% coverage: Elgato Key Light Mini.chlsj

The only thing I missed was the accessory renaming:

PUT http://elgato-key-light-mini-2d58.local.:9123/elgato/accessory-info
Body: {"displayName":" Key Light Mini"}

Thank you, that helps a lot - I'll see that I get the plugin updated as soon as I find the time.

Thanks so much @derjayjay 🙌 Let me know if you've got any kind of tip jar available for this work.