LE FORUM DJI
Bonjour :-)

Bienvenue sur LE FORUM DES DRONES.
Blog francophone indépendant d'information, de partage et d'apprentissage créé en Mars 2013 par Kosem.

L'inscription vous permet d'accéder à toutes les sections informatives de ce blog.
Merci de bien lire et d'accepter les quelques consignes et recommandations qui vous seront proposées à l'enregistrement.

A très bientôt si vous décidez de vous joindre à nous!

Rejoignez le forum, c’est rapide et facile

LE FORUM DJI
Bonjour :-)

Bienvenue sur LE FORUM DES DRONES.
Blog francophone indépendant d'information, de partage et d'apprentissage créé en Mars 2013 par Kosem.

L'inscription vous permet d'accéder à toutes les sections informatives de ce blog.
Merci de bien lire et d'accepter les quelques consignes et recommandations qui vous seront proposées à l'enregistrement.

A très bientôt si vous décidez de vous joindre à nous!
LE FORUM DJI
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.
Le deal à ne pas rater :
Fnac : 2 Funko Pop achetées : le 3ème offert (large sélection de ...
Voir le deal

Aller en bas
ArMen56k
ArMen56k
Masculin Messages : 95
Date d'inscription : 12/08/2016
Localisation : Vannes

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Préparez votre tablette ou tph android avec tasker et des puces NFC

Mer 7 Sep - 0:24
Salut à tous !
J'utilise mon téléphone pour voler avec mon Phantom. A chaque fois que je me prépare à voler, je fais tout un tas de choses. Par exemple:

  • regarder s'il risque de pleuvoir dans l'heure qui suit
  • augmenter tous les volumes
  • désactiver le bluetooth
  • désactiver les donnés mobiles
  • désactiver le wifi
  • désactiver la luminosité automatique
  • mettre la luminosité à fond


et le tout dans le sens inverse après le vol.

Voici un petit truc pour ne plus vous encombrer de ces tâches en les automatisant.
Pour cela, il va vous falloir simplement acheter le logiciel TASKER (autour de 3 euros si je souviens bien)
https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=fr
C'est un logiciel incontournable qui vous automatise tout ce que vous voulez sur votre android. L'idée ici, c'est que lorsque l'on présente le téléphone devant la puce NFC (qui est collée sur la boite de votre Précieux), tasker fait tout seul tous les réglages.

Préparez votre tablette ou tph android avec tasker et des puces NFC Sans_t10

Si vous voulez que votre téléphone réagisse tout seul au contact de la puce NFC, il vous faudra également le plugin NFC Locale pour tasker:
https://play.google.com/store/apps/details?id=se.badaccess.locale.nfc&hl=fr
Vous trouverez les "Tags NFC" dans votre magasin en ligne préféré (12 pour 10 euros chez amazon par exemple).

Et voici à quoi ressemble votre script tasker. Vous choisissez une action dans la liste, vous entrez les paramètres, et voila.

Préparez votre tablette ou tph android avec tasker et des puces NFC Screen10

Donc vous créez une tâche, qui automatise pour vous tous les réglages que vous souhaitez.
Ensuite vous créez un profil (ici, votre tâche se déclenche lorsque l'on pose le téléphone sur la carte NFC)
Préparez votre tablette ou tph android avec tasker et des puces NFC Screen11
C'est tout.

Pour vous permettre de partir d'un exemple, voici le code xml de ma macro, que vous pourrez importer dans votre tasker.
Il faudra l'adapter à votre tablette ou à votre téléphone.



Code:
<TaskerData sr="" dvi="1" tv="4.8u5m">
 <dmetric>1080.0,1920.0</dmetric>
 <Profile sr="prof157" ve="2">
 <cdate>1472198569425</cdate>
 <edate>1473197488288</edate>
 <id>157</id>
 <mid0>133</mid0>
 <nme>ConfigPourLeVol</nme>
 <State sr="con0" ve="2">
 <code>992481284</code>
 <Bundle sr="arg0">
 <Vals sr="val">
 <com.twofortyfouram.locale.intent.extra.BLURB>047E45AA642A80 - repetitive</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>
 <se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN>true</se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN>
 <se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN-type>java.lang.Boolean</se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN-type>
 <se.badaccess.local.nfc.extra.FIRST_SCAN>true</se.badaccess.local.nfc.extra.FIRST_SCAN>
 <se.badaccess.local.nfc.extra.FIRST_SCAN-type>java.lang.Boolean</se.badaccess.local.nfc.extra.FIRST_SCAN-type>
 <se.badaccess.locale.nfc.extra.INT_VERSION_CODE>4</se.badaccess.locale.nfc.extra.INT_VERSION_CODE>
 <se.badaccess.locale.nfc.extra.INT_VERSION_CODE-type>java.lang.Integer</se.badaccess.locale.nfc.extra.INT_VERSION_CODE-type>
 <se.badaccess.locale.nfc.extra.NFC_TAG>047E45AA642A80</se.badaccess.locale.nfc.extra.NFC_TAG>
 <se.badaccess.locale.nfc.extra.NFC_TAG-type>java.lang.String</se.badaccess.locale.nfc.extra.NFC_TAG-type>
 <se.badaccess.locale.nfc.extra.READ_NFC_TAG></se.badaccess.locale.nfc.extra.READ_NFC_TAG>
 <se.badaccess.locale.nfc.extra.READ_NFC_TAG-type>java.lang.String</se.badaccess.locale.nfc.extra.READ_NFC_TAG-type>
 </Vals>
 </Bundle>
 <Str sr="arg1" ve="3">se.badaccess.locale.nfc</Str>
 <Str sr="arg2" ve="3">se.badaccess.locale.nfc.ui.EditActivity</Str>
 </State>
 </Profile>
 <Profile sr="prof158" ve="2">
 <cdate>1472199601063</cdate>
 <clp>true</clp>
 <edate>1472730394437</edate>
 <id>158</id>
 <mid0>57</mid0>
 <nme>ConfigApresLeVol</nme>
 <State sr="con0" ve="2">
 <code>992481284</code>
 <Bundle sr="arg0">
 <Vals sr="val">
 <com.twofortyfouram.locale.intent.extra.BLURB>04463AAA642A80 - repetitive</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>
 <se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN>true</se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN>
 <se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN-type>java.lang.Boolean</se.badaccess.local.nfc.extra.ENABLE_IMMEDIATE_RESCAN-type>
 <se.badaccess.local.nfc.extra.FIRST_SCAN>true</se.badaccess.local.nfc.extra.FIRST_SCAN>
 <se.badaccess.local.nfc.extra.FIRST_SCAN-type>java.lang.Boolean</se.badaccess.local.nfc.extra.FIRST_SCAN-type>
 <se.badaccess.locale.nfc.extra.INT_VERSION_CODE>4</se.badaccess.locale.nfc.extra.INT_VERSION_CODE>
 <se.badaccess.locale.nfc.extra.INT_VERSION_CODE-type>java.lang.Integer</se.badaccess.locale.nfc.extra.INT_VERSION_CODE-type>
 <se.badaccess.locale.nfc.extra.NFC_TAG>04463AAA642A80</se.badaccess.locale.nfc.extra.NFC_TAG>
 <se.badaccess.locale.nfc.extra.NFC_TAG-type>java.lang.String</se.badaccess.locale.nfc.extra.NFC_TAG-type>
 <se.badaccess.locale.nfc.extra.READ_NFC_TAG></se.badaccess.locale.nfc.extra.READ_NFC_TAG>
 <se.badaccess.locale.nfc.extra.READ_NFC_TAG-type>java.lang.String</se.badaccess.locale.nfc.extra.READ_NFC_TAG-type>
 </Vals>
 </Bundle>
 <Str sr="arg1" ve="3">se.badaccess.locale.nfc</Str>
 <Str sr="arg2" ve="3">se.badaccess.locale.nfc.ui.EditActivity</Str>
 </State>
 </Profile>
 <Project sr="proj0" ve="2">
 <cdate>1472130995058</cdate>
 <name>Drone</name>
 <pids>157,158</pids>
 <psort>Alpha</psort>
 <scenes>IconAndTextMenu,Checklist</scenes>
 <tids>133,153,163,162,57</tids>
 </Project>
 <Scene sr="sceneChecklist">
 <cdate>1472255677561</cdate>
 <edate>1472284799615</edate>
 <heightLand>-1</heightLand>
 <heightPort>1248</heightPort>
 <nme>Checklist</nme>
 <widthLand>-1</widthLand>
 <widthPort>702</widthPort>
 <ImageElement sr="elements0" ve="2">
 <flags>6</flags>
 <geom>0,0,702,1248,0,80,696,1161</geom>
 <Str sr="arg0" ve="3">Image1</Str>
 <Img sr="arg1" ve="2">
 <uri>content://com.android.externalstorage.documents/document/primary%3APictures%2FPhantom3pic.jpeg</uri>
 </Img>
 <Int sr="arg2" val="255"/>
 <Str sr="arg3" ve="3">#FF0099CC</Str>
 </ImageElement>
 <ToggleElement sr="elements1">
 <flags>4</flags>
 <geom>29,426,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule1</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Présence de la carte mémoire</Str>
 <Str sr="arg3" ve="3">Carte mémoire OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements10">
 <flags>4</flags>
 <geom>29,1093,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule118</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Point de retour bien enregistré</Str>
 <Str sr="arg3" ve="3">Position RTH OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements11">
 <flags>4</flags>
 <geom>29,1162,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule119</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Lancer l'enregistrement vidéo</Str>
 <Str sr="arg3" ve="3">Video OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements2">
 <flags>4</flags>
 <geom>29,500,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule11</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Helices bien vissées</Str>
 <Str sr="arg3" ve="3">Hélices OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements3">
 <flags>4</flags>
 <geom>29,574,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule111</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">enlever le plastique qui bloque la caméra</Str>
 <Str sr="arg3" ve="3">Gimbal OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements4">
 <flags>4</flags>
 <geom>29,648,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule112</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Danse des Sioux</Str>
 <Str sr="arg3" ve="3">Compas OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements5">
 <flags>4</flags>
 <geom>29,722,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule113</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">vérifier lignes électriques ou antennes</Str>
 <Str sr="arg3" ve="3">Environnement OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements6">
 <flags>4</flags>
 <geom>29,796,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule114</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Force et direction du vent</Str>
 <Str sr="arg3" ve="3">Vent OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements7">
 <flags>4</flags>
 <geom>29,871,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule115</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Adapter les hauteurs du RTH</Str>
 <Str sr="arg3" ve="3">RTH OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements8">
 <checkchangeTask>163</checkchangeTask>
 <flags>4</flags>
 <geom>29,945,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule116</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">Téléphone en mode avion</Str>
 <Str sr="arg3" ve="3">Interférences OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 <ToggleElement sr="elements9">
 <flags>4</flags>
 <geom>29,1019,654,86,29,154,643,75</geom>
 <Str sr="arg0" ve="3">Bascule117</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">GPS du smartphone activé</Str>
 <Str sr="arg3" ve="3">GPS smartphone OK</Str>
 <Int sr="arg4" val="11"/>
 <Int sr="arg5" val="100"/>
 <Str sr="arg6" ve="3">#FFFFFFFF</Str>
 </ToggleElement>
 </Scene>
 <Scene sr="sceneIconAndTextMenu">
 <cdate>1472133891378</cdate>
 <edate>1472133891378</edate>
 <heightLand>-1</heightLand>
 <heightPort>562</heightPort>
 <nme>IconAndTextMenu</nme>
 <widthLand>-1</widthLand>
 <widthPort>774</widthPort>
 <ListElement sr="elements0">
 <flags>5</flags>
 <geom>15,177,742,328,-1,-1,-1,-1</geom>
 <Str sr="arg0" ve="3">Menu</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3"/>
 <Int sr="arg3" val="1"/>
 <Scene sr="arg4">
 <Scene sr="val">
 <cdate>1472133891378</cdate>
 <edate>1472133891378</edate>
 <heightLand>-1</heightLand>
 <heightPort>168</heightPort>
 <nme>Builtin Item Layout</nme>
 <widthLand>-1</widthLand>
 <widthPort>742</widthPort>
 <ImageElement sr="elements0" ve="2">
 <flags>5</flags>
 <geom>573,15,153,137,-1,-1,-1,-1</geom>
 <Str sr="arg0" ve="3">Icon</Str>
 <Img sr="arg1" ve="2">
 <nme>hd_aaa_ext_tiles_small</nme>
 </Img>
 <Int sr="arg2" val="255"/>
 <Str sr="arg3" ve="3">#FF0099CC</Str>
 </ImageElement>
 <TextElement sr="elements1" ve="3">
 <flags>5</flags>
 <geom>112,15,445,137,-1,-1,-1,-1</geom>
 <Str sr="arg0" ve="3">Label</Str>
 <Str sr="arg1" ve="3"/>
 <Int sr="arg2" val="24"/>
 <Int sr="arg3"/>
 <Str sr="arg4" ve="3">#FFFFFFFF</Str>
 <Str sr="arg5" ve="3"/>
 <Int sr="arg6" val="3"/>
 <Int sr="arg7"/>
 <Int sr="arg8"/>
 </TextElement>
 <TextElement sr="elements2" ve="3">
 <flags>1</flags>
 <geom>15,15,81,137,-1,-1,-1,-1</geom>
 <Str sr="arg0" ve="3">Index</Str>
 <Str sr="arg1" ve="3">1.</Str>
 <Int sr="arg2" val="24"/>
 <Int sr="arg3"/>
 <Str sr="arg4" ve="3">#FFFFFFFF</Str>
 <Str sr="arg5" ve="3"/>
 <Int sr="arg6" val="0"/>
 <Int sr="arg7"/>
 <Int sr="arg8"/>
 </TextElement>
 <PropertiesElement sr="props">
 <Int sr="arg0" val="1"/>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">#00000000</Str>
 <Int sr="arg3" val="0"/>
 <Str sr="arg4" ve="3">Builtin Item Layout</Str>
 <Str sr="arg5" ve="3"/>
 <Img sr="arg6" ve="2"/>
 <Str sr="arg7" ve="3"/>
 </PropertiesElement>
 </Scene>
 </Scene>
 <Int sr="arg5" val="0"/>
 <Int sr="arg6" val="2"/>
 </ListElement>
 <TextElement sr="elements1" ve="3">
 <flags>4</flags>
 <geom>13,0,760,162,6,0,338,72</geom>
 <Str sr="arg0" ve="3">Title</Str>
 <Str sr="arg1" ve="3">Titre</Str>
 <Int sr="arg2" val="28"/>
 <Int sr="arg3"/>
 <Str sr="arg4" ve="3">#FF0099CC</Str>
 <Str sr="arg5" ve="3"/>
 <Int sr="arg6" val="3"/>
 <Int sr="arg7"/>
 <Int sr="arg8"/>
 </TextElement>
 <RectElement sr="elements2">
 <flags>4</flags>
 <geom>0,162,774,6,-1,-1,-1,-1</geom>
 <Str sr="arg0" ve="3">Header</Str>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">#77333333</Str>
 <Str sr="arg3" ve="3"/>
 <Int sr="arg4" val="0"/>
 <Str sr="arg5" ve="3">#FF000000</Str>
 <Int sr="arg6" val="0"/>
 <Int sr="arg7" val="0"/>
 </RectElement>
 <PropertiesElement sr="props">
 <Int sr="arg0" val="1"/>
 <Int sr="arg1" val="0"/>
 <Str sr="arg2" ve="3">#FF000000</Str>
 <Int sr="arg3" val="0"/>
 <Str sr="arg4" ve="3">IconAndTextMenu</Str>
 <Str sr="arg5" ve="3"/>
 <Img sr="arg6" ve="2"/>
 <Str sr="arg7" ve="3"/>
 </PropertiesElement>
 </Scene>
 <Task sr="task133">
 <cdate>1471941380957</cdate>
 <edate>1473198090599</edate>
 <id>133</id>
 <nme>LitchiConfigPourVol</nme>
 <pri>100</pri>
 <Action sr="act0" ve="7">
 <code>307</code>
 <Int sr="arg0" val="15"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 </Action>
 <Action sr="act1" ve="7">
 <code>305</code>
 <Int sr="arg0" val="15"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 </Action>
 <Action sr="act10" ve="7">
 <code>548</code>
 <Str sr="arg0" ve="3">Configuration pour le vol OK</Str>
 <Int sr="arg1" val="0"/>
 </Action>
 <Action sr="act2" ve="7">
 <code>308</code>
 <Int sr="arg0" val="15"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 </Action>
 <Action sr="act3" ve="7">
 <code>18</code>
 <on>false</on>
 <App sr="arg0">
 <appClass>dji.pilot.main.activity.DJIAoaActivity</appClass>
 <appPkg>dji.pilot</appPkg>
 <label>DJI GO</label>
 </App>
 <Int sr="arg1" val="0"/>
 </Action>
 <Action sr="act4" ve="7">
 <code>294</code>
 <Int sr="arg0" val="0"/>
 </Action>
 <Action sr="act5" ve="7">
 <code>433</code>
 <Int sr="arg0" val="0"/>
 </Action>
 <Action sr="act6" ve="7">
 <code>425</code>
 <Int sr="arg0" val="0"/>
 </Action>
 <Action sr="act7" ve="7">
 <code>808</code>
 <Int sr="arg0" val="0"/>
 </Action>
 <Action sr="act8" ve="7">
 <code>810</code>
 <Int sr="arg0" val="255"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 <Int sr="arg3" val="0"/>
 </Action>
 <Action sr="act9" ve="7">
 <code>559</code>
 <Str sr="arg0" ve="3">Activer le G P S. Volume et luminosité au maximum. Wifi, 4g et bluetooth désactivé. configuration pour le drone terminé.</Str>
 <Str sr="arg1" ve="3">default:default</Str>
 <Int sr="arg2" val="3"/>
 <Int sr="arg3" val="5"/>
 <Int sr="arg4" val="5"/>
 <Int sr="arg5" val="1"/>
 <Int sr="arg6" val="0"/>
 <Int sr="arg7" val="0"/>
 </Action>
 <Img sr="icn" ve="2">
 <cls>com.aryuthere.visionplus.VisionPlusActivity</cls>
 <pkg>com.aryuthere.visionplus</pkg>
 </Img>
 </Task>
 <Task sr="task153">
 <cdate>1472131017029</cdate>
 <edate>1473198084349</edate>
 <id>153</id>
 <nme>AvantDePartir</nme>
 <pri>100</pri>
 <Action sr="act0" ve="7">
 <code>104</code>
 <label>vérification de l'emplacement</label>
 <Str sr="arg0" ve="3">https://www.google.com/maps/d/edit?mid=1VIIkaFRIlg200kBLiaFgMZ5lroo</Str>
 </Action>
 <Action sr="act1" ve="7">
 <code>551</code>
 <Str sr="arg0" ve="3">Ok</Str>
 <Str sr="arg1" ve="3"/>
 <Str sr="arg2" ve="3">IconAndTextMenu</Str>
 <Int sr="arg3" val="30"/>
 <Int sr="arg4" val="1"/>
 <ListElementItem sr="item0">
 <label>Vérification suivante</label>
 <sel>true</sel>
 <Action sr="action" ve="7">
 <code>171</code>
 <Int sr="arg0" val="8000"/>
 <Int sr="arg1" val="1000"/>
 <Int sr="arg2" val="50"/>
 <Int sr="arg3" val="3"/>
 </Action>
 <Img sr="icon" ve="2">
 <nme>clean</nme>
 <pkg>net.dinglisch.android.ipack.crystalhd</pkg>
 </Img>
 </ListElementItem>
 </Action>
 </Task>
 <Task sr="task162">
 <cdate>1472254480916</cdate>
 <edate>1473198094446</edate>
 <id>162</id>
 <nme>Checklist Phantom</nme>
 <pri>100</pri>
 <Kid sr="Kid">
 <launchID>162</launchID>
 <pkg>net.huitel.thierry.checklistphantom</pkg>
 <vnme>1.0</vnme>
 </Kid>
 <Action sr="act0" ve="7">
 <code>47</code>
 <Str sr="arg0" ve="3">Checklist</Str>
 <Int sr="arg1" val="9"/>
 <Int sr="arg2" val="100"/>
 <Int sr="arg3" val="100"/>
 <Int sr="arg4" val="0"/>
 <Int sr="arg5" val="1"/>
 <Int sr="arg6" val="1"/>
 </Action>
 <Img sr="icn" ve="2">
 <nme>clean</nme>
 <pkg>net.dinglisch.android.ipack.crystalhd</pkg>
 </Img>
 </Task>
 <Task sr="task163">
 <cdate>1472284663104</cdate>
 <edate>1472284663104</edate>
 <id>163</id>
 <pri>102</pri>
 <Action sr="act0" ve="7">
 <code>130</code>
 <Str sr="arg0" ve="3">LitchiConfigPourVol</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>
 </Task>
 <Task sr="task57">
 <cdate>1472015662589</cdate>
 <edate>1472746703560</edate>
 <id>57</id>
 <nme>UtilisationDehors</nme>
 <pri>100</pri>
 <Action sr="act0" ve="7">
 <code>808</code>
 <Int sr="arg0" val="0"/>
 </Action>
 <Action sr="act1" ve="7">
 <code>810</code>
 <Int sr="arg0" val="255"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 <Int sr="arg3" val="0"/>
 </Action>
 <Action sr="act2" ve="7">
 <code>305</code>
 <Int sr="arg0" val="15"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 </Action>
 <Action sr="act3" ve="7">
 <code>308</code>
 <Int sr="arg0" val="15"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 </Action>
 <Action sr="act4" ve="7">
 <code>307</code>
 <Int sr="arg0" val="15"/>
 <Int sr="arg1" val="0"/>
 <Int sr="arg2" val="0"/>
 </Action>
 <Action sr="act5" ve="7">
 <code>425</code>
 <Int sr="arg0" val="0"/>
 </Action>
 <Action sr="act6" ve="7">
 <code>433</code>
 <Int sr="arg0" val="1"/>
 </Action>
 <Action sr="act7" ve="7">
 <code>294</code>
 <Int sr="arg0" val="1"/>
 </Action>
 <Action sr="act8" ve="7">
 <code>548</code>
 <Str sr="arg0" ve="3">Configuration pour dehors terminé</Str>
 <Int sr="arg1" val="0"/>
 </Action>
 <Action sr="act9" ve="7">
 <code>559</code>
 <Str sr="arg0" ve="3">Smartphone reconfiguré pour une utilisation normale</Str>
 <Str sr="arg1" ve="3">default:default</Str>
 <Int sr="arg2" val="3"/>
 <Int sr="arg3" val="5"/>
 <Int sr="arg4" val="5"/>
 <Int sr="arg5" val="1"/>
 <Int sr="arg6" val="0"/>
 <Int sr="arg7" val="0"/>
 </Action>
 <Img sr="icn" ve="2">
 <nme>gadu</nme>
 <pkg>net.dinglisch.android.ipack.crystalhd</pkg>
 </Img>
 </Task>
</TaskerData>


Ce tasker pourra vous rendre plein d'autres services, que j'adore aujourd'hui:
J'ai une puce nfc sur ma table de chevet, qui me met mon téléphone en mode "ne pas déranger" et qui m'active l'alarme pour le lendemain à 7h en me disant combien de temps il me reste à dormir.

Une dans ma voiture qui coupe le wifi, m'allume la connexion Data, volume et luminosité à fond, lancement du logiciel GPS Waze, etc

Une près de mon fauteuil qui m'ouvre les programmes télé et qui active la télécommande sur mon téléphone, etc etc.

Ensuite, vous pourrez faire aussi des petites interfaces pour déclencher vos actions (les scènes).
Voici par exemple ma checklist avant le vol
Préparez votre tablette ou tph android avec tasker et des puces NFC Screen10

Amusez-vous bien !
Vlyan
Vlyan
Membre Donateur
Membre Donateur
Masculin Messages : 82
Date d'inscription : 09/09/2015
Localisation : Rhône Alpes

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Re: Préparez votre tablette ou tph android avec tasker et des puces NFC

Mer 7 Sep - 18:55
hey super intéressant ça, merci pour le partage cheers
octy
octy
Membre Donateur
Membre Donateur
Masculin Messages : 41
Date d'inscription : 12/08/2016
Localisation : Lorient

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Re: Préparez votre tablette ou tph android avec tasker et des puces NFC

Jeu 8 Sep - 9:15
Salut!!!
Merci pour ce tuto.
J'ai eu la chance de te voir a l'oeuvre, c'est vrai que c'est d'une simplicité enfantine, et surtout super super pratique.
Je crois que je vais me lancer!!!Encore merci et à tres bientôt.
PS: il faut toujours que je t'envoie les rushs... je ne t'ai pas oublié
yannick_c
yannick_c
Membre Donateur
Membre Donateur
Masculin Messages : 1267
Date d'inscription : 09/09/2015
Localisation : Tout près

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Re: Préparez votre tablette ou tph android avec tasker et des puces NFC

Jeu 8 Sep - 12:19
Merci pour les infos, ça a l'air sympa  cheers
Vlyan
Vlyan
Membre Donateur
Membre Donateur
Masculin Messages : 82
Date d'inscription : 09/09/2015
Localisation : Rhône Alpes

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Re: Préparez votre tablette ou tph android avec tasker et des puces NFC

Dim 25 Sep - 19:33
bon du coup je me suis acheté quelques tags nfc pour tester.

j'ai utilisé un setup un peu différent en utilisant le logiciel gratuit "NFC ReTAG Free" (et son plugin expert gratuit aussi):
https://play.google.com/store/apps/details?id=com.widgapp.NFC_ReTAG_FREE
ce logiciel est un lecteur nfc qui permet d'exécuter des taches. On reste très loin de Tasker niveau personnalisation, mais pour tester c'est suffisant Wink  (Attention en anglais seulement !)

A noter que j'ai dû "rooter" mon téléphone pour pouvoir utiliser les actions intéressantes (fermer une app, activer le gps/mode avion), et ça pour moi c'est un gros point noir, mais c'est la faute d'Android et non pas de l'app.
La version gratuite (2€ pour la "pro") est limité à 4 tags et affiche de la pub mais discrète et de toute façon sur le terrain ça ne se vois pas, c'est juste quand on configure.

Voici ma config pour le P3, j'utilise le même tag (nommé rouge, oui c'est des tags coloré et comme je suis original ^^), et à chaque fois il exécute les action du cycle suivant:
Préparez votre tablette ou tph android avec tasker et des puces NFC Retag_13  Préparez votre tablette ou tph android avec tasker et des puces NFC Retag_11  Préparez votre tablette ou tph android avec tasker et des puces NFC Retag_12



du coup quand j'arrive sur le terrain:
- Je tag le badge une 1ere fois : ça ouvre google map, ferme DjiGo et litchi si ils sont ouvert et met la luminosité a fond.
je fais mes zoom sur la carte si j'ai du réseau et ferme maps une fois fini.
- Je tag une 2eme fois : ça met mon tel en mode avion (je pourrais fermer maps ici en fait).
- Une fois le vol fini, je tag une 3eme fois et ça remet mon tel en config normal (luminosité auto, gps off et mode avion off).

et donc je confirme c'est super pratique Wink
ArMen56k
ArMen56k
Masculin Messages : 95
Date d'inscription : 12/08/2016
Localisation : Vannes

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Re: Préparez votre tablette ou tph android avec tasker et des puces NFC

Dim 25 Sep - 22:57
Pas mal ton idée de taguer plusieurs fois le même badge !
Dans tasker, on peut incrémenter une variable, puis en fonction de sa valeur, déclencher tel ou tel jeu d'actions.

Ajoute un petit retour vocal, c'est toujours sympa:
"Maître, votre merveilleux smartphone est prêt à faire voler votre sublime Phantom." Smile
Contenu sponsorisé

Préparez votre tablette ou tph android avec tasker et des puces NFC Empty Re: Préparez votre tablette ou tph android avec tasker et des puces NFC

Revenir en haut
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum