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.
Closed
Provide door sensor status on leaving the house
for my homewizard i've writen a small script in bash that sends me an alert as soon as a door or window is still open when I activate the away preset.
It would be nice for the homey to say which door or window is open after telling homey you are leaving the house, just like the example you've provided in a video with the umbrella.
This discussion has been closed.
Comments
It will be great as homey can open or close the windows.
But I can't find a device that can do that.
Only the axa remote but that's only for smal windows.
Thats not what in meant here, as soon as you want to leave the house you tell homey you are leaving. In the introduction video the homey said back to take an umbrella because it was going to rain. I would also like to have homey tell me if i forgot to close a window for example in a bedroom.
Dont forget to take an umbrella, it is going to rain ... Oh btw, the window in your bedroom seems to be open, are you sure thats alright?
Ah. Yeah that's easy. 'When you're leaving, and [window sensor x] is open, then say "Hey, your window's still open!"'
That is actualy just possible on the fly? I love it!
The homewizard cant do a if > and > then statement but only if > then.
Cool to see that it will be possible with the homey
@emile
Is it also possible to check a group of devices?
['window front first floor','window back first floor','xxxx']
Presence-Card: X left home
CONDITION (and):
Fibaro Door Sensor-Card: Sensor is open
ACTION (then):
Mobile-Card: send notification "Sensor is open"
I know that would do the trick. But I don't have 'and' conditions for my Fibaro sensor only 3 'when' conditions. In dutch:
Het accuniveau is veranderd, Het contactalarm gaat uit, Het contactalarm gaat aan.
I think that this should be a built-in flow card
Here is a workaround:
You will need three flows instead of one. The main flow is:
TRIGGER (when):
Presence-Card: X left home
CONDITION (and):
Logic-Card: "A variable is equal to [VAR] [1]"
ACTION (then):
Mobile-Card: send notification "Sensor is open"
And with the second and third flow you create this variable:
TRIGGER (when):
Fibaro Door Sensor-Card: Sensor is open
ACTION (then):
Logic-Card: Set variable [VAR] to [1]
And the third flow:
TRIGGER (when):
Fibaro Door Sensor-Card: Sensor is closed
ACTION (then):
Logic-Card: Set variable [VAR] to [0]
I didn't tried this, but it should work. You could also use the better logic app, but I don't think that there is a huge difference.
Maybe it is possible to set the time in a variable when the door opens, add three minutes and then set an alarm at the time of the variable.
Any suggestions would be appriciated.
https://apps.athom.com/app/nl.bevlogenheid.countdown
But i don't think that is a proper solution, the capabilities are there to create apps easier, so that card should be added to the capabilities of any alarm, not even just the contact alarm.
Thanks, works like a charm.