nehayward / Scenecuts

A simple menu bar app to trigger HomeKit scenes.
181 stars 5 forks source link

Feature Request: AppleScript support #23

Closed jakevossen5 closed 6 months ago

jakevossen5 commented 3 years ago

I really want to control my Homekit devices with AppleScript, but there seems to be no way to do it with in the built in application. Would it be possible to add something like that to this application?

nehayward commented 3 years ago

Yes! This is actually something I wanted to do but wasn't sure if that many users would be interested in it. What are some of your initial use cases?

jakevossen5 commented 3 years ago

Because my office is also my bedroom, I try and use a different light scene for when I am working. I use Watson to track my work time, so I was going to create an zsh alias that starts/stops my timer and sets the correct scene. If you are willing/interested in helping me out a bit I could work on this feature.

nehayward commented 3 years ago

Yeah I think it'd be a great addition to the app.

jakevossen5 commented 3 years ago

Sorry not sure if I was on the same page as you. Would this be something that you would be interested in a PR for or are you going to work on it yourself?

nehayward commented 3 years ago

@jakevossen5 Either way I think I might tackle this feature soon. Just wanted to take a little break in January.

jakevossen5 commented 3 years ago

Alright, I will leave it up to you then, as I probably wont be able to get around to it very soon and I don't have a lot of experience in the area. Thanks!

nehayward commented 6 months ago

I think this is possible with shortcuts now which can be used via a CLI.