Skip to content

Instantly share code, notes, and snippets.

@mattea
Created April 6, 2015 18:26
Show Gist options
  • Save mattea/ee5bdadf475348ae495c to your computer and use it in GitHub Desktop.
Save mattea/ee5bdadf475348ae495c to your computer and use it in GitHub Desktop.
Task for turning device %par1 on (can substitute with device id)
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Task sr="task24">
<cdate>1400609491169</cdate>
<edate>1428343966184</edate>
<id>24</id>
<nme>LightOn</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>118</code>
<Str sr="arg0" ve="3">http://192.168.2.1/</Str>
<Str sr="arg1" ve="3">cgi-bin/mochad.pl</Str>
<Str sr="arg2" ve="3">q=AP %par1 ON</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="10"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
<Int sr="arg8" val="0"/>
</Action>
<Img sr="icn" ve="2">
<nme>hd_aaa_ext_bulb</nme>
</Img>
</Task>
</TaskerData>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment