[Deprecated] Gentle Wake Up

If you are talking about the actual driver itself in the Hubitat driver section, then yes I did... Like I stated, I deleted all the GWU apps and drivers and downloaded fresh copies and installed them yesterday after you posted your new updated child app.

Is there now something in the app I have to install separately?

Edited to add: the light turned on this AM, so at least that part seems to work now.

you have to replace "hubitat" with "smartthings" in line 402 of the child app.
then it creates the device correct.
Not a programmer, but I guess it refers to the author of the driver which is smartthings

Wow, that totally fixed the lack of driver issue.

Now if I could figure out why the color temp doesn't change properly... No errors or anything to go off of though. I just changed to a CT capable bulb, so I don't know if it ever worked correctly.

I just hit the same snag.
I went the other way: Changed the namesapce to hubitat in the driver.

Maybe I can finally power down the Smarththings hub.
GWU was the last thing running on it.

The only issue I've run into is that I can't stop/cancel the dimming when I turn the light OFF (since these are Hue lights and you dont get an event when the light is turned off via my Hue Switch),
So I might need to connect the Hue switch to HE directly, so I could monitor the switch events.
Nothing is ever easy.

So if I am using Hubitat, I still need to rename it Smartthings in line 402?

I am not a programmer although I think it would be great to learn groovy. But I don't have time.

I have a couple items that I would like to see if anyone could make a couple changes.

  1. When I use the gentle wake up, the light turns on with the previous settings and then goes to zero to start the dimming. So I get a Flash of bright light to start. It would be great if it could truly start at zero. I am working on a RM workaround to set the level at zero as part of a nightly routine.

  2. Could it be possible to also add a button to be able to trigger the action? I have a button by the side of the bed, it would be awsome to push the button and have the uplights go from 100 down to 0.

yes, that will make the device work. It's just a given name in the code, got nothing to do with the actual hardware.
But if you prefer hubitat you can change the namespace in the driver, as Berthoven suggested.

Unfortunately a device for the controller was never created.

I've been using this a couple days and I do like it. However, I have two issues that I hope you can help with:

  1. When I setup an app to go to sleep (i.e. Dim from 80% to 0%), at the end the light is still on 14% and does not turn off. Am I doing something wrong? Since it's going from something to 0%, I would expect it would be OFF at the end of the cycle.

  2. Can this be set to NOT have a time component? i.e. My wife has a wacky schedule(and so do I lately) and I want to use this to both go to sleep and to wake up by starting it manually. However, I am forced to enter a time for a trigger but we do not use it at a consistent time. Last night, it started up at midnight because I had 12:00 in for the time...and she wasn't very happy about that..haha. Oops.

Any help is appreciated

Would need a log to see what's going on.

Nope, that' the way it was deigned.

Remember this is a Port, which means it was designed for another system. At some point someone asked for it to be moved over to HE, so I did. It doesn't have all the bells and whistles that a true HE app would have. Maybe someday I'll rewrite it but not anytime soon.

Also remember, since this is a port... feel free to pick away at it and change whatever you want/like!

Ok so I ran it a few more time just changing the time to run to get some log info and I think it revealed what made the lights stay on... But not why.

In the live log, one time it succeeded but the next two times this was in the log:

...Maybe this is due to setting the run time to only 10mins. I think I should do another full 60min test tomorrow and check the log from that.

I ran a full 60min cycle last night and didn't have a problem. I'll keep an eye on it and report back if I see this issue again.

1 Like

FYI, I'll be putting out a beta of a brand new app (Wake Me Up) in a few days to replace this port. :wink:

2 Likes

Hi there @bptworld. What is different from the new app and this app that I'm now using? I think the settings on this one is perfect and relevant.

You'll just have to wait and see! lol The biggest difference is that it's written for Hubitat from the ground up, Not just patched up to work with HE. You'll find some familiar aspects in the new app and some new stuff too. The code is written, just have a ton of testing to do. Maybe I'll put it up on GitHub so you can test it... :thinking: :thinking: :man_shrugging: :wink: :grin:

I have to finish up my NHL Game Day Live code today so I can start testing it tonight (exhibition games start tonight!).

Stay tuned.

Looking forward to seeing/comparing it and yes I'd be happy to test for you.

Haha..cool, have fun. I should really look into the development documentation at some point. It would be fun to create an app for HE. I am just still getting around as a new user and learning the environment.

1 Like

Here you go! [Deprecated] Wake Me Up

Thanks.

1 Like

Where do you want feedback and comments on this? I'm guessing it should have it's own discussion thread but I'll put feedback wherever you want. :slight_smile:

In the beta thread please.

Thanks

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.