Skip to content

Instantly share code, notes, and snippets.

@angerelle
Created August 25, 2014 19:40
Show Gist options
  • Save angerelle/5c9e4921be4998dca1a3 to your computer and use it in GitHub Desktop.
Save angerelle/5c9e4921be4998dca1a3 to your computer and use it in GitHub Desktop.
Tasker task and profile for turning on Bluetooth when syncing Fitbit
<TaskerData sr="" dvi="1" tv="4.4u3m">
<Profile sr="prof2" ve="2">
<cdate>1408368458743</cdate>
<clp>true</clp>
<edate>1408995547948</edate>
<id>2</id>
<mid1>10</mid1>
<nme>Fitbit-Bluetooth</nme>
<App sr="con0" ve="2">
<cls0>com.fitbit.onboarding.landing.LandingActivity_</cls0>
<flags>2</flags>
<label0>Fitbit</label0>
<pkg0>com.fitbit.FitbitMobile</pkg0>
</App>
</Profile>
<Task sr="task10">
<cdate>1408994855885</cdate>
<edate>1408994868949</edate>
<id>10</id>
<nme>Turn Off Bluetooth</nme>
<Action sr="act0" ve="6">
<code>294</code>
<Int sr="arg0" val="0"/>
</Action>
</Task>
</TaskerData>
<TaskerData sr="" dvi="1" tv="4.4u3m">
<Task sr="task9">
<cdate>1408993754792</cdate>
<edate>1408995068252</edate>
<id>9</id>
<nme>FitbitT</nme>
<pri>10</pri>
<Kid sr="Kid">
<launchID>9</launchID>
<pkg>ttm.yre.wfx</pkg>
<vnme>v2</vnme>
<vnum>2</vnum>
</Kid>
<Action sr="act0" ve="6">
<code>294</code>
<Int sr="arg0" val="1"/>
</Action>
<Action sr="act1" ve="6">
<code>20</code>
<App sr="arg0">
<appClass>com.fitbit.onboarding.landing.LandingActivity_</appClass>
<appPkg>com.fitbit.FitbitMobile</appPkg>
<label>Fitbit</label>
</App>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="0"/>
</Action>
<Img sr="icn" ve="2">
<cls>com.fitbit.onboarding.landing.LandingActivity_</cls>
<pkg>com.fitbit.FitbitMobile</pkg>
</Img>
</Task>
</TaskerData>
@angerelle
Copy link
Author

FitbitT - Tasker task to turn on Bluetooth then launch Fitbit. This can be installed as an app (and you can use the Fitbit icon for it too).

Also a profile to turn off Bluetooth when exiting Fitbit.

I originally had a profile that just turned on Bluetooth when Fitbit was opened, but it was never ready in time for a sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment