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
Use case: Bathroom ventilation problem with Vera
Is it possible (without writing your own code) to do the following with Homey:
*** Trigger ON: An Aeon PIR sensor detects movement in the bathroom when you start taking a shower, and sets the house fan to mid-level immediately, using a Fibaro 2x1.5kW switch.
*** Trigger OFF: If Aeon Humidity stays Why I ask: In Vera Edge this is NOT possible, because the Vera only triggers on CHANGES, not an BEING some level. So when the fan gets switched on, and humidity never goes ABOVE 60% first, then the second trigger never fires.
((Details: The real scenario in my house is much more complex, also involving low and high settings for the fan, and also triggering on other humidity levels, but above is a slimmed down version of the 'problem' to solve, which in a Vera takes coding in LUA. I'd love for Homey to solve such scenario's out of the box, so not only having conditions like "goes below ___%", but Homey also supporting "is below ___%".))
*** Trigger ON: An Aeon PIR sensor detects movement in the bathroom when you start taking a shower, and sets the house fan to mid-level immediately, using a Fibaro 2x1.5kW switch.
*** Trigger OFF: If Aeon Humidity stays Why I ask: In Vera Edge this is NOT possible, because the Vera only triggers on CHANGES, not an BEING some level. So when the fan gets switched on, and humidity never goes ABOVE 60% first, then the second trigger never fires.
((Details: The real scenario in my house is much more complex, also involving low and high settings for the fan, and also triggering on other humidity levels, but above is a slimmed down version of the 'problem' to solve, which in a Vera takes coding in LUA. I'd love for Homey to solve such scenario's out of the box, so not only having conditions like "goes below ___%", but Homey also supporting "is below ___%".))
This discussion has been closed.
Comments
One of the parameters is "request Domestic Hot Water (DHW)", so i have;
You could take 2 fibaro 2x1,5kW modules and connect them to the ventilation switch.
Also i found the following site and the use 1 Fibaro 2x1,5kW module to switch between ventilation mode Low(1) and High(3);
http://www.robbshop.nl/about-z-wave/z-wave-projects#bathroom-ventilation
I want to trigger the fan ON when entering the room, on the PIR, and switching it OFF if it's 30 minutes below 60% (not when it changes from a higher value to below 60%!), but I have a problem in the scenario where it enables on the PIR, and when the humidity never goes ABOVE the 60%, then the scene to switch it OFF never fires. This is because the Vera only triggers when the % CHANGES from above to below the 60% (or the set value), but that is NOT what I want. I want after latest PIR movement, that it switches OFF after 30 minutes of being below 60, not CHANGING to below 60. In this case it'll switch off when change from e.g. 61% to 59% (which the Vera supports), but ALSO when staying lower than 59% all the time.
You are missing my point of the problem, but I blame myself. Apparently I don't describe it clear enough. :-) Thx for the effort anyways, maybe I'm clearer now.
Therefore i'm not fully known with the limitation/options of the triggers/scenes.
I LUA scripts that "watch" variables and if the change fire an callback function. I also use custom device parameters to keep track on last time(stamp) switching/triggering devices. This way its possible to see when a switch/motion was switched/triggered for the last time.
This works great for me and beside some code side bugs, we are very pleased with the system.
I hope Homey will be smarter, better, faster, foolproof, intuitive, etc etc. and my Vera3 goes within days on Marktplaats.nl
Lets see what the update of tomorrow will bring (i finally hope to see an production Homey..........)
Just please don't expect it at launch. These 'advanced' features need careful thought, before it all gets a mess
Also nice for using it with KaKu light sensors. You can than delay the 'light off' command for say a minute or two.
If it become darker in that time you can skip the action 'light off'.
#2 - @Emile, in the scenario of @JeroenKleijn is it possible to cancel the 3 minute timer from another scene (without writing your own code)? If I decide to go back after 1,5 minutes, because I forgot to check some e-mail, I'd want a movement trigger from the Fibaro 3 in 1 sensor to cancel the turning off the lights. (And in any case turning the lights on if they were off.) I'd hate it that the 3 minute timer is already running, and thus after 1,5 minute back in the room the lights would switch off! @Emile, could you shed some light on this usecase using Homey?
Thx!
#2 In javascript you can with clearInterval ( ).
Example: http://www.w3schools.com/jsref/met_win_clearinterval.asp
http://www.w3schools.com is the place for me to found a lot of help in programming.
You are very right in about that nerdy-level, I have mention that on this form already.
That Homey this canceling has to do from the start is very simple to explain.
If you can tell Homey that you go to bed and the timer "light's off" is then starting, you also need the cancel command because you are forgetting something. Putting the trashcan outside e.g.