Been there since day one.

Been there since day one.

Not the same thingâŚ
How so? The app logic will check for sunrise/sunset but not do anyhting else outside of the selected mode⌠is that not what you want?
@tslagle13 Hey Tim, just wanted to let you know that this app passed initial functional review and is in code review. Stay tuned for updates via email.
Cool!!! Let me know if you need anything from me!
@tslagle13: Thanks soo much for sharing this! I used to have a mess of different modes trying to accomplish this same thing. Found your code and this is so much simpler!
I use this mostly to activate my motion sensor lighting at sunset when someone is home. Looking forward to seeing this as a published app. Itâs too bad they wouldnât let you use the sunset/sunrise offset method, but definitely not a deal-breaker.
Thanks again!! 
Did some more testing today. Mode restrictions works as far as I can tell. Were you able to test. If so, is it working? Maybe you have a different set of circumstances then I?
Looks like it worked last night so perhaps I had an outdated version of the code. Good to go now, thanks!
Glad to hear it. Definitely let me know if anything else comes up.
Does anyone else on the thread have any recommendations to improve the app? I am going to try and streamline some stuff. I might not be able to add everything but im open to some recommendations. ![]()
It works great for my needs. In fact, Iâve reached out to a SmartThings VP that Iâve communicated with in the past about this to see if we can get it fast-tracked through the official app approval process.
Iâm a homebuilder and we just started including STs as a standard feature in our homes. I really think our customers should have these 4 modes, rather than the default 3. Therefore, Iâd feel much more comfortable if they could just install this app straight from Smart Setup, rather then giving them a long tutorial of how to create the SmartApp using the code youâve provided. I can guarantee the majority of them wonât have the patience to mess with that.
Anyways, he said heâs checking with their âcommunity team to see the status of itâ and will get back to me.
Cool. Thanks man.
Since youâre asking for feature requests, it would be nice to see support for a sleep action/mode. Right now, it requires âthings quiet downâ, âthings start happeningâ, and your âBig Switch for Hello Home Phrasesâ to automatically switch back and forth between home night and sleep modes. I use motion detectors and switch state during a specific time window with a false positive delay to determine whether someone is awake.
Allowing selection of multiple home night modes in the app would be helpful for my use case as well since I have 2 modes that qualify as home night.
@notoriousbdg Maybe this will help.
I have a âSleepâ mode as well. I have it setup to automatically go into this mode when things quite down but only when in my âHome Nightâ mode. Also i have it set to go to Home Day when things start happening and my Home Magic is set to not run during my âsleepâ mode.
Is this what you mean?
Yes, pretty close to what I have setup. I initially relied on âSleepâ transitioning directly to âHome Dayâ, but I found that I also needed to allow âSleepâ to automatically transition back to âHome Nightâ when we wake up to ensure motion lights still functioned if we leave the house before sunrise.
As it stands currently if you leave the house during sleep mode, and Magic Home is allowed to run in sleep mode, it will run the appropriate hello home phrase based on the âsun stateâ.
If Magic Home is blocked during your sleep mode it wonât do that.
Iâm thinking the solution here lies in the hello home phrases. To bake this into the app would male the setup of the app hard and it wouod be very hard to incorporate that logic into the app.
I hope Iâm understanding you correctly and answering your question fully. Does this help?
Since you asked and I know this isnât the purpose of the app but I would really like to set the times the modes change (option) especially for mornings Instead of sunrise. Having to wait for it to change at a different time every week/month when I get up at the same time everyday is only slightly inconvenient (there are work arounds). 
Thanks to everyone for their input, questions and thoughts on this. To add to the conversation, I had one more question for everyone. ![]()
How are you implementing a Goodnight mode/phrase into this? Tim mentioned in post #46.
I have a âgoodnightâ phrase that turns the mode to goodnight and does the other things i want it to do. (Home Magic is not allowed to run during this mode)
Iâve found how I can set a Goodnight phrase to trigger at 11pm which in turn changes the mode to Goodnight, But I donât see how to have Goodnight END at a certain time. Iâd like have Goodnight end at either manually or at a certain time, then have Magic Home (or something) intelligently decide which mode to go into next.
Is there a way to do this? Thank you!
I would put on my wishlist the ability to create a home timeline to set various modes within Magic Home. For instance, it works best for me to set a morning mode at a preset time (e.g. 5:30 AM), then switch to a day mode at sunrise, then an evening mode at sunset, and finally a night mode at the same time (e.g. 10:30 PM). To make it especially useful, it would be great to use activity, such as motion sensors, to set the morning and night modes. Right now Iâm able to set modes like this using a combination of Magic Home and other separate actions, so this is more of a nice-to-have wish than a need-to-have requirement.
Regardless I would say this is a great app, so continued stability would be a higher priority than adding too many extras.
this is currently how I have things set up. since morning and night modes are schedule based you just need to edit the schedule in the action itself instead of magic home.
Just allow Magic Home to set your your new mode when the sun rises. Youâd go from your âsleepâ mode to home-day when the sun rises. I think this is what you want?