Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Off Topic
  4. Vorstellung eurer Tasker Task in Verbindung mit ioBroker

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    297

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.7k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Vorstellung eurer Tasker Task in Verbindung mit ioBroker

Scheduled Pinned Locked Moved Off Topic
55 Posts 10 Posters 7.1k Views 12 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • David G.D David G.

    @dr-bakterius sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

    (GPS-)Position über meinen Webspace (ginge auch direkt) an ioBroker senden (dann auf Karte darstellen, Hinweise ausgeben, Türöffner bei Anläuten betätigen, ...)

    Das ist vermutlich was komplizierter oder?
    Zumindest wenn nicht jeder die Daten abrufen kann. Hatte es mal mit Tasker und iot getestet. Da bin ich aber schnell ans Tageslimit gekommen....

    Dr. BakteriusD Offline
    Dr. BakteriusD Offline
    Dr. Bakterius
    Most Active
    wrote on last edited by
    #13

    @david-g sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

    Das ist vermutlich was komplizierter oder?

    Eigentlich nicht besonders.

    • Ein Profil erstellen, dass (in meinem Fall) alle zwei Minuten einen Task startet.

    • Im Task mit Get Location v2 die Position bestimmen (ist dann in Systemvariablen)

    • Per HTTP Request (POST) an entsprechende Adresse schicken. Dabei die Variable %gl_coordinates verwenden.

    Der Request sieht etwa so aus:

    http://www.deine_adresse.de/position.php?user_1=%gl_coordinates
    

    Ich sende das an ein PHP-Script auf meinem Webspace. Dieses überprüft die Plausibilität der Daten und speichert das in eine TXT-Datei auf dem Server.

    Hier das PHP-Skript für zwei Personen:

    <?php
    
    	# Daten aus Link übernehmen
        $user_1 = isset($_GET['user_1']) ? $_GET['user_1'] : "";
    	$user_2 = isset($_GET['user_2']) ? $_GET['user_2'] : "";
    	
    	# Überprüfen ob es sich um Koordinaten handelt (z.B. 48.2432332,16.4421192)
    	if (!preg_match("/^[0-9]+[.][0-9]+[,][0-9]+[.][0-9]+$/", $user_1)) {
    		$user_1 = "";
    	}
    	if (!preg_match("/^[0-9]+[.][0-9]+[,][0-9]+[.][0-9]+$/", $user_2)) {
    		$user_2 = "";
    	}
    
    	# Daten in Datei schreiben
    	if ($user_1 <> "") {
    		$handle = fopen ("user_1.txt", "w");
    		fwrite ($handle, $user_1);
    		fclose ($handle);
    		echo "Koordinaten von user_1: " . $user_1;
    	}
    	if ($user_2 <> "") {
    		$handle = fopen ("user_2.txt", "w");
    		fwrite ($handle, $user_2);
    		fclose ($handle);
    		echo "Koordinaten von user_2: " . $user_2;
    	}
    
    ?>
    

    Vom Server holt sich ein ioBroker Script die Daten, überprüft sie erneut und verarbeitet sie weiter.

    Das ioBroker-Blockly zum Abfragen:
    blockly.png

    <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="IB:hZ(B$82uSpR5LC];C" x="-1787" y="2613">
     <field name="SCHEDULE">15 */2 * * * *</field>
     <statement name="STATEMENT">
       <block type="comment" id="A,]F~TLMLxChBen7f|7Z">
         <field name="COMMENT">user_1</field>
         <next>
           <block type="request" id="v^B/?@EFvKP@8_m^G_VO">
             <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
             <field name="WITH_STATEMENT">TRUE</field>
             <field name="LOG"></field>
             <value name="URL">
               <shadow type="text" id="8J?Q|qO=X{3F@wvgL/um">
                 <field name="TEXT">http://www.deine_Adresse.de/user_1.txt</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="controls_if" id="mJ_as?_Ht$D/NTeD))wt">
                 <mutation else="1"></mutation>
                 <value name="IF0">
                   <block type="logic_compare" id="/`H(w].KhL##GH+=QucO">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="variables_get" id="TlP[;S]5)PysCZdPSHdY">
                         <field name="VAR" id="k+~7[3(l;e:M{wRZ{/7v">error</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_null" id="yIaoS#0*VWMSX)M@$VK]"></block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="controls_if" id="YAJ$Rh30Sc1BFmC$]SGB">
                     <value name="IF0">
                       <block type="logic_compare" id="@ho/jn$4cOh!;eO$}ua-">
                         <field name="OP">NEQ</field>
                         <value name="A">
                           <block type="variables_get" id="#B^U{Z(*D_Mr%biW;N#?">
                             <field name="VAR" id="huzpNLp1==YK4TwoO7|r">result</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="dH`~-?+:yZ:zLxVX$c?:">
                             <field name="TEXT"></field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="variables_set" id="s:uS_q5,d*6m=*4Xoh!J">
                         <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                         <value name="VALUE">
                           <block type="variables_get" id="Ncb=jWzIYQLxO(.$.{uW">
                             <field name="VAR" id="huzpNLp1==YK4TwoO7|r">result</field>
                           </block>
                         </value>
                         <next>
                           <block type="controls_if" id="lQu^n//m@(q$XBqvg4}B">
                             <value name="IF0">
                               <block type="logic_compare" id="2/|idbh){gB}3Qtwt-||">
                                 <field name="OP">GT</field>
                                 <value name="A">
                                   <block type="text_indexOf" id="42]G1D$#ZAf1uP1Bs)]*">
                                     <field name="END">FIRST</field>
                                     <value name="VALUE">
                                       <block type="variables_get" id="!rf;Da)8yPPoOqrMneSq">
                                         <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                       </block>
                                     </value>
                                     <value name="FIND">
                                       <shadow type="text" id="fi^(J1xaE!HwO+;[FyYP">
                                         <field name="TEXT">,</field>
                                       </shadow>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="5,n@yWeW5Zkpm*D1,-:*">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="comment" id="0W*|YeMDXNI.,S`T_LAv">
                                 <field name="COMMENT">Prüfen ob der Text Koordinaten enthält (z.B. 48.2432332,16.4421192)</field>
                                 <next>
                                   <block type="variables_set" id="rG_GQ}aVF*8]RxO/{sd!">
                                     <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                     <value name="VALUE">
                                       <block type="lists_split" id="R{slZEq{DXpxLgbVZsqP">
                                         <mutation mode="SPLIT"></mutation>
                                         <field name="MODE">SPLIT</field>
                                         <value name="INPUT">
                                           <block type="variables_get" id="pB(Kkw5^|p`xi}Li7{;8">
                                             <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                           </block>
                                         </value>
                                         <value name="DELIM">
                                           <shadow type="text" id="v*9py0Y%o#XhvKo!Tq,9">
                                             <field name="TEXT">,</field>
                                           </shadow>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_if" id="3-K%EYd5Cy~mviuvQXxW">
                                         <value name="IF0">
                                           <block type="logic_compare" id="J-NtpWj_fFbr*cxU-7}u">
                                             <field name="OP">EQ</field>
                                             <value name="A">
                                               <block type="lists_length" id="]{Zay`]da{RMOQB_NcS|">
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="-]1**UdMib#d8YW(zQ:L">
                                                     <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="O!@WR/=;|Q}+:Z9fKEoK">
                                                 <field name="NUM">4</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="controls_if" id="/Y@w]U]7;q?-G43;~1~J">
                                             <value name="IF0">
                                               <block type="logic_compare" id="LZ1W`MMCpx|dNoKb5XtV">
                                                 <field name="OP">GT</field>
                                                 <value name="A">
                                                   <block type="text_indexOf" id="U3--SOwe^Vh|==yew8qS">
                                                     <field name="END">FIRST</field>
                                                     <value name="VALUE">
                                                       <block type="variables_get" id="VZ/qDKdV@;oC1d;GDS``">
                                                         <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="$9w[?=e|^_U*Ix6Wpc,a">
                                                         <field name="TEXT">.</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="h|t4djOI+:HAgF!E0PAS">
                                                     <field name="NUM">0</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="variables_set" id="I=sv`zcIYL3xJD/0`Xae">
                                                 <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                                 <value name="VALUE">
                                                   <block type="lists_split" id="W(SO1e3.Sb`jXw+@afkj">
                                                     <mutation mode="SPLIT"></mutation>
                                                     <field name="MODE">SPLIT</field>
                                                     <value name="INPUT">
                                                       <block type="variables_get" id="I=Pal[GA4I#W~ypDSUND">
                                                         <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                       </block>
                                                     </value>
                                                     <value name="DELIM">
                                                       <shadow type="text" id="rJ1bkc9tlBlykk=Ksi$#">
                                                         <field name="TEXT">.</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="controls_if" id="Qz/O/I2|Rq2xHCYp7?P,">
                                                     <value name="IF0">
                                                       <block type="logic_compare" id="Wxp~jtkMmzv!b%.LQK!D">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="lists_length" id="t0:+jEXA|/=W|58z@uAj">
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="}f+.BdJ}6*VH0_02s:Mt">
                                                                 <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="sJgsr_!_7~!-oa+EO4Ke">
                                                             <field name="NUM">4</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="comment" id="h;h5{/zz1$@!5x;+(2dv">
                                                         <field name="COMMENT">Bei Änderung Datenpunkt ändern</field>
                                                         <next>
                                                           <block type="controls_if" id="HzMFtrbLOhh1rGQ;{OjX">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="lsTnglwcb,/dTG9Q$,tN">
                                                                 <field name="OP">NEQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id="?]qK`Ybj!C0;zVDW]t+J">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">Datenpunkt.user_1</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="variables_get" id="P=Pb{rCM[LUE)X#S~_H:">
                                                                     <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="[A|1vSkXCeK;9m`z,StB">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">Datenpunkt.user_1</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="^vn77N1J41Qv=G]G_Hr9">
                                                                     <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </statement>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </statement>
                 <statement name="ELSE">
                   <block type="comment" id="1]#tP7v=a(;752S:{8_:">
                     <field name="COMMENT">Hier kann ein Fehler beim Abruf bearbeitet werden</field>
                   </block>
                 </statement>
               </block>
             </statement>
           </block>
         </next>
       </block>
     </statement>
    </block>
    

    Im Datenpunkt stehen dann die Koordinaten in der Form 48.2432332,16.4421192 die man dann nach Belieben weiterverarbeiten kann.

    So muss man keinen Port aufmachen und sein System ins Internet stellen. Verwendet man eine Portweiterleitung kann man die Position direkt in einen Datenpunkt vom ioBroker schreiben, reißt damit aber eine Sicherheitslücke auf.

    M 1 Reply Last reply
    0
    • Dr. BakteriusD Dr. Bakterius

      @david-g sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

      Das ist vermutlich was komplizierter oder?

      Eigentlich nicht besonders.

      • Ein Profil erstellen, dass (in meinem Fall) alle zwei Minuten einen Task startet.

      • Im Task mit Get Location v2 die Position bestimmen (ist dann in Systemvariablen)

      • Per HTTP Request (POST) an entsprechende Adresse schicken. Dabei die Variable %gl_coordinates verwenden.

      Der Request sieht etwa so aus:

      http://www.deine_adresse.de/position.php?user_1=%gl_coordinates
      

      Ich sende das an ein PHP-Script auf meinem Webspace. Dieses überprüft die Plausibilität der Daten und speichert das in eine TXT-Datei auf dem Server.

      Hier das PHP-Skript für zwei Personen:

      <?php
      
      	# Daten aus Link übernehmen
          $user_1 = isset($_GET['user_1']) ? $_GET['user_1'] : "";
      	$user_2 = isset($_GET['user_2']) ? $_GET['user_2'] : "";
      	
      	# Überprüfen ob es sich um Koordinaten handelt (z.B. 48.2432332,16.4421192)
      	if (!preg_match("/^[0-9]+[.][0-9]+[,][0-9]+[.][0-9]+$/", $user_1)) {
      		$user_1 = "";
      	}
      	if (!preg_match("/^[0-9]+[.][0-9]+[,][0-9]+[.][0-9]+$/", $user_2)) {
      		$user_2 = "";
      	}
      
      	# Daten in Datei schreiben
      	if ($user_1 <> "") {
      		$handle = fopen ("user_1.txt", "w");
      		fwrite ($handle, $user_1);
      		fclose ($handle);
      		echo "Koordinaten von user_1: " . $user_1;
      	}
      	if ($user_2 <> "") {
      		$handle = fopen ("user_2.txt", "w");
      		fwrite ($handle, $user_2);
      		fclose ($handle);
      		echo "Koordinaten von user_2: " . $user_2;
      	}
      
      ?>
      

      Vom Server holt sich ein ioBroker Script die Daten, überprüft sie erneut und verarbeitet sie weiter.

      Das ioBroker-Blockly zum Abfragen:
      blockly.png

      <block xmlns="https://developers.google.com/blockly/xml" type="schedule" id="IB:hZ(B$82uSpR5LC];C" x="-1787" y="2613">
       <field name="SCHEDULE">15 */2 * * * *</field>
       <statement name="STATEMENT">
         <block type="comment" id="A,]F~TLMLxChBen7f|7Z">
           <field name="COMMENT">user_1</field>
           <next>
             <block type="request" id="v^B/?@EFvKP@8_m^G_VO">
               <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
               <field name="WITH_STATEMENT">TRUE</field>
               <field name="LOG"></field>
               <value name="URL">
                 <shadow type="text" id="8J?Q|qO=X{3F@wvgL/um">
                   <field name="TEXT">http://www.deine_Adresse.de/user_1.txt</field>
                 </shadow>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="mJ_as?_Ht$D/NTeD))wt">
                   <mutation else="1"></mutation>
                   <value name="IF0">
                     <block type="logic_compare" id="/`H(w].KhL##GH+=QucO">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="variables_get" id="TlP[;S]5)PysCZdPSHdY">
                           <field name="VAR" id="k+~7[3(l;e:M{wRZ{/7v">error</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_null" id="yIaoS#0*VWMSX)M@$VK]"></block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="controls_if" id="YAJ$Rh30Sc1BFmC$]SGB">
                       <value name="IF0">
                         <block type="logic_compare" id="@ho/jn$4cOh!;eO$}ua-">
                           <field name="OP">NEQ</field>
                           <value name="A">
                             <block type="variables_get" id="#B^U{Z(*D_Mr%biW;N#?">
                               <field name="VAR" id="huzpNLp1==YK4TwoO7|r">result</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="text" id="dH`~-?+:yZ:zLxVX$c?:">
                               <field name="TEXT"></field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="variables_set" id="s:uS_q5,d*6m=*4Xoh!J">
                           <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                           <value name="VALUE">
                             <block type="variables_get" id="Ncb=jWzIYQLxO(.$.{uW">
                               <field name="VAR" id="huzpNLp1==YK4TwoO7|r">result</field>
                             </block>
                           </value>
                           <next>
                             <block type="controls_if" id="lQu^n//m@(q$XBqvg4}B">
                               <value name="IF0">
                                 <block type="logic_compare" id="2/|idbh){gB}3Qtwt-||">
                                   <field name="OP">GT</field>
                                   <value name="A">
                                     <block type="text_indexOf" id="42]G1D$#ZAf1uP1Bs)]*">
                                       <field name="END">FIRST</field>
                                       <value name="VALUE">
                                         <block type="variables_get" id="!rf;Da)8yPPoOqrMneSq">
                                           <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                         </block>
                                       </value>
                                       <value name="FIND">
                                         <shadow type="text" id="fi^(J1xaE!HwO+;[FyYP">
                                           <field name="TEXT">,</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="5,n@yWeW5Zkpm*D1,-:*">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="comment" id="0W*|YeMDXNI.,S`T_LAv">
                                   <field name="COMMENT">Prüfen ob der Text Koordinaten enthält (z.B. 48.2432332,16.4421192)</field>
                                   <next>
                                     <block type="variables_set" id="rG_GQ}aVF*8]RxO/{sd!">
                                       <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                       <value name="VALUE">
                                         <block type="lists_split" id="R{slZEq{DXpxLgbVZsqP">
                                           <mutation mode="SPLIT"></mutation>
                                           <field name="MODE">SPLIT</field>
                                           <value name="INPUT">
                                             <block type="variables_get" id="pB(Kkw5^|p`xi}Li7{;8">
                                               <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                             </block>
                                           </value>
                                           <value name="DELIM">
                                             <shadow type="text" id="v*9py0Y%o#XhvKo!Tq,9">
                                               <field name="TEXT">,</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_if" id="3-K%EYd5Cy~mviuvQXxW">
                                           <value name="IF0">
                                             <block type="logic_compare" id="J-NtpWj_fFbr*cxU-7}u">
                                               <field name="OP">EQ</field>
                                               <value name="A">
                                                 <block type="lists_length" id="]{Zay`]da{RMOQB_NcS|">
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="-]1**UdMib#d8YW(zQ:L">
                                                       <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="O!@WR/=;|Q}+:Z9fKEoK">
                                                   <field name="NUM">4</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <statement name="DO0">
                                             <block type="controls_if" id="/Y@w]U]7;q?-G43;~1~J">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="LZ1W`MMCpx|dNoKb5XtV">
                                                   <field name="OP">GT</field>
                                                   <value name="A">
                                                     <block type="text_indexOf" id="U3--SOwe^Vh|==yew8qS">
                                                       <field name="END">FIRST</field>
                                                       <value name="VALUE">
                                                         <block type="variables_get" id="VZ/qDKdV@;oC1d;GDS``">
                                                           <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                         </block>
                                                       </value>
                                                       <value name="FIND">
                                                         <shadow type="text" id="$9w[?=e|^_U*Ix6Wpc,a">
                                                           <field name="TEXT">.</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="h|t4djOI+:HAgF!E0PAS">
                                                       <field name="NUM">0</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="variables_set" id="I=sv`zcIYL3xJD/0`Xae">
                                                   <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                                   <value name="VALUE">
                                                     <block type="lists_split" id="W(SO1e3.Sb`jXw+@afkj">
                                                       <mutation mode="SPLIT"></mutation>
                                                       <field name="MODE">SPLIT</field>
                                                       <value name="INPUT">
                                                         <block type="variables_get" id="I=Pal[GA4I#W~ypDSUND">
                                                           <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                         </block>
                                                       </value>
                                                       <value name="DELIM">
                                                         <shadow type="text" id="rJ1bkc9tlBlykk=Ksi$#">
                                                           <field name="TEXT">.</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="controls_if" id="Qz/O/I2|Rq2xHCYp7?P,">
                                                       <value name="IF0">
                                                         <block type="logic_compare" id="Wxp~jtkMmzv!b%.LQK!D">
                                                           <field name="OP">EQ</field>
                                                           <value name="A">
                                                             <block type="lists_length" id="t0:+jEXA|/=W|58z@uAj">
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="}f+.BdJ}6*VH0_02s:Mt">
                                                                   <field name="VAR" id="`X/:p4U2lcfxfx=#*(YD">test</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="sJgsr_!_7~!-oa+EO4Ke">
                                                               <field name="NUM">4</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="comment" id="h;h5{/zz1$@!5x;+(2dv">
                                                           <field name="COMMENT">Bei Änderung Datenpunkt ändern</field>
                                                           <next>
                                                             <block type="controls_if" id="HzMFtrbLOhh1rGQ;{OjX">
                                                               <value name="IF0">
                                                                 <block type="logic_compare" id="lsTnglwcb,/dTG9Q$,tN">
                                                                   <field name="OP">NEQ</field>
                                                                   <value name="A">
                                                                     <block type="get_value" id="?]qK`Ybj!C0;zVDW]t+J">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">Datenpunkt.user_1</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="variables_get" id="P=Pb{rCM[LUE)X#S~_H:">
                                                                       <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <statement name="DO0">
                                                                 <block type="control" id="[A|1vSkXCeK;9m`z,StB">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">Datenpunkt.user_1</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="variables_get" id="^vn77N1J41Qv=G]G_Hr9">
                                                                       <field name="VAR" id="5Ce/DC`mV_{vSosTo00x">user_1</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </statement>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </statement>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </statement>
                   <statement name="ELSE">
                     <block type="comment" id="1]#tP7v=a(;752S:{8_:">
                       <field name="COMMENT">Hier kann ein Fehler beim Abruf bearbeitet werden</field>
                     </block>
                   </statement>
                 </block>
               </statement>
             </block>
           </next>
         </block>
       </statement>
      </block>
      

      Im Datenpunkt stehen dann die Koordinaten in der Form 48.2432332,16.4421192 die man dann nach Belieben weiterverarbeiten kann.

      So muss man keinen Port aufmachen und sein System ins Internet stellen. Verwendet man eine Portweiterleitung kann man die Position direkt in einen Datenpunkt vom ioBroker schreiben, reißt damit aber eine Sicherheitslücke auf.

      M Offline
      M Offline
      MCU
      wrote on last edited by
      #14

      @dr-bakterius Warum nicht direkt über simpleApi oder simpleApi(Cloud) von extern?

      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

      bahnuhrB Dr. BakteriusD 2 Replies Last reply
      0
      • M MCU

        @dr-bakterius Warum nicht direkt über simpleApi oder simpleApi(Cloud) von extern?

        bahnuhrB Offline
        bahnuhrB Offline
        bahnuhr
        Forum Testing Most Active
        wrote on last edited by
        #15

        @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

        simpleApi(Cloud)

        was ist das?


        Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
        Danke.
        gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
        ScreenToGif :https://www.screentogif.com/downloads.html

        M 1 Reply Last reply
        0
        • bahnuhrB bahnuhr

          @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

          simpleApi(Cloud)

          was ist das?

          M Offline
          M Offline
          MCU
          wrote on last edited by
          #16

          @bahnuhr simpleApi nutzen über die cloud (Cloud-Adapter).

          NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
          Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

          bahnuhrB 1 Reply Last reply
          0
          • M MCU

            @bahnuhr simpleApi nutzen über die cloud (Cloud-Adapter).

            bahnuhrB Offline
            bahnuhrB Offline
            bahnuhr
            Forum Testing Most Active
            wrote on last edited by
            #17

            @mcu
            Ich habs noch nicht.

            Habe cloud Adpater und meine iob.pro eingegeben.
            Wie müsste denn jetzt der Befehl in tasker aussehen um einen DP in iob zu schreiben.
            Und dies ohne vpn ?


            Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
            Danke.
            gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
            ScreenToGif :https://www.screentogif.com/downloads.html

            M 1 Reply Last reply
            0
            • bahnuhrB bahnuhr

              @mcu
              Ich habs noch nicht.

              Habe cloud Adpater und meine iob.pro eingegeben.
              Wie müsste denn jetzt der Befehl in tasker aussehen um einen DP in iob zu schreiben.
              Und dies ohne vpn ?

              M Offline
              M Offline
              MCU
              wrote on last edited by MCU
              #18

              @bahnuhr Ja ohne VPN
              https://mcuiobroker.gitbook.io/jarvis-infos/tipps/adapter-spezifisch/cloud#simpleapi-ueber-cloud
              Hier mit einigen Beispielen
              https://mcuiobroker.gitbook.io/jarvis-infos/tipps/allgemein/siri-apple-shortcuts#befehl-simpleapi-ueber-cloud

              NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
              Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

              bahnuhrB 1 Reply Last reply
              0
              • M MCU

                @bahnuhr Ja ohne VPN
                https://mcuiobroker.gitbook.io/jarvis-infos/tipps/adapter-spezifisch/cloud#simpleapi-ueber-cloud
                Hier mit einigen Beispielen
                https://mcuiobroker.gitbook.io/jarvis-infos/tipps/allgemein/siri-apple-shortcuts#befehl-simpleapi-ueber-cloud

                bahnuhrB Offline
                bahnuhrB Offline
                bahnuhr
                Forum Testing Most Active
                wrote on last edited by
                #19

                @mcu

                habs noch nicht hinbekommen:
                auf iob.pro habe ich eine key:
                8853cd1a-bc25-467f-8dbb-ba7b17335a53-image.png

                Diese habe ich in einem task der variablen %key zugewiesen.
                Danach einen http request:
                Also:

                1: Variablen setzen: %key zu (app-key von iob.pro)
                2: http request:
                https://iobroker.pro/service/simpleApi/%key/set/alias.0.HM.......?value=true

                Und den task laufen lassen.
                Es kommen zahlreiche Fehler.
                Ich vermute, dass ich irgendwas mit dem key falsch habe.


                Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                Danke.
                gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                ScreenToGif :https://www.screentogif.com/downloads.html

                M 1 Reply Last reply
                0
                • bahnuhrB bahnuhr

                  @mcu

                  habs noch nicht hinbekommen:
                  auf iob.pro habe ich eine key:
                  8853cd1a-bc25-467f-8dbb-ba7b17335a53-image.png

                  Diese habe ich in einem task der variablen %key zugewiesen.
                  Danach einen http request:
                  Also:

                  1: Variablen setzen: %key zu (app-key von iob.pro)
                  2: http request:
                  https://iobroker.pro/service/simpleApi/%key/set/alias.0.HM.......?value=true

                  Und den task laufen lassen.
                  Es kommen zahlreiche Fehler.
                  Ich vermute, dass ich irgendwas mit dem key falsch habe.

                  M Offline
                  M Offline
                  MCU
                  wrote on last edited by MCU
                  #20

                  @bahnuhr Im cloud-Adapter bzw in der Instanz gibt es einen APPKEY.
                  d27b40a1-18f0-4087-a70b-fc9ffffba329-image.png
                  Bei mir ist es derselbe wie in iob.pro.

                  NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                  Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                  bahnuhrB 1 Reply Last reply
                  0
                  • M MCU

                    @bahnuhr Im cloud-Adapter bzw in der Instanz gibt es einen APPKEY.
                    d27b40a1-18f0-4087-a70b-fc9ffffba329-image.png
                    Bei mir ist es derselbe wie in iob.pro.

                    bahnuhrB Offline
                    bahnuhrB Offline
                    bahnuhr
                    Forum Testing Most Active
                    wrote on last edited by
                    #21

                    @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                    Bei mir ist es derselbe wie in iob.pro.

                    Bei mir nicht.

                    Hatte auf login und pass stehen.
                    Haken raus und es stand da der von "nicht pro".


                    Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                    Danke.
                    gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                    ScreenToGif :https://www.screentogif.com/downloads.html

                    M 1 Reply Last reply
                    0
                    • bahnuhrB bahnuhr

                      @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                      Bei mir ist es derselbe wie in iob.pro.

                      Bei mir nicht.

                      Hatte auf login und pass stehen.
                      Haken raus und es stand da der von "nicht pro".

                      M Offline
                      M Offline
                      MCU
                      wrote on last edited by
                      #22

                      @bahnuhr Wenn es mit Login und Passwort nicht funktioniert, sollte man ein Issue aufmachen für den Cloud-Adapter?

                      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                      bahnuhrB 1 Reply Last reply
                      0
                      • bahnuhrB Offline
                        bahnuhrB Offline
                        bahnuhr
                        Forum Testing Most Active
                        wrote on last edited by
                        #23

                        @MCU

                        Habe jetzt den pro key von der webseite in der Instanz eingetragen.
                        Adapter ist grün.
                        Bekomme nach wie vor einen Fehler im Tasker.


                        Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                        Danke.
                        gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                        ScreenToGif :https://www.screentogif.com/downloads.html

                        1 Reply Last reply
                        0
                        • M MCU

                          @bahnuhr Wenn es mit Login und Passwort nicht funktioniert, sollte man ein Issue aufmachen für den Cloud-Adapter?

                          bahnuhrB Offline
                          bahnuhrB Offline
                          bahnuhr
                          Forum Testing Most Active
                          wrote on last edited by
                          #24

                          @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                          sollte man ein Issue aufmachen für den Cloud-Adapter?

                          Ich denke bei dir funktioniert es ?


                          Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                          Danke.
                          gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                          ScreenToGif :https://www.screentogif.com/downloads.html

                          M 1 Reply Last reply
                          0
                          • bahnuhrB bahnuhr

                            @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                            sollte man ein Issue aufmachen für den Cloud-Adapter?

                            Ich denke bei dir funktioniert es ?

                            M Offline
                            M Offline
                            MCU
                            wrote on last edited by
                            #25

                            @bahnuhr Habe ja kein Login und Passwort.

                            NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                            Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                            bahnuhrB 1 Reply Last reply
                            0
                            • M MCU

                              @bahnuhr Habe ja kein Login und Passwort.

                              bahnuhrB Offline
                              bahnuhrB Offline
                              bahnuhr
                              Forum Testing Most Active
                              wrote on last edited by
                              #26

                              @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                              @bahnuhr Habe ja kein Login und Passwort.

                              habe doch jetzt auch den key drin.
                              Und da klappt es ja auch nicht.


                              Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                              Danke.
                              gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                              ScreenToGif :https://www.screentogif.com/downloads.html

                              M 1 Reply Last reply
                              0
                              • bahnuhrB bahnuhr

                                @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                                @bahnuhr Habe ja kein Login und Passwort.

                                habe doch jetzt auch den key drin.
                                Und da klappt es ja auch nicht.

                                M Offline
                                M Offline
                                MCU
                                wrote on last edited by MCU
                                #27

                                @bahnuhr simpleApi im Web eingetragen?
                                06452fc8-b7ff-4765-aa7d-2d7b70369c60-image.png

                                NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                bahnuhrB 1 Reply Last reply
                                0
                                • M MCU

                                  @bahnuhr simpleApi im Web eingetragen?
                                  06452fc8-b7ff-4765-aa7d-2d7b70369c60-image.png

                                  bahnuhrB Offline
                                  bahnuhrB Offline
                                  bahnuhr
                                  Forum Testing Most Active
                                  wrote on last edited by
                                  #28

                                  @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                                  simpleApi im Web eingetragen?

                                  ja,
                                  aber im log kommt:

                                  cloud.0
                                  2022-08-06 20:59:56.227	warn	Received service "simpleApi", but it is not found in whitelist
                                  

                                  Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                  Danke.
                                  gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                  ScreenToGif :https://www.screentogif.com/downloads.html

                                  M 1 Reply Last reply
                                  0
                                  • bahnuhrB bahnuhr

                                    @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                                    simpleApi im Web eingetragen?

                                    ja,
                                    aber im log kommt:

                                    cloud.0
                                    2022-08-06 20:59:56.227	warn	Received service "simpleApi", but it is not found in whitelist
                                    
                                    M Offline
                                    M Offline
                                    MCU
                                    wrote on last edited by MCU
                                    #29

                                    @bahnuhr Dann muss es anscheinend auch im iot drin sein.
                                    Ist bei mit schon drin, deswegen ist es bei mir nicht aufgefallen:
                                    93b1fcbb-7741-4f22-936c-c789aab6288c-image.png

                                    NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                    Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                    bahnuhrB 1 Reply Last reply
                                    0
                                    • M MCU

                                      @bahnuhr Dann muss es anscheinend auch im iot drin sein.
                                      Ist bei mit schon drin, deswegen ist es bei mir nicht aufgefallen:
                                      93b1fcbb-7741-4f22-936c-c789aab6288c-image.png

                                      bahnuhrB Offline
                                      bahnuhrB Offline
                                      bahnuhr
                                      Forum Testing Most Active
                                      wrote on last edited by
                                      #30

                                      @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                                      auch im iot drin sein.

                                      wo ist das?
                                      hab ich nicht?


                                      Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                      Danke.
                                      gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                      ScreenToGif :https://www.screentogif.com/downloads.html

                                      M 1 Reply Last reply
                                      0
                                      • bahnuhrB bahnuhr

                                        @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                                        auch im iot drin sein.

                                        wo ist das?
                                        hab ich nicht?

                                        M Offline
                                        M Offline
                                        MCU
                                        wrote on last edited by
                                        #31

                                        @bahnuhr
                                        ff8473de-4561-44a7-8445-023fb7092d61-image.png

                                        NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                        Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                        bahnuhrB 1 Reply Last reply
                                        0
                                        • M MCU

                                          @bahnuhr
                                          ff8473de-4561-44a7-8445-023fb7092d61-image.png

                                          bahnuhrB Offline
                                          bahnuhrB Offline
                                          bahnuhr
                                          Forum Testing Most Active
                                          wrote on last edited by
                                          #32

                                          @mcu sagte in Vorstellung eurer Tasker Task in Verbindung mit ioBroker:

                                          @bahnuhr
                                          ff8473de-4561-44a7-8445-023fb7092d61-image.png

                                          hab ich nicht !


                                          Wenn ich helfen konnte, dann Daumen hoch (Pfeil nach oben)!
                                          Danke.
                                          gute Forenbeiträge: https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge
                                          ScreenToGif :https://www.screentogif.com/downloads.html

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          264

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe