by luc laflamme
For those who want to know the time at night without looking at the bright screen. Audio clock for night will tell you the time when you - ironically - turn the screen on. The point though, is that you don't need to look at the screen in the dark. Keep the device face-down if you wish.
I would have chosen any other event if I could. But screen turning on is reliably detectable and easy on battery.
Set the active range of time (begin time and end time of your night) in the beginning of the flow. The flow will exit if cancelled at this point.
The alarm stream is used for time-telling. So make sure your setting allows alarms even though other sounds may be disabled.
If you unlock the device within 5 seconds after turning the screen on, then time telling is skipped. Just so that you can silence the unwanted sound when you need to.