Pré-visualização
😴 History Log
u/chefchip1965
This shortcut takes the sleep history from the health app and generate a detail log which shows when you begin sleeping and when you awake, the number of hours slept and flags your preset goals
💚 = target goal, >6
🧡 = acceptable goal =6
❤ = too little, <6
These goals are on the hour. You can change them for your personal needs
It is currently set up to work with Sleep++
This should work when your sleep tracker will let you output duration in the following format - hh:mm
You need to change the get health samples to output the data.
Novidades
Versão 1.16
Shows graphic if you slept more or less than the night before
O que ele faz
228 ações-
Comment😴 History Log u/chefchip1965 This shortcut takes the sleep history from the health app and generates a detail log which shows when you begin sleeping and when you awake, the number of hours slept and flags your preset goals. 💚 = target goal, >6 🧡…
-
Dictionary
-
Set VariableGoals
-
CommentThe dd below generates the current day of the month so the log displays sleep for the entire month.
-
Date
-
Format Date
-
Set VariableTomorrow
-
Date
-
Format Date
-
Adjust Date
-
Set VariableToday
-
Format Date
-
CommentChange the settings in this action to deliver the results needed for processing.
-
Repeat
-
Find Health Samples
-
Add to Variable
-
Nothing
-
Find Health Samples
-
Add to Variable
-
Get Variable
-
Adjust Date
-
Set VariableToday
-
Get Variable
-
Adjust Date
-
Set VariableTomorrow
-
Get Variable
-
Repeat with Each
-
Get Details of Health Sample
-
Split Text
-
Get Item from List
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
Calculate Statistics
-
Date
-
Adjust Date
-
Format Date
-
Set VariableMaxduration
-
Get Variable
-
Calculate Statistics
-
Date
-
Adjust Date
-
Format Date
-
Set VariableMinduration
-
Comment/Start calculate if all nighters happened. It compares the number of days of sleep data recorded to the latest day recorded. If the difference is 0 then no all nighters.
-
Get Variable
-
Count
-
Date
-
Adjust Date
-
Format Date
-
Calculate
-
Comment/End calculate if all nighters happened
-
Get Variable
-
Count
-
Get Variable
-
Get Details of Health Sample
-
Repeat with Each
-
Count
-
If
-
Get Variable
-
Get Details of Health Sample
-
Get Item from List
-
Set VariableSleeptime
-
Add to Variable
-
Get Variable
-
Get Details of Health Sample
-
Get Item from List
-
Set VariableAwaketime
-
Adjust Date
-
Format Date
-
Get Variable
-
Add to Variable
-
Get Variable
-
Split Text
-
Get Item from List
-
If
-
Text
-
Set VariableFlag
-
If
-
Get Variable
-
If
-
Text
-
Set VariableFlag
-
If
-
Get Variable
-
If
-
Text
-
Set VariableFlag
-
If
-
Get Variable
-
If
-
Add to Variable
-
If
-
Get Variable
-
If
-
Add to Variable
-
If
-
Get Variable
-
If
-
Add to Variable
-
If
-
Get Variable
-
If
-
Get Variable
-
Get Item from List
-
Get Variable
-
Calculate
-
Calculate
-
Add to Variable
-
Get Variable
-
If
-
Get Variable
-
Get Item from List
-
Split Text
-
Get Item from List
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
Get Variable
-
Split Text
-
Get Item from List
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
If
-
Text
-
If
-
Text
-
If
-
Text
-
If
-
Text
-
Add to Variable
-
If
-
Text
-
Set VariableFlag
-
Get Variable
-
Count
-
Comment/Start add a zero to the sleep list for all all nighters or missing data
-
Repeat
-
Text
-
Add to Variable
-
Comment/End add a zero to the sleep list for all all nighters
-
Comment/Start duration average calculation
-
Get Variable
-
Calculate Statistics
-
Date
-
Adjust Date
-
Format Date
-
Set VariableAvgduration
-
Comment/End duration average calculation
-
Comment/Start count calculations for flag colors
-
Get Variable
-
Count
-
Get Variable
-
Count
-
Get Variable
-
Count
-
Comment/End count calculations for flag colors
-
Comment/Start gather bedtime data gathering
-
Get Variable
-
Repeat with Each
-
Get Variable
-
Format Date
-
Split Text
-
Get Item from List
-
If
-
Comment/Start math correction to find correct position of the clock hand if bedtime is after Midnight. This treats the clock a linear line so the average work out to the correct clock hand position.
-
Calculate
-
Calculate
-
If
-
Calculate
-
Get Variable
-
Get Item from List
-
Calculate
-
Add to Variable
-
Comment/End bedtime data gathering
-
Comment/Start bedtime average calculation
-
Get Variable
-
Calculate Statistics
-
Format Number
-
Date
-
Adjust Date
-
Format Date
-
Comment/End bedtime average
Avaliações e comentários
Escrever uma avaliação–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!
Publicidade
Mais de chefchip1965
Você também pode gostar
Publicidade