This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Comments
https://www.klikaanklikuit.nl/nl/awst-8800-draadloze-wandschakelaar.html
I used a keyfob for that in the past to 'arm the alarm', but we regularly forgot to push the button
When the option became available with my previous controller to detect presence by phone I set it up and worked perfectly (albeit more limited that with Homey). I never had problems with it.
So I really hope we can get it to work like that now also...
With some clever thinking, you might be able to reuse a lot of your existing sensors to improve your presence detection.
For example:
- If someone turns on the TV or the lights via a switch, you can be pretty damn sure that someone is home.
- If Homey thinks you just left the house at 2 in the night, you might as well ignore the event.
- If my girlfriend's laptop is one, I can be pretty sure she is home.
All of these things are not guaranteed, but when combined with other methods such as geolocation or better/smarter presence, the results improve drastically.Some tips to combine sensors using Homey:
- It takes some thinking and experimenting. Keep making small incremental improvements.
- Use plenty of variables to keep track of stuff. (Lights recently changed, TV is on, Someone is home, Jaap is home, etc.)
- When something happens (presence changes, motion detected, tv turned on) update your variables based on what you know.
Some examples:Basic IF-THEN on sensor:
IF motion detected THEN set someone-is-home to true.
Add some constraints to exclude false events:
IF Jaap came home AND someone-is-home = false AND door has recently opened, THEN set someone-is-home to true.
Double check your measurements to ensure best results:
IF Jaap left home THEN set might-have-left to true AND trigger follow-up flow after 5 minutes
IF motion detected THEN set might-have-left to false
IF follow-up is triggered AND might-have-left = true AND laptop is off AND TV is off THEN set someone-is-home to false.
To conclude:
The more you track, the more accurate you can determine if someone is home. Using variables to keep track of recent events and double checking your expectations really helps a lot. The fact that you can do this relatively easily with Homey is why I live it so much
- Instal Tasker or MacroDroid on your phone with the RESTask plugin
- Instal the following Homey apps: HTTP request flow cards, Better Logic and Countdown
- Create a macro which sends a HTTP GET request when I disconnect from one of my WiFi networks (xxx) and when I connect to one of my WiFi networks (yyy)
- Once the xxx HTTP GET request is received by Homey the countdown timer "xxx" Starts (I use a value of 90 seconds). This will prevent short disconnections from your WiFi network incorrectly being interpreted as your not being home anymore.
- Once the countdown timer reaches 0 the variable "zz" will change to Away
- Once the yyy HTTP GET request is received by Homey the variable "zz" will change to Home and the countdown timer "xxx" will be stopped (countdown timer is set back to 90 seconds for next time)
For setting the RESTask settings see https://forum.athom.com/discussion/996/tutorial-using-tasker-together-with-homey
It works as fast as your phone connects to your WiFi network and does not drain the battery of your phone.
For one person you will need a total of 3 flows
At the moment I'm also testing this with the phone of my girlfriend (Samsung galaxy S4 mini)
How do you do that? In Flows I can set an IF card, but I presume I have to link my smartphone somewhere too???
Come home:
leave:
And start all kinds of flows from the boolean-variable...
@Eternity : you add an ip-device for better presence and give it a name. That's the name used... You have to make sure your device (phone) always gets the same ip...
Seems I had already set a static ip :-)
Thanks!
havent tryed it yet but defenetly going to make a test flow like this when i got the time.
i did allready try with a ifttt flow but this doesnt always trigger, some times late, and sometimes not at all, on a Sony experia z5 compact.
Edit, smart presence app does have a build in timer, last time i used this i did not see this.
will try without the countdown timer first.
Edit, no false positives during the night. So testing continues.
Please help.