-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"set sleep auto off" #37
Conversation
Update: I removed The I correlated the "sleepmode" option to the following sounds:
|
Looks good. Thank you already for your contribution. I'll test it as soon as I have a bit more time and maybe even add the FM frequency option. Might also be a good idea to also add it to my ESP32 thingy. |
I'm happy to add an input for the FM frequency, if you like. I just wasn't sure what it would do here, or how it would be relevant, which is why I hardcoded it to 0x00. |
well I'd probably just reuse the part from the alarm mode for example. I can't actually test it, but it should fit.
|
what I meant was: I didn't understand the purpose of the parameter on a mode for playing soothing sounds. I realise only now that falling asleep listening to the radio is a valid use-case too 😄 |
Thanks so much for your work on this. So far, it's working great. I was missing options for the "sleep" function though, which plays soothing sounds like a river, rain etc. for a set period of time.
This PR adds the two commands "set sleep auto off" and "set sleepscene listen".
The difference between the two, is that "sleep auto off" shows a "sleep light" and switches off after the set timeout.
I have no idea what devices support this, or don't, so I added this in the generic Divoom class. So far so good on my Timebox Evo.