-
Notifications
You must be signed in to change notification settings - Fork 23
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
[Feature Request] Bedtime mode sync #11
Comments
Hey, Please check my fork of dnd-sync. I have added the feature to sync Bedtime mode from the phone separately. |
Hi @DreadedLama ! I see the settings and screens that indicate bedtime mode support, but it doesn't seem to be working for me between my GW4c and Xiaomi 13 Ultra. You say here "sync Bedtime mode from the phone" - implying one must enable 'bedtime mode' on the phone itself (as setting I do not see anywhere in MIUI) But on the toggle it sounds more like Bedtime mode is supposed to be toggled along with DND, so I'm not sure which it is? If it's the latter, does it need to be in a specific position on the menu like the video here shows? I've put it in that top, centre position, but it's still not working :-( Thanks!! Edit: After rebooting both devices to see if that would help any, now I don't even have DND syncing anymore :-( |
Hey @hyacin75, I own a pixel, here I have 2 different options (quick tiles) for DND and Bedtime Mode. DND works as expected and in Bedtime mode, the phone's screen turns to grayscale and DND gets activated. Workflow of Mobile app - If "Sync Bedtime mode to watch" toggle in the mobile app gets activated, and then the mobile's bedtime is turned on, it should sync the bedtime mode to watch ( provided the toggle to sync Bedtime mode is turned on in the watch app too). I see the watch app's "Bedtime mode" description is vague and can be misleading, my bad. Watch App Toggle options - Sync DND - Syncs DND mode between mobile and watch The need for these modifications was, in the original app if DND was turned on, on the mobile, it would also turn on Bedtime mode on the watch. So this just separates DND and Bedtime mode now. Activating DND on mobile won't turn on Bedtime mode on the watch. Bedtime mode QS need to be in the first row and in second column as shown in the original apps video, no changes have been done to the location of Bedtime mode tile on the watch. Regarding the edit section, as of now, you are not able to sync dnd mode too, please try granting the adb permissions to the watch app again and check once. Please follow the entire initial setup method once again. Hopefully, it should fix it. I'll request you to please continue with any conversation on this scenario in my app's Github issues section rather than in the original app, as it can be useful for others facing similar issues over there. EDIT: Typo correction |
Ahhhhhh yes, I actually just parted with a Pixel 7 and yes, nowI know/remember what bedtime mode is, yes, I was using it ... on that and/or the S21 before it. Yeah, very weird, xiaomi.eu MIUI 14 doesn't seem to have digital wellbeing or bedtime mode at all :'( Good call about redoing the permissions. The app says it has them, but clearly something is amiss. If I have no phone bedtime mode, it sounds like the original method would be perfect for me... sadly I didn't see a trace of 'bedtime mode' anywhere in either of the apps (mobile or wear), nor dndsync as an option in the accessibility apps list! I'll continue playing with both! And as requested, for anything further to do with yours, I'll discuss it on your fork instead of here! Thanks!!! |
FYI for anyone coming across this in the future, xiaomi.eu ROMs do not support Digital Wellbeing (which Bedtime Mode is a part of) - https://xiaomi.eu/community/threads/digital-wellbeing-benessere-digitale-xiaomi-mi-10-miui-12-stable.57822/post-566219 Thankfully for me, after reinstalling the original version of this, I did now have the accessibility and bedtime mode options on the watch, so everything now works PERFECTLY for me (like when I had a Samsung mobile) - I start sleep tracking in Sleep As Android, it turns on DND, and now thanks to dnd-sync, the watch also goes into DND and Bedtime mode! When I stop sleep tracking in the morning, it all reverses itself! |
Oh, so Xiaomi does not support Digital wellbeing. Though, I'll never understand why. |
From what I saw stock Xiaomi does, but the far superior (for western markets especially) 3rd party xiaomi.eu ROM does not :-( |
It turns out that the fork by @DreadedLama only supports bedtime mode if the language of the phone is set to "english". I forked its repo and solved this issue by myself! Check it out! Repo link |
For what it's worth I ended up trying out @lazerl0rd's fork of @Silleellie's fork since I have a Google Pixel Gen 1 watch and it seems to be working after a cursory check: https://github.com/lazerl0rd/dnd-bedtime-sync |
Pixel 7 Pro with Ticwatch 3 Pro on the new wear OS 3 update. This is the one that got it |
It would be great if this could also sync bedtime mode. On my Pixel 7 Pro enabling Bedtime mode triggers a notification from Digital Wellbeing with a title "Bedtime mode is on" and the category "Bedtime mode".
It's probably not a good idea to key this on a string due to internationalization, but we might be able to do it based on category.
The text was updated successfully, but these errors were encountered: