Re: Bedienen standkachel via SMS berichten
Geplaatst: 28 dec 2014, 14:03
Dit is het script wat ik nu heb. Inmiddels zit ik op Android 4.4 (KitKat) en heb daardoor ook Tasker versie 4.6. Of dit scriptop elke willekeurige oudere versie zal werken valt te betwijfelen.
<TaskerData sr="" dvi="1" tv="4.6u1m">
<Profile sr="prof29" ve="2">
<cdate>1418851817304</cdate>
<edate>1419766287676</edate>
<id>29</id>
<mid0>3</mid0>
<Event sr="con0" ve="2">
<code>2003</code>
<Str sr="arg0" ve="3"/>
</Event>
</Profile>
<Profile sr="prof30" ve="2">
<cdate>1418852813224</cdate>
<edate>1418854394593</edate>
<flags>2</flags>
<id>30</id>
<mid0>3</mid0>
<Event sr="con0" ve="2">
<code>7</code>
<pri>0</pri>
<Int sr="arg0" val="2"/>
<Str sr="arg1" ve="3"/>
<Str sr="arg2" ve="3">heat</Str>
</Event>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1417620009066</cdate>
<mdate>1419769518066</mdate>
<name>Base</name>
<pids>29,30</pids>
<tids>22,9,3</tids>
<Img sr="icon" ve="2">
<cls>com.inventec.iMobile.iMobile</cls>
<pkg>com.inventec.iMobile</pkg>
</Img>
</Project>
<Task sr="task22">
<cdate>1418850317027</cdate>
<edate>1418929472000</edate>
<id>22</id>
<nme>Call Me</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>90</code>
<Str sr="arg0" ve="3">VUL HIER JE EIGEN NUMMER IN</Str>
<Int sr="arg1" val="1"/>
</Action>
<Action sr="act1" ve="7">
<code>30</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="10"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>733</code>
</Action>
</Task>
<Task sr="task3">
<cdate>1419718090770</cdate>
<edate>1419769542566</edate>
<id>3</id>
<nme>DoIt</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Wakeup</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>4005</code>
<Bundle sr="arg0">
<Vals sr="val">
<BUNDLE_EXTRA_INT_VERSION_CODE>1</BUNDLE_EXTRA_INT_VERSION_CODE>
<BUNDLE_EXTRA_INT_VERSION_CODE-type>java.lang.Integer</BUNDLE_EXTRA_INT_VERSION_CODE-type>
<BUNDLE_EXTRA_METHOD>Extreme</BUNDLE_EXTRA_METHOD>
<BUNDLE_EXTRA_METHOD-type>java.lang.String</BUNDLE_EXTRA_METHOD-type>
<BUNDLE_EXTRA_PACKAGE>com.inventec.iMobile</BUNDLE_EXTRA_PACKAGE>
<BUNDLE_EXTRA_PACKAGE-type>java.lang.String</BUNDLE_EXTRA_PACKAGE-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Method=Extreme; Package=com.inventec.iMobile</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>BUNDLE_EXTRA_PACKAGE</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.laptopfreek0.taskkill</Str>
<Str sr="arg2" ve="3">Taskkill</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act10" ve="7">
<code>4005</code>
<Bundle sr="arg0">
<Vals sr="val">
<BUNDLE_EXTRA_INT_VERSION_CODE>1</BUNDLE_EXTRA_INT_VERSION_CODE>
<BUNDLE_EXTRA_INT_VERSION_CODE-type>java.lang.Integer</BUNDLE_EXTRA_INT_VERSION_CODE-type>
<BUNDLE_EXTRA_METHOD>Extreme</BUNDLE_EXTRA_METHOD>
<BUNDLE_EXTRA_METHOD-type>java.lang.String</BUNDLE_EXTRA_METHOD-type>
<BUNDLE_EXTRA_PACKAGE>com.inventec.iMobile</BUNDLE_EXTRA_PACKAGE>
<BUNDLE_EXTRA_PACKAGE-type>java.lang.String</BUNDLE_EXTRA_PACKAGE-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Method=Extreme; Package=com.inventec.iMobile</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>BUNDLE_EXTRA_PACKAGE</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.laptopfreek0.taskkill</Str>
<Str sr="arg2" ve="3">Taskkill</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act11" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Call Me</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act12" ve="7">
<code>425</code>
<Int sr="arg0" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>425</code>
<Int sr="arg0" val="1"/>
</Action>
<Action sr="act3" ve="7">
<code>7514</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>"REMOTE99abcd"</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<jp.meridiani.apps.wificonnect.extra.STRING_AP_SSID>"REMOTE99abcd"</jp.meridiani.apps.wificonnect.extra.STRING_AP_SSID>
<jp.meridiani.apps.wificonnect.extra.STRING_AP_SSID-type>java.lang.String</jp.meridiani.apps.wificonnect.extra.STRING_AP_SSID-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">jp.meridiani.apps.wificonnect</Str>
<Str sr="arg2" ve="3">WiFi Connect</Str>
<Int sr="arg3" val="20"/>
</Action>
<Action sr="act4" ve="7">
<code>30</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="5"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Call Me</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act6" ve="7">
<code>20</code>
<label>Phone sleep time should be min 2 minutes. If phone sleeps command "input tap x y" does not work for the PHEV app</label>
<se>false</se>
<App sr="arg0">
<appClass>com.inventec.iMobile.iMobile</appClass>
<appPkg>com.inventec.iMobile</appPkg>
<label>Remote Ctrl</label>
</App>
<Str sr="arg1" ve="3"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act7" ve="7">
<code>30</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="15"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act8" ve="7">
<code>123</code>
<label>130 685 is Heat Button</label>
<se>false</se>
<Str sr="arg0" ve="3">input tap 130 685</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>30</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="15"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
</Task>
<Task sr="task9">
<cdate>1417679044170</cdate>
<edate>1419703325169</edate>
<id>9</id>
<nme>Wakeup</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>11820</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.intangibleobject.securesettings.plugin.extra.BLURB>Screen Bright
1 Second</com.intangibleobject.securesettings.plugin.extra.BLURB>
<com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type>
<com.intangibleobject.securesettings.plugin.extra.SETTING>wake_device</com.intangibleobject.securesettings.plugin.extra.SETTING>
<com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type>
<com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION>1000</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION>
<com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION-type>java.lang.Long</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION-type>
<com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE>bright</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE>
<com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Screen Bright
1 Second</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str>
<Str sr="arg2" ve="3">Secure Settings</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>11820</code>
<se>false</se>
<Bundle sr="arg0">
<Vals sr="val">
<com.intangibleobject.securesettings.plugin.extra.BLURB>Keyguard Enabled</com.intangibleobject.securesettings.plugin.extra.BLURB>
<com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type>
<com.intangibleobject.securesettings.plugin.extra.ENABLED>true</com.intangibleobject.securesettings.plugin.extra.ENABLED>
<com.intangibleobject.securesettings.plugin.extra.ENABLED-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.ENABLED-type>
<com.intangibleobject.securesettings.plugin.extra.SETTING>keyguard</com.intangibleobject.securesettings.plugin.extra.SETTING>
<com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Keyguard Enabled</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str>
<Str sr="arg2" ve="3">Secure Settings</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>11820</code>
<se>false</se>
<Bundle sr="arg0">
<Vals sr="val">
<com.intangibleobject.securesettings.plugin.extra.BLURB>Keyguard Disabled/BG</com.intangibleobject.securesettings.plugin.extra.BLURB>
<com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type>
<com.intangibleobject.securesettings.plugin.extra.ENABLED>false</com.intangibleobject.securesettings.plugin.extra.ENABLED>
<com.intangibleobject.securesettings.plugin.extra.ENABLED-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.ENABLED-type>
<com.intangibleobject.securesettings.plugin.extra.RUN_IN_BG>true</com.intangibleobject.securesettings.plugin.extra.RUN_IN_BG>
<com.intangibleobject.securesettings.plugin.extra.RUN_IN_BG-type>java.lang.Boolean</com.intangibleobject.securesettings.plugin.extra.RUN_IN_BG-type>
<com.intangibleobject.securesettings.plugin.extra.SETTING>keyguard</com.intangibleobject.securesettings.plugin.extra.SETTING>
<com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Keyguard Disabled/BG</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.intangibleobject.securesettings.plugin</Str>
<Str sr="arg2" ve="3">Secure Settings</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>808</code>
<Int sr="arg0" val="1"/>
</Action>
<Action sr="act4" ve="7">
<code>812</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
</Action>
<Img sr="icn" ve="2">
<cls>net.dinglisch.android.taskerm.Tasker</cls>
<pkg>net.dinglisch.android.taskerm</pkg>
</Img>
</Task>
</TaskerData>