Created At
Jul 10, 2022
Created By Joep Verhaeg
Presence Simulation scene that automatically adapts to your living pattern
Created At
Jul 10, 2022
Last Update
Aug 03, 2022
Platforms
HC 3 Lite, Z-box Hub, Yubii Home Pro, Yubii Home, Venture WISE, HC 3
Views
6448
Download
519
The Advanced Presence Simulation scene automatically adapts to your living pattern from the past week. Therefore you don't have to program complex routines with random times that have to take into account light, sun and seasons.
This scene uses your light and shutter switching pattern from the HC3 device log (history). With this you can make an outsider believe that someone is at home by letting the HC3 operate the light switches and shutters exactly as you did a week before you went on vacation.
The scene is activated when the away profile is active for 8 hours. As a reminder, the user will receive a push message via the Yubii app.
The HC3 must be operational for at least 7 days to log a switching pattern.
To use the scene optimally, you should use the HC3 profiles for your home state.
The scene supports room exclusion because you may not want to include garden lighting routines in the presence simulation if they are switched by motion sensors to keep burglars away.
See the included manual for full installation instructions. English and Dutch manuals are available.
I wrote a blog about presence simulation with tips on how to use this scene. You can read this blog at: https://docs.joepverhaeg.nl/presence-simulator/
Please send me a message via my website with your mail address and I’ll send you instructions about the data I need to debug your problem. Thank you!
This look pretty cool. thx for all the effort. Would it be possible to add an additional profile to the script. e.g. it should run either when the "Away" or "Holiday" profile becomes active. What would I need to modify in the script. thanks!
@Rolf: this is possible. You have to edit the condition to trigger the scene when the other profile is active. And you have to change the lines with if (activeProfile ~= "Vacation") and if (activeProfile ~= "Away") to the new names. But why use the two profiles. The concept is that the home is set to away mode and after 8 hours away the system automatically sets the profile to vacation (or holiday) and start running the simulation.
how to apply the above code to hc3 system?
When I'm running the Presence Simulation is switching the light on, but some of the light are switch on all night and next day. Why is this happening? - This for sure was not taken from my living pattern.