@jonwhoward , If you want to try the “smartapp gentle wakeup” that I modify?
I modified it in IDE and published it for me. I installed it in the new app and it works perfectly, except for the phrases that does not exist in new app and the link with other app’s.
It works by increasing and decreasing light. I have tested it with a dimmable light bulb, I don’t have dimmable switches, but I hope it will work the same.
It is the link to post about smartapp modification:
Setup Completion settings failed due to running setup. “hellohome” gives java error exception, does not exist in the new app.
Overriding code line 253 works everything else.
[Screenshot_20201224-113455]
Put the mode at home, away or night.
Send notification.
Turn on another switch with programmed delay or not.
To save the execution of scenes, an automatic action can be execute any scene when changing the mode or when the light reaches a target%.
Try it.
[Screenshot_20201224-114946]
[Screenshot_20201224-115713]
The link to modified smartapp code:
/**
* Copyright 2016 SmartThings
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License
* for the specific language governing permissions and limitations under the License.
*
* Gentle Wake Up
*
* Author: Steve Vlaminck
* Date: 2013-03-11
*
* https://s3.amazonaws.com/smartapp-icons/HealthAndWellness/App-SleepyTime.png
* https://s3.amazonaws.com/smartapp-icons/HealthAndWellness/App-SleepyTime%402x.png
* Gentle Wake Up turns on your lights slowly, allowing you to wake up more
This file has been truncated. show original