samrum / homebridge-onstar

Homebridge plugin for managing cars via OnStar
MIT License
34 stars 0 forks source link

Use as a Shortcut? #146

Open derfx4 opened 2 years ago

derfx4 commented 2 years ago

Is it possible that this script could be engineered to be ran as an IOS shortcut vs HomeKit?

i get you could trigger this as a HomeKit shortcut - but a standalone shortcut also has a lot of possible options such as auto triggered morning routines.

samrum commented 2 years ago

You can control HomeKit accessories in Shortcuts using the Control My Home action

derfx4 commented 2 years ago

This is true - but there is an increased risk of someone else in the home hitting the button in HomeKit.

An iOS shortcut only operates on the one user that has the shortcut. Plus there is the possibility of increased automations. Just curious if this could be done as a shortcut

samrum commented 2 years ago

I’m not super familiar with scripting custom shortcuts, but OnStarJS is what homebridge-onstar uses to make requests so could look through there and try to reproduce it or use it somehow.