InfiniSleep 1.0.6b8
Pre-releaseChanges
- Added option to have both natural wake and pre-wake vibrations
- Added "Ramping Up" to natural wake similar to the regular alarm but with the 30-second interval
- This helps introduce variability to prevent tuning it out
- Updated InfiniTime main branch
PLEASE READ FULLY TO UNDERSTAND CURRENT CAPABILITIES
First Beta Release for Testing
So far, this is a port of some of the wake features of SleepTK and its insomnia insights page.
Instructions
Read the InfiniTime repo on how to flash your PineTime with this firmware, the binary is based on the MCUBoot. The app is located on the last page of the apps list.
The first page is where you can turn the tracker on right before you sleep, and you should see the text turn red to reduce blue light and begin tracking. If you swipe up from the main page, you can edit the alarm and turn it on/off. Swiping up again puts you on the settings page. You can turn gradual wake on/off which creates buzzes at intervals leading up to the alarm. You can also select a desired sleep cycle count which is used to calculate the auto-suggested alarm time in the alarm page.
Features
- Gradual Wake
- Natural Wake
- Insomnia Insights
- Alarm Status
- Gradual Wake Status
- Sleep Cycles
- Total Sleep
- Auto alarm suggestion based on desired sleep cycles
Clarifications
Total Sleep
This is based on the time you start the tracker currently, so it may not be fully accurate. I am looking at a way to improve this in the future, but this seems to be the simple way for now.
Sleep Cycles
As with total sleep time, the sleep cycles counter currently does not take into account the sensor data. It is based on the average length of sleep cycles which is 90 minutes for now.
Suggested Alarm Time
The suggested alarm time is based on the defined sleep cycle duration and desired sleep cycles in the InfiniSleepController.h file. Basically, it suggests an alarm at a time when the desired amount of sleep cycles would be complete.
Constants
The constants are currently at the top of the InfiniSleepController.h. You can change them according to your preference. The gradual wake intervals are located in the same file. If you modify these arrays, keep the length to 9.
Feedback
I'd gladly appreciate any feedback and suggestions that can make this app better, feel free to open an issue on this repo to discuss any bugs, ideas, or feature requests.