-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Action proposal: HomeKit Actions #66
Comments
It’s possible HomeKit could be such a broad api that it does warrant its own app with many different shortcut options. As for the Mac OS not having HomeKit that surprises me since there’s so many HomeKit apps for things like menu toolbar? |
I can control my TV using Home Automation natively. I do it daily. I have a scene called CNN that turns on my set top box, sets it to CNN and turns on TV and Home Theater. The TV settings can be read and controlled by Shortcuts. My Set-top Box controller offers all features and functions supported by HomeKit. Regards JochenSent from my iPhoneOn 8 Oct 2022, at 09:19, Braden Napier ***@***.***> wrote:
It’s possible HomeKit could be such a broad api that it does warrant its own app with many different shortcut options.
As for the Mac OS not having HomeKit that surprises me since there’s so many HomeKit apps for things like menu toolbar?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
? I am not sure what you are trying to say? Of course I can open home app and control tvs manually. That's not the point at all. This is for writing more powerful shortcuts that are definitely not possible at the moment -- I mean you could manually list tvs and control them but this is about using logic to automate so adding a new tv for example would automatically be represented without changes. |
Ok. Sounded like you were saying you were unable to control tvs via shortcuts and automation. Which is not true, as you can. But it appears your goal is to do some auto discovery of devices in the home to allow menus to dynamically adjust. That’s also possible on some bridges: my Hue bridge provides that function. But not all bridges have this capability. Regards JochenSent from my iPhoneOn 8 Oct 2022, at 09:46, Braden Napier ***@***.***> wrote:
? I am not sure what you are trying to say?
Of course I can open home app and control tvs manually. That's not the point at all.
This is for writing more powerful shortcuts that are definitely not possible at the moment -- I mean you could manually list tvs and control them but this is about using logic to automate so adding a new tv for example would automatically be represented without changes.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
No it's not possible with hue either I'm not sure you're understanding g at all what is trying to be done? |
Hue has APIs that enable you at any time to query the current hue config and get all rooms / zones / devices.As for what you want to do, you are correct, I am unsure of your goal. I just know some of the desired functionality exists in the native system. Regards JochenSent from my iPhoneOn 8 Oct 2022, at 10:36, Braden Napier ***@***.***> wrote:
No it's not possible with hue either I'm not sure you're understanding g at all what is trying to be done?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Of course - but those apis are not available to shortcuts without a ton of custom work that isn't easy to maintain |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->The APIs are available to shortcuts. That is a fact. Yes, you can make life easier if you want. I do and i did. But that doesn’t mean that their is _no_ API, and it doesn’t mean that the API is _not_ available. Sent from Mail for Windows From: Braden NapierSent: Saturday, 8 October 2022 14:12To: sindresorhus/ActionsCc: jsiegenthaler; CommentSubject: Re: [sindresorhus/Actions] Action proposal: HomeKit Actions (Issue #66) Of course - but those apis are not available to shortcuts without a ton of custom work—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Because of the limitation of not being able to support macOS HomeKit actions in this app, it's starting to sound like a separate app would be a better solution. |
Coming along nicely! Will ofc credit and link your way when it makes it to a release! Will obvi change the icon and such. Going to need to re implement a bunch of actions so that they can take in home entities and return them for operations like filtering and such since the entities are highly nested to allow users to filter down to only what they want to control or see. :) |
Do you know if there’s a way to verify is a device is not responding and to trigger another device? |
Yes you can check accessory.isReachable and accessory.isBlocked to understand if an accessory is blocked and forward if needed. I'm not sure what your specific need would be but that would only happen within your own HomeKit app logic and not the home app itself. If you wanted to implement a proxy-style handler that is automated and works with all HomeKit apps you would need homebridge or similar. As it happens my HomeKit version of actions will have a RPC implementation to my homebridge plugin that would allow things like that fairly easily-- but ofc relying on the homebridge in the middle is an extra moving part that needs to exist always. I personally run multiple homebridge servers... one for resource intensive instsnces using a micro pc I bought and one using raspberry pi for simple automation style implementations. This gives you complete freedom on unprecedented level... for example
Here i have a custom switch which I can program automations for when flipped ... if I set the timeout duration, when I turn it on it will begin a countdown seen in the UX that I can interrupt (reset to the timeout seconds again) with the "STOP" button, or even change the timeout as it's running and it will adjust dynamically If I set that timeout to 0 it will change to just being a normal switch. We can create these switches, sensors, etc from shortcuts or from the homebridge config as-needed. The possibilities are literally endless as this is actually implanting the HAP protocol same as a bridge like say Hue or Eve accessories would implement. In Homecuts app I am working on you can set all characteristics from shortcuts and control the states - so you can fully control this. In addition, not requiring homebridge at all, in the already implemented features of the Homecuts I am actually returning whether or not a given accessory is responding and you can filter on that. Here if you don't do a query that filters out "isAvailable" (which is just "accessory.isReachable && !accessory.isBlocked" you will get accessories that are not responding which will also be indicated in the item. You could then custom report on those values using the entity results from the "Find Home Lighting" query: I used to work for a high end home automation manufacturer and I haven't found anything I can't implement in HomeKit that I used teach (I was a teacher for the most advanced home automation features for the platform(. thus far. My HomeKit setup I would have charged $100-150k for only a few years ago and I spent about $3,500 so far... |
Description
I am an engineer and honestly was going to add this myself for my own use… but it probably makes more sense to just make it public for everyone since it will be very useful.
Currently the capabilities for HomeKit are sorely lacking. However, HomeKits potential is next level exciting. I have installed and programmed many hundred thousand + dollar home automation systems from Crestron to Control4 to URC and HomeKit can accomplish much of what they can with some extra tools.
I would propose providing an updated method of doing this similar to HomeBot get items and set items.
For example:
Say I want a shortcut that can allow me to quickly set my home devices and such.
it’s going to display a menu
now when I select “televisions” - say I want a menu drop-down to do the following:
We would need to be able to query for all television types and each item would hold data such as current state, input, etc.
I could then create menu items and use that information to populate the menus as needed.
Additionally — the goal would be that we could then easily let user select from the menu which televisions were selected and with single item control those devices.
—-
Other queries that should be possible:
—-
Most of these things should be possible in a couple actions, but I would imagine more could be considered.
The text was updated successfully, but these errors were encountered: