4 ms·
Where hours of sleep/night is a reasonable proxy, providers of sleep tracking aren't incentivized to let you spend as much on Amazon as you can. A warning that
by fragmede 5y ago
Where hours of sleep/night is a reasonable proxy, providers of sleep tracking aren't incentivized to let you spend as much on Amazon as you can. A warning that says something like "hey, you've been getting ~2 hrs of sleep/night with no naps for the past couple days, you might want to consider doing X" would go a long way to helping me manage my symptoms.
- graeme 5y agoOh, you can actually do that with Shortcuts and Apple Health, today! Mine has a bug for some reason so I can’t make it, but basically: 1. Get details of health sample, should be one for time asleep 2. Get the number, compare it to the total you want a warning at 3. Display a custom notification if below threshold 4. Set this to run as an automation at like 9 am or whenever, daily, without asking My only point of doubt is whether you can get this week’s sleep as a health sample. But you can definitely get last night’s sleep from the health app. I also checked Autosleep. They have a sleep bank function in shortcuts. You can parse the dictionary output, extract sleep debt and hours sleep, compare both to a set level, and alert if either is beyond threshold. Autosleep is a great, inexpensive app. Works best with apple watch but can function without. Shortcuts has gotten extremely powerful in past few years. Anyone on HN with an iphone should check it out. You can automate all kinds of stuff.