[Android Q&A, Help & Troubleshooting] m.klinge:
Glad if can give something back to you :)

Regarding the wait I have written the Task so it checks if the file has been modified within the last ten seconds, if not it will wait one second and check again. This will loop until the file has been updated, or it has tried 30 times then it will quit. Feel free to use this if it suits your needs as well :)

<?xml version="1.0"?>

-<TaskerData tv="4.6u3m" dvi="1" sr="">

-<Task sr="task16">

<cdate>1425850939690</cdate>

<edate>1426009242602</edate>

<id>16</id>

<nme>Fitbit GetDevice</nme>

<pri>10</pri>

-<Action sr="act0" ve="7">

<code>112</code>

<Str sr="arg0" ve="3">Fitbit/GetDevice.py</Str>

<Int sr="arg1" val="0"/>

<Str sr="arg2" ve="3"/>

</Action>

-<Action sr="act1" ve="7">

<code>342</code>

<Int sr="arg0" val="1"/>

<Str sr="arg1" ve="3">SL4A/Output/device.txt</Str>

<Str sr="arg2" ve="3">%deviceupdatetime</Str>

</Action>

-<Action sr="act10" ve="7">

<code>43</code>

</Action>

-<Action sr="act11" ve="7">

<code>548</code>

<Str sr="arg0" ve="3">Fitbit file not updated. Task terminated</Str>

<Int sr="arg1" val="0"/>

</Action>

-<Action sr="act12" ve="7">

<code>137</code>

<Int sr="arg0" val="0"/>

<Str sr="arg1" ve="3"/>

</Action>

-<Action sr="act13" ve="7">

<code>38</code>

</Action>

-<Action sr="act14" ve="7">

<code>38</code>

</Action>

-<Action sr="act15" ve="7">

<code>417</code>

<Str sr="arg0" ve="3">SL4A/output/device.txt</Str>

<Str sr="arg1" ve="3">%fitdevice</Str>

</Action>

-<Action sr="act16" ve="7">

<code>523</code>

<Str sr="arg0" ve="3">Device</Str>

<Str sr="arg1" ve="3">%fitdevice</Str>

<Img sr="arg2" ve="2"/>

<Int sr="arg3" val="0"/>

<Int sr="arg4" val="0"/>

<Int sr="arg5" val="3"/>

</Action>

-<Action sr="act2" ve="7">

<code>888</code>

<Str sr="arg0" ve="3">%deviceupdatetime</Str>

<Int sr="arg1" val="10"/>

<Int sr="arg2" val="0"/>

</Action>

-<Action sr="act3" ve="7">

<code>37</code>

<label>Checkfile</label>

-<ConditionList sr="if">

-<Condition sr="c0" ve="3">

<lhs>%deviceupdatetime</lhs>

<op>6</op>

<rhs>%TIMES</rhs>

</Condition>

</ConditionList>

</Action>

-<Action sr="act4" ve="7">

<code>37</code>

-<ConditionList sr="if">

-<Condition sr="c0" ve="3">

<lhs>%looptimes</lhs>

<op>6</op>

<rhs>30</rhs>

</Condition>

</ConditionList>

</Action>

-<Action sr="act5" ve="7">

<code>30</code>

<Int sr="arg0" val="0"/>

<Int sr="arg1" val="1"/>

<Int sr="arg2" val="0"/>

<Int sr="arg3" val="0"/>

<Int sr="arg4" val="0"/>

</Action>

-<Action sr="act6" ve="7">

<code>342</code>

<Int sr="arg0" val="1"/>

<Str sr="arg1" ve="3">SL4A/Output/device.txt</Str>

<Str sr="arg2" ve="3">%deviceupdatetime</Str>

</Action>

-<Action sr="act7" ve="7">

<code>888</code>

<Str sr="arg0" ve="3">%deviceupdatetime</Str>

<Int sr="arg1" val="10"/>

<Int sr="arg2" val="0"/>

</Action>

-<Action sr="act8" ve="7">

<code>547</code>

<Str sr="arg0" ve="3">%looptimes</Str>

<Str sr="arg1" ve="3">%looptimes+1</Str>

<Int sr="arg2" val="1"/>

<Int sr="arg3" val="0"/>

</Action>

-<Action sr="act9" ve="7">

<code>135</code>

<Int sr="arg0" val="1"/>

<Int sr="arg1" val="4"/>

<Str sr="arg2" ve="3">Checkfile</Str>

</Action>

</Task>

</TaskerData>

//M