This profile is for helping you to enable or disable the automatic clock function that occurs when you move your wrist. The light produced could be very disturbing at night. ;)
Requires root.
Use Secure Settings plugin free
Works with firmware #84 of the Fitbit charge HR.
Have fun !
_Scene_
Used to confirm the action
Scene: Popup Task Buttons
P:421x337 L:-1x-1
Orientation: System
Background Colour: #FF000000
Action Bar Style: System
Title: ???
Subtitle:
Icon: null
Tab Labels:
Element: Text1/Text
Geometry:
P:7,7 406x240 L:7,7 406x240
Content:
Text: Texte
Text Size: 16
Text Width Scale Percent: 0
Text Colour: #FFFFFFFF
Font:
Position: Centre
Vertical Fit Mode: Reduce Text Size
Text Format: Plain Text
Element: Button1/Button
Geometry:
P:7,248 129x81 L:7,248 129x81
Content:
Label:
Label Size: 16
Label Width Scale %: 0
Label Colour: #FF000000
Font:
Position: Centre
Icon: null
Element: Button2/Button
Geometry:
P:145,248 129x81 L:145,248 129x81
Content:
Label:
Label Size: 16
Label Width Scale %: 0
Label Colour: #FF000000
Font:
Position: Centre
Icon: null
Element: Button3/Button
Geometry:
P:282,248 129x81 L:282,248 129x81
Content:
Label:
Label Size: 16
Label Width Scale %: 0
Label Colour: #FF000000
Font:
Position: Centre
Icon: null
Element: Footer/Rectangle
Geometry:
P:0,240 421x3 L:0,240 421x3
Content:
Shader: None
Colour: #77333333
End Colour:
Border Width: 0
Border Colour: #FF000000
Corner Radius: 0
Rounded Corners: All
_Tasks_
Start Aff FitBit : Enable the display function of the clock when de device's screen is on
Stop Aff FitBit : Disable the display function of the clock when de device's screen is on
Confirmer Start Aff Fitbit : Ask to continue enabling the display function of the clock when de device's screen is on
Confirmer Stop Aff Fitbit : Ask to continue disabling the display function of the clock when de device's screen is on
Lock+Unlock : Lock the device, automatically enter the pin code, launch Fitbit
Start Aff FitBit (21)
Stay Awake
A1: Notify [ Title:Tasker - Fitbit Text:Démarrage affichage heure sur Fitbit Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
A2: Perform Task [ Name:Lock+Unlock Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A3: Launch App [ App:Fitbit Data: Exclude From Recent Apps:Off Always Start New Copy:Off ]
A4: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<accès au menu>
A5: Run Shell [ Command:input tap 37 82 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner appareil>
A7: Run Shell [ Command:input tap 245 407 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner Charge hr>
A9: Run Shell [ Command:input tap 292 197 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A10: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<sélectionner vue rapide>
A11: Run Shell [ Command:input tap 110 892 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A12: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner activer>
A13: Run Shell [ Command:input tap 337 590 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A14: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<synchroniser>
A15: Run Shell [ Command:input tap 498 376 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A16: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
A17: Button [ Button:Back ]
A18: Button [ Button:Back ]
A19: Button [ Button:Back ]
A20: Kill App [ App:Fitbit Use Root:On ]
A21: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A22: Notify [ Title:Tasker - Fitbit Text:Heure sur Fitbit démarrée Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
Stop Aff FitBit (15)
Stay Awake
A1: Notify [ Title:Tasker - Fitbit Text:Arrêt affichage heure sur Fitbit Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
A2: Perform Task [ Name:Lock+Unlock Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A3: Launch App [ App:Fitbit Data: Exclude From Recent Apps:Off Always Start New Copy:Off ]
A4: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<accès au menu>
A5: Run Shell [ Command:input tap 37 82 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner appareil>
A7: Run Shell [ Command:input tap 245 407 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner Charge hr>
A9: Run Shell [ Command:input tap 292 197 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A10: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<sélectionner vue rapide>
A11: Run Shell [ Command:input tap 110 892 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A12: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner désactiver>
A13: Run Shell [ Command:input tap 337 529 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A14: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<synchroniser>
A15: Run Shell [ Command:input tap 498 376 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A16: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
A17: Button [ Button:Back ]
A18: Button [ Button:Back ]
A19: Button [ Button:Back ]
A20: Kill App [ App:Fitbit Use Root:On ]
A21: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A22: Notify [ Title:Tasker - Fitbit Text:Heure sur Fitbit arrêtée Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
Confirmer Stop Aff Fitbit (34)
A1: Popup Task Buttons [ Text:Process d'arrêt affichage Fitbit
Retour ou choisir pour continuer Mode:Text Task:Stop Aff FitBit Task: Task: Background Image: Layout:Popup Task Buttons Timeout (Seconds):600 Show Over Keyguard:On ]
Confirmer Start Aff Fitbit (35)
A1: Popup Task Buttons [ Text:Process de démarrage affichage Fitbit
Retour ou choisir pour continuer Mode:Text Task:Start Aff FitBit Task: Task: Background Image: Layout:Popup Task Buttons Timeout (Seconds):600 Show Over Keyguard:On ]
Lock+Unlock (31)
A1: System Lock
A2: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A3: Secure Settings [ Configuration:Screen & Keyboard Lights On
1 Second Package:com.intangibleobject.securesettings.plugin Name:Secure Settings Timeout (Seconds):0 ]
A4: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<code pin de verrouillage du téléphone.>
A5: Type [ Text:0000 Repeat Times:1 ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A7: Run Shell [ Command:input tap 398 771 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
_Profiles_
Stop Aff Fitbit (si écran off) : Disable the display function of the clock at 22:15 when de device's screen is off
Start Aff Fitbit (si écran off) : Enable the display function of the clock at 07:15 when de device's screen is off
Stop Aff Fitbit (si écran on) : Disable the display function of the clock at 22:15 when de device's screen is on. Ask for confirmation before.
Start Aff Fitbit (si écran on) : Enable the display function of the clock at 07:15 when de device's screen is on. Ask for confirmation before.
Profile: Stop Aff Fitbit (si écran off) (22)
Time: 22:15
State: Display State [ Is:Off ]
Enter: Stop Aff FitBit (15)
Stay Awake
A1: Notify [ Title:Tasker - Fitbit Text:Arrêt affichage heure sur Fitbit Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
A2: Perform Task [ Name:Lock+Unlock Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A3: Launch App [ App:Fitbit Data: Exclude From Recent Apps:Off Always Start New Copy:Off ]
A4: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<accès au menu>
A5: Run Shell [ Command:input tap 37 82 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner appareil>
A7: Run Shell [ Command:input tap 245 407 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner Charge hr>
A9: Run Shell [ Command:input tap 292 197 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A10: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<sélectionner vue rapide>
A11: Run Shell [ Command:input tap 110 892 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A12: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner désactiver>
A13: Run Shell [ Command:input tap 337 529 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A14: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<synchroniser>
A15: Run Shell [ Command:input tap 498 376 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A16: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
A17: Button [ Button:Back ]
A18: Button [ Button:Back ]
A19: Button [ Button:Back ]
A20: Kill App [ App:Fitbit Use Root:On ]
A21: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A22: Notify [ Title:Tasker - Fitbit Text:Heure sur Fitbit arrêtée Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
Profile: Stop Aff Fitbit (si écran on) (37)
Time: 22:15
State: Not Display State [ Is:Off ]
Enter: Confirmer Stop Aff Fitbit (34)
A1: Popup Task Buttons [ Text:Process d'arrêt affichage Fitbit
Retour ou choisir pour continuer Mode:Text Task:Stop Aff FitBit Task: Task: Background Image: Layout:Popup Task Buttons Timeout (Seconds):600 Show Over Keyguard:On ]
Profile: Start Aff Fitbit (si écran off) (23)
Time: 07:15
State: Display State [ Is:Off ]
Enter: Start Aff FitBit (21)
Stay Awake
A1: Notify [ Title:Tasker - Fitbit Text:Démarrage affichage heure sur Fitbit Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
A2: Perform Task [ Name:Lock+Unlock Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
A3: Launch App [ App:Fitbit Data: Exclude From Recent Apps:Off Always Start New Copy:Off ]
A4: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<accès au menu>
A5: Run Shell [ Command:input tap 37 82 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A6: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner appareil>
A7: Run Shell [ Command:input tap 245 407 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A8: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner Charge hr>
A9: Run Shell [ Command:input tap 292 197 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A10: Wait [ MS:0 Seconds:10 Minutes:0 Hours:0 Days:0 ]
<sélectionner vue rapide>
A11: Run Shell [ Command:input tap 110 892 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A12: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<sélectionner activer>
A13: Run Shell [ Command:input tap 337 590 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A14: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
<synchroniser>
A15: Run Shell [ Command:input tap 498 376 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
A16: Wait [ MS:0 Seconds:30 Minutes:0 Hours:0 Days:0 ]
A17: Button [ Button:Back ]
A18: Button [ Button:Back ]
A19: Button [ Button:Back ]
A20: Kill App [ App:Fitbit Use Root:On ]
A21: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A22: Notify [ Title:Tasker - Fitbit Text:Heure sur Fitbit démarrée Icon:hd_zzz_tasker Number:0 Permanent:Off Priority:3 ]
Profile: Start Aff Fitbit (si écran on) (38)
Time: 22:15
State: Not Display State [ Is:Off ]
Enter: Confirmer Start Aff Fitbit (35)
A1: Popup Task Buttons [ Text:Process de démarrage affichage Fitbit
Retour ou choisir pour continuer Mode:Text Task:Start Aff FitBit Task: Task: Background Image: Layout:Popup Task Buttons Timeout (Seconds):600 Show Over Keyguard:On ]