Skip to content
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

HomeKit Automation, trigger when home/away changed #115

Open
sandeepb1 opened this issue Apr 5, 2022 · 5 comments
Open

HomeKit Automation, trigger when home/away changed #115

sandeepb1 opened this issue Apr 5, 2022 · 5 comments

Comments

@sandeepb1
Copy link

Hi

Love the plugin, it's exposed a lot for me in my Home which I can use. I'm trying to figure one thing out which is the Home/Away setup.

I have the subscription for AutoAssist and have my home set to "Auto" to change when the devices have entered or left the geofence. I've used the presence feature in the plugin but it just shows both Home and Away as Off and only change if it is manual.

I can see in the API that the presence is listed but just wondering if it's possible to have it as a triggerable switch so I can control other devices in my home when Tado senses I'm away.

The reason I'm going for the Tado implementation of geofencing is that it allows me to set a wider area.

Thanks

@jotzet79
Copy link

jotzet79 commented Apr 5, 2022

Hi @sandeepb1
Have a look at #107 (comment) - I was saving the money and wrote some Bash Commandline Commands to react on the OpenWindow Events. I also could set ranges up to 1km, but I don’t know if it suffices.

@nielsth
Copy link

nielsth commented Apr 5, 2022

I use the presence part of the plug-in to display an occupancy sensor. You can set up automations in the Home app based on when the occupancy sensor changes from detecting someone or not.

                    "presence": {
                        "anyone": true,
                        "accTypeAnyone": "OCCUPANCY",

@sandeepb1
Copy link
Author

I use the presence part of the plug-in to display an occupancy sensor. You can set up automations in the Home app based on when the occupancy sensor changes from detecting someone or not.

                    "presence": {
                        "anyone": true,
                        "accTypeAnyone": "OCCUPANCY",

Ok so if all devices with the Tado app leave the Geo zone the Anyone occupancy will be false. When we come back in the geofence the state will change to true?

@nielsth
Copy link

nielsth commented Apr 5, 2022

Yes. In case there are more people in the tado app, the occupancy for all people will be false is everyone is away, and true if anyone is at home. Exactly like the Home/Away mode in tado.

@sandeepb1
Copy link
Author

Greta thanks for the clarification. I’ve just tested it out and it worked perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants