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. ioBroker Allgemein
  4. mehrere Datenpunkte auf einmal löschen

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

mehrere Datenpunkte auf einmal löschen

Scheduled Pinned Locked Moved ioBroker Allgemein
7 Posts 5 Posters 1.0k Views 5 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.
  • P Offline
    P Offline
    pjo123456
    wrote on last edited by
    #1

    Moin!

    Mein Bluetooth Adapter hat etliche Bluetooth Geräte gefunden. Gibt es eine Möglichkeit in den Objekten mehrere auf einmal zu löschen?

    Moin aus dem Norden…

    liv-in-skyL 1 Reply Last reply
    0
    • P pjo123456

      Moin!

      Mein Bluetooth Adapter hat etliche Bluetooth Geräte gefunden. Gibt es eine Möglichkeit in den Objekten mehrere auf einmal zu löschen?

      liv-in-skyL Offline
      liv-in-skyL Offline
      liv-in-sky
      wrote on last edited by
      #2

      @pjo123456
      das geht leider nicht - ich könnte das auch immer wieder mal gebrauchen

      nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

      P 1 Reply Last reply
      0
      • liv-in-skyL liv-in-sky

        @pjo123456
        das geht leider nicht - ich könnte das auch immer wieder mal gebrauchen

        P Offline
        P Offline
        pjo123456
        wrote on last edited by pjo123456
        #3

        Gibt es denn eine Möglichkeit dem Adapter zu sagen, dass er keine neuen Geräte erfassen soll? Finde da nicht wirklich was.

        Schon gefunden...... erledigt. Jetzt nur noch alle anderen Bluetooth Geräte löschen.

        Moin aus dem Norden…

        liv-in-skyL M 2 Replies Last reply
        0
        • P pjo123456

          Gibt es denn eine Möglichkeit dem Adapter zu sagen, dass er keine neuen Geräte erfassen soll? Finde da nicht wirklich was.

          Schon gefunden...... erledigt. Jetzt nur noch alle anderen Bluetooth Geräte löschen.

          liv-in-skyL Offline
          liv-in-skyL Offline
          liv-in-sky
          wrote on last edited by
          #4

          @pjo123456

          damit geht es - über vis kann man mehrere selektieren

          https://forum.iobroker.net/topic/47509/html-liste-mehrere-dp-löschen

          @pjo123456 sagte in mehrere Datenpunkte auf einmal löschen:

          Gibt es denn eine Möglichkeit dem Adapter zu sagen, dass er keine neuen Geräte erfassen soll? Finde da nicht wirklich was.

          Schon gefunden...... erledigt. Jetzt nur noch alle anderen Bluetooth Geräte löschen.

          habe kein bluetooth adapter - daher weiß ich nicht, ob es ein solches setting gibt

          nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

          1 Reply Last reply
          0
          • P pjo123456

            Gibt es denn eine Möglichkeit dem Adapter zu sagen, dass er keine neuen Geräte erfassen soll? Finde da nicht wirklich was.

            Schon gefunden...... erledigt. Jetzt nur noch alle anderen Bluetooth Geräte löschen.

            M Offline
            M Offline
            MistaX
            wrote on last edited by
            #5

            ich hatte vor ein paar Jahren auch mal danach gefragt, alle BT-devices mit 1 klick zu löschen, da ich mein BT 2 Monate auf "discover" stehen hatte und neben einem Laden wohne ... hatte glaube ich dann 8000 BT-devices gefunden und es war unmöglich nur die Liste aufzuklappen (Raspberry Pi 2)

            1 Reply Last reply
            0
            • 9 Offline
              9 Offline
              9_Mad-Max_5
              wrote on last edited by
              #6

              Moin moin,

              Ich bin mal so frei und hole den alten Post wieder hoch.
              Bei mir war es der rtl der Probleme mit zu vielen Geräten gemacht hat.
              Deswegen hier das ich nenne es mal größtenteils blockly skript.

              Seit gewarnt es ist sehr aggresiv und rigerose beim löschen!

              <xml xmlns="https://developers.google.com/blockly/xml">
               <variables>
                 <variable id="m9m+FV{[rwtmWv9MGIj=">search_strings</variable>
                 <variable id=",RgG6cQ-8eM,fu_t!^c,">obj</variable>
                 <variable id="*%_oV{B=`:c%ZtqJ2/Ul">search_string</variable>
                 <variable id="E26.wk^h+P8_zOn34[$I">k</variable>
                 <variable id="PB)TSEW@_wwKZvX3ueh-">fault_devices</variable>
                 <variable id="3F|Q!{x9je`-B-(|2ypq">delteted_items</variable>
                 <variable id="w[4ZFSGvk.P/w;W*3Ir.">j</variable>
                 <variable id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</variable>
                 <variable id="0-VxAe|Rzy[7w*[xgTx{">fault_devices_details</variable>
                 <variable id="3j]zR1GJbpRGVfz=!2/G">i</variable>
                 <variable id="=:*^Ns`/)yt1|}dV=Ls@">fault_device_obj_old</variable>
               </variables>
               <block type="variables_set" id="i(l_=@!l{FWYLIExS,G1" x="13" y="13">
                 <field name="VAR" id="m9m+FV{[rwtmWv9MGIj=">search_strings</field>
                 <value name="VALUE">
                   <block type="lists_create_with" id="19o?9OmQ:kSTegoa!/%k">
                     <mutation items="13"></mutation>
                     <value name="ADD0">
                       <block type="selector" id="XMd8$xZ+|MjoKIa$I_kU">
                         <field name="TEXT">rtl_433\.0\.Abarth-124Spider*</field>
                       </block>
                     </value>
                     <value name="ADD1">
                       <block type="selector" id="VjuII[crYW.^:(oC=fr=">
                         <field name="TEXT">rtl_433\.0\.Citroen*</field>
                       </block>
                     </value>
                     <value name="ADD2">
                       <block type="selector" id="ZfSo#^GRo0_N}yjx.djs">
                         <field name="TEXT">rtl_433\.0\.Ford*</field>
                       </block>
                     </value>
                     <value name="ADD3">
                       <block type="selector" id="wy`*H+sWHAxZ/H]Lm~5w">
                         <field name="TEXT">rtl_433\.0\.Hyundai-VDO*</field>
                       </block>
                     </value>
                     <value name="ADD4">
                       <block type="selector" id="U`[*+~a=eyq(SHbIDo3,">
                         <field name="TEXT">rtl_433\.0\.Renault*</field>
                       </block>
                     </value>
                     <value name="ADD5">
                       <block type="selector" id="s|e+x%[DI@iAMeRi9Pv^">
                         <field name="TEXT">rtl_433\.0\.Schrader*</field>
                       </block>
                     </value>
                     <value name="ADD6">
                       <block type="selector" id="q)Nw`APhZUT_*NEj|cO1">
                         <field name="TEXT">rtl_433\.0\.Toyota*</field>
                       </block>
                     </value>
                     <value name="ADD7">
                       <block type="selector" id="7CadzrGTR-,sY6UnXc3{">
                         <field name="TEXT">rtl_433\.0\.Truck*</field>
                       </block>
                     </value>
                     <value name="ADD8">
                       <block type="selector" id="Ygl{rIXXCA!-B=lZ(zF`">
                         <field name="TEXT">rtl_433\.0\.Springfield-Soil*</field>
                       </block>
                     </value>
                     <value name="ADD9">
                       <block type="selector" id="N+8${iKNb]G{ET)Cs`B,">
                         <field name="TEXT">rtl_433\.0\.Secplus*</field>
                       </block>
                     </value>
                     <value name="ADD10">
                       <block type="selector" id="r8%@T^9rI:x^yH1Np0S#">
                         <field name="TEXT">rtl_433\.0\.Acurite*</field>
                       </block>
                     </value>
                     <value name="ADD11">
                       <block type="selector" id=")kN]WZ7tZZDbcA{7VT8N">
                         <field name="TEXT">rtl_433\.0\.GT-*</field>
                       </block>
                     </value>
                     <value name="ADD12">
                       <block type="selector" id="7aNWIto5~dh=~%Vhx+F[">
                         <field name="TEXT">rtl_433\.0\.Oregon*</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <next>
                   <block type="controls_forEach" id="mEoO/M/)h)NL`*)~YE%5">
                     <field name="VAR" id="E26.wk^h+P8_zOn34[$I">k</field>
                     <value name="LIST">
                       <block type="variables_get" id="`q`4_eV9Xjv=`-1m:Gkr">
                         <field name="VAR" id="m9m+FV{[rwtmWv9MGIj=">search_strings</field>
                       </block>
                     </value>
                     <statement name="DO">
                       <block type="procedures_callnoreturn" id="WJ_*#N1?=mT0}|*J9[]D">
                         <mutation name="loesche_junk">
                           <arg name="search_string"></arg>
                         </mutation>
                         <value name="ARG0">
                           <block type="variables_get" id="ZLSf19-D3eH[uRsu`ePl">
                             <field name="VAR" id="E26.wk^h+P8_zOn34[$I">k</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                   </block>
                 </next>
               </block>
               <block type="procedures_defcustomnoreturn" id="G,_)h1#A(Fo$@0[sr#^v" x="13" y="463">
                 <mutation statements="false">
                   <arg name="obj" varid=",RgG6cQ-8eM,fu_t!^c,"></arg>
                 </mutation>
                 <field name="NAME">delete_obj</field>
                 <field name="SCRIPT">ZGVsZXRlT2JqZWN0KG9iaiwgdHJ1ZSk7DQo=</field>
                 <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
               </block>
               <block type="procedures_defnoreturn" id="kP1i$2jT?x:Jqh?=TI;N" x="13" y="513">
                 <mutation>
                   <arg name="search_string" varid="*%_oV{B=`:c%ZtqJ2/Ul"></arg>
                 </mutation>
                 <field name="NAME">loesche_junk</field>
                 <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 <statement name="STACK">
                   <block type="variables_set" id="j[_Bp[pA3[J+C*-Ng(jJ">
                     <field name="VAR" id="PB)TSEW@_wwKZvX3ueh-">fault_devices</field>
                     <value name="VALUE">
                       <block type="variables_get" id="Xl6-+@csYc(fr|8m6i84">
                         <field name="VAR" id="*%_oV{B=`:c%ZtqJ2/Ul">search_string</field>
                       </block>
                     </value>
                     <next>
                       <block type="variables_set" id="k}2x1-7i#WmOVqpuKZf]">
                         <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                         <value name="VALUE">
                           <block type="math_number" id="9A8?|-I9_{qC_ZyY}995">
                             <field name="NUM">0</field>
                           </block>
                         </value>
                         <next>
                           <block type="controls_forEach" id="R1;qUc`@nl=8.e5G~U2I">
                             <field name="VAR" id="w[4ZFSGvk.P/w;W*3Ir.">j</field>
                             <value name="LIST">
                               <block type="variables_get" id="jZ)@j!uuof4xFTmMWRhU">
                                 <field name="VAR" id="PB)TSEW@_wwKZvX3ueh-">fault_devices</field>
                               </block>
                             </value>
                             <statement name="DO">
                               <block type="variables_set" id="EO.]k+V$jJT/x9DaPw5h">
                                 <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                 <value name="VALUE">
                                   <block type="text" id="EM_7jfOIRqkPRD:IfjJ-">
                                     <field name="TEXT"></field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id=";Tuj;+1#w{Nq/$s]7bX]">
                                     <field name="VAR" id="0-VxAe|Rzy[7w*[xgTx{">fault_devices_details</field>
                                     <value name="VALUE">
                                       <block type="lists_split" id="A2DN,Vv~t,Cc*C=wctPL">
                                         <mutation mode="SPLIT"></mutation>
                                         <field name="MODE">SPLIT</field>
                                         <value name="INPUT">
                                           <block type="variables_get" id="aW=lERSIS$YFn!huEKVK">
                                             <field name="VAR" id="w[4ZFSGvk.P/w;W*3Ir.">j</field>
                                           </block>
                                         </value>
                                         <value name="DELIM">
                                           <shadow type="text" id="MqycKp#1pPMt9hCjr:ff">
                                             <field name="TEXT">.</field>
                                           </shadow>
                                         </value>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="controls_for" id="`0RHi{iM9zDGv5~LIFj6">
                                         <field name="VAR" id="3j]zR1GJbpRGVfz=!2/G">i</field>
                                         <value name="FROM">
                                           <shadow type="math_number" id="eed6X?AdW}os!Oj21B8,">
                                             <field name="NUM">1</field>
                                           </shadow>
                                         </value>
                                         <value name="TO">
                                           <shadow type="math_number" id="]K{kUt,kIQPXhh+rT[#.">
                                             <field name="NUM">3</field>
                                           </shadow>
                                         </value>
                                         <value name="BY">
                                           <shadow type="math_number" id="t+Q2SuwPOB.HtNqUWVT@">
                                             <field name="NUM">1</field>
                                           </shadow>
                                         </value>
                                         <statement name="DO">
                                           <block type="text_append" id="{}MQO4N1#Xuolpb1:]02">
                                             <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                             <value name="TEXT">
                                               <shadow type="text" id="_~z*txsCfrOgd;kL`%So">
                                                 <field name="TEXT"></field>
                                               </shadow>
                                               <block type="lists_getIndex" id="]=JqSxk+v,NQHZ`XlQqd">
                                                 <mutation statement="false" at="true"></mutation>
                                                 <field name="MODE">GET</field>
                                                 <field name="WHERE">FROM_START</field>
                                                 <value name="VALUE">
                                                   <block type="variables_get" id="C__(`k%`e8O$yc8)Wzp;">
                                                     <field name="VAR" id="0-VxAe|Rzy[7w*[xgTx{">fault_devices_details</field>
                                                   </block>
                                                 </value>
                                                 <value name="AT">
                                                   <block type="variables_get" id="//U.Wo(stvpFK|ho;vu|">
                                                     <field name="VAR" id="3j]zR1GJbpRGVfz=!2/G">i</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="controls_if" id="]tN2f=d7O[NXaUM4Ox#5">
                                                 <value name="IF0">
                                                   <block type="logic_compare" id="p1lDERJkz2Kfjwb+q6SU">
                                                     <field name="OP">LT</field>
                                                     <value name="A">
                                                       <block type="variables_get" id="){Q!inj(p-3WpFJvdhWX">
                                                         <field name="VAR" id="3j]zR1GJbpRGVfz=!2/G">i</field>
                                                       </block>
                                                     </value>
                                                     <value name="B">
                                                       <block type="math_number" id="IMS`kT#!H3H@cZj*a$_4">
                                                         <field name="NUM">3</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <statement name="DO0">
                                                   <block type="text_append" id="b*5IzVE0aV]J]5Ucp2s@">
                                                     <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                     <value name="TEXT">
                                                       <shadow type="text" id="a:W%Y+l!yqyyO}N}#q$6">
                                                         <field name="TEXT">.</field>
                                                       </shadow>
                                                     </value>
                                                   </block>
                                                 </statement>
                                               </block>
                                             </next>
                                           </block>
                                         </statement>
                                         <next>
                                           <block type="controls_if" id="gWNiYqCvxHIiAQ-H#:DQ">
                                             <value name="IF0">
                                               <block type="logic_compare" id="`3k:XH8k)7Tx@xcKKC(K">
                                                 <field name="OP">NEQ</field>
                                                 <value name="A">
                                                   <block type="variables_get" id="EF85|@5!slxl?G.?G.2M">
                                                     <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="variables_get" id="YM4-lMU-i6v9+:EDP4(e">
                                                     <field name="VAR" id="=:*^Ns`/)yt1|}dV=Ls@">fault_device_obj_old</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="debug" id="*iNyanqYp2C-x]9j^%qt">
                                                 <field name="Severity">log</field>
                                                 <value name="TEXT">
                                                   <shadow type="text" id="Nd^ZeJ)0XsJ)dRJ#TGst">
                                                     <field name="TEXT">test</field>
                                                   </shadow>
                                                   <block type="text_join" id="R9c-r$H#h(;08~}.8A9g">
                                                     <mutation items="2"></mutation>
                                                     <value name="ADD0">
                                                       <block type="text" id=",g%2mvjI8`Vzs%ZeUr|r">
                                                         <field name="TEXT">Lösche folgenden tree: </field>
                                                       </block>
                                                     </value>
                                                     <value name="ADD1">
                                                       <block type="variables_get" id="GP)q.cpYte:~/WLTL1`*">
                                                         <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="procedures_callcustomnoreturn" id="jHC^|%3%_RS[h+d6wycy">
                                                     <mutation name="delete_obj">
                                                       <arg name="obj"></arg>
                                                     </mutation>
                                                     <value name="ARG0">
                                                       <block type="variables_get" id="RMF1KjajYr,Yb}Iw;b/I">
                                                         <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id="n2kDeLs$Z@3+0O.W8h?8">
                                                         <field name="VAR" id="=:*^Ns`/)yt1|}dV=Ls@">fault_device_obj_old</field>
                                                         <value name="VALUE">
                                                           <block type="variables_get" id="Br@f_Uj[kg|udkwHG*}(">
                                                             <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="math_change" id="[aqCJlkT=({;WH2D/PP?">
                                                             <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                                                             <value name="DELTA">
                                                               <shadow type="math_number" id="?Ze1]1ww]DRK9i#P:Z9O">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                             <next>
                               <block type="controls_if" id=",g/5L=$iVK{7W#NiSZ*S">
                                 <value name="IF0">
                                   <block type="logic_compare" id="%RIoKWp~x=XFVt8{KWRd">
                                     <field name="OP">NEQ</field>
                                     <value name="A">
                                       <block type="variables_get" id="CQ*I~wC_M4l6qeLi)j]?">
                                         <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <block type="math_number" id="~5u{}aGk:Wcv%Qg__@:L">
                                         <field name="NUM">0</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <statement name="DO0">
                                   <block type="debug" id="u=$V5a;ou+~A:Mgmt-Fm">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="U[IVxprOJm7.hC-jYe3C">
                                         <field name="TEXT">test</field>
                                       </shadow>
                                       <block type="text_join" id="P]lbE_f3=Pjf1Cvn.u,~">
                                         <mutation items="2"></mutation>
                                         <value name="ADD0">
                                           <block type="variables_get" id="ID9+shFqMr)kBld[o^?R">
                                             <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                                           </block>
                                         </value>
                                         <value name="ADD1">
                                           <block type="text" id="Nd/He=XsU0uN.G5TXldP">
                                             <field name="TEXT"> Objekte wurden gelöscht</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                   </block>
                                 </statement>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </statement>
               </block>
              </xml>
              

              B 1 Reply Last reply
              0
              • 9 9_Mad-Max_5

                Moin moin,

                Ich bin mal so frei und hole den alten Post wieder hoch.
                Bei mir war es der rtl der Probleme mit zu vielen Geräten gemacht hat.
                Deswegen hier das ich nenne es mal größtenteils blockly skript.

                Seit gewarnt es ist sehr aggresiv und rigerose beim löschen!

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="m9m+FV{[rwtmWv9MGIj=">search_strings</variable>
                   <variable id=",RgG6cQ-8eM,fu_t!^c,">obj</variable>
                   <variable id="*%_oV{B=`:c%ZtqJ2/Ul">search_string</variable>
                   <variable id="E26.wk^h+P8_zOn34[$I">k</variable>
                   <variable id="PB)TSEW@_wwKZvX3ueh-">fault_devices</variable>
                   <variable id="3F|Q!{x9je`-B-(|2ypq">delteted_items</variable>
                   <variable id="w[4ZFSGvk.P/w;W*3Ir.">j</variable>
                   <variable id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</variable>
                   <variable id="0-VxAe|Rzy[7w*[xgTx{">fault_devices_details</variable>
                   <variable id="3j]zR1GJbpRGVfz=!2/G">i</variable>
                   <variable id="=:*^Ns`/)yt1|}dV=Ls@">fault_device_obj_old</variable>
                 </variables>
                 <block type="variables_set" id="i(l_=@!l{FWYLIExS,G1" x="13" y="13">
                   <field name="VAR" id="m9m+FV{[rwtmWv9MGIj=">search_strings</field>
                   <value name="VALUE">
                     <block type="lists_create_with" id="19o?9OmQ:kSTegoa!/%k">
                       <mutation items="13"></mutation>
                       <value name="ADD0">
                         <block type="selector" id="XMd8$xZ+|MjoKIa$I_kU">
                           <field name="TEXT">rtl_433\.0\.Abarth-124Spider*</field>
                         </block>
                       </value>
                       <value name="ADD1">
                         <block type="selector" id="VjuII[crYW.^:(oC=fr=">
                           <field name="TEXT">rtl_433\.0\.Citroen*</field>
                         </block>
                       </value>
                       <value name="ADD2">
                         <block type="selector" id="ZfSo#^GRo0_N}yjx.djs">
                           <field name="TEXT">rtl_433\.0\.Ford*</field>
                         </block>
                       </value>
                       <value name="ADD3">
                         <block type="selector" id="wy`*H+sWHAxZ/H]Lm~5w">
                           <field name="TEXT">rtl_433\.0\.Hyundai-VDO*</field>
                         </block>
                       </value>
                       <value name="ADD4">
                         <block type="selector" id="U`[*+~a=eyq(SHbIDo3,">
                           <field name="TEXT">rtl_433\.0\.Renault*</field>
                         </block>
                       </value>
                       <value name="ADD5">
                         <block type="selector" id="s|e+x%[DI@iAMeRi9Pv^">
                           <field name="TEXT">rtl_433\.0\.Schrader*</field>
                         </block>
                       </value>
                       <value name="ADD6">
                         <block type="selector" id="q)Nw`APhZUT_*NEj|cO1">
                           <field name="TEXT">rtl_433\.0\.Toyota*</field>
                         </block>
                       </value>
                       <value name="ADD7">
                         <block type="selector" id="7CadzrGTR-,sY6UnXc3{">
                           <field name="TEXT">rtl_433\.0\.Truck*</field>
                         </block>
                       </value>
                       <value name="ADD8">
                         <block type="selector" id="Ygl{rIXXCA!-B=lZ(zF`">
                           <field name="TEXT">rtl_433\.0\.Springfield-Soil*</field>
                         </block>
                       </value>
                       <value name="ADD9">
                         <block type="selector" id="N+8${iKNb]G{ET)Cs`B,">
                           <field name="TEXT">rtl_433\.0\.Secplus*</field>
                         </block>
                       </value>
                       <value name="ADD10">
                         <block type="selector" id="r8%@T^9rI:x^yH1Np0S#">
                           <field name="TEXT">rtl_433\.0\.Acurite*</field>
                         </block>
                       </value>
                       <value name="ADD11">
                         <block type="selector" id=")kN]WZ7tZZDbcA{7VT8N">
                           <field name="TEXT">rtl_433\.0\.GT-*</field>
                         </block>
                       </value>
                       <value name="ADD12">
                         <block type="selector" id="7aNWIto5~dh=~%Vhx+F[">
                           <field name="TEXT">rtl_433\.0\.Oregon*</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <next>
                     <block type="controls_forEach" id="mEoO/M/)h)NL`*)~YE%5">
                       <field name="VAR" id="E26.wk^h+P8_zOn34[$I">k</field>
                       <value name="LIST">
                         <block type="variables_get" id="`q`4_eV9Xjv=`-1m:Gkr">
                           <field name="VAR" id="m9m+FV{[rwtmWv9MGIj=">search_strings</field>
                         </block>
                       </value>
                       <statement name="DO">
                         <block type="procedures_callnoreturn" id="WJ_*#N1?=mT0}|*J9[]D">
                           <mutation name="loesche_junk">
                             <arg name="search_string"></arg>
                           </mutation>
                           <value name="ARG0">
                             <block type="variables_get" id="ZLSf19-D3eH[uRsu`ePl">
                               <field name="VAR" id="E26.wk^h+P8_zOn34[$I">k</field>
                             </block>
                           </value>
                         </block>
                       </statement>
                     </block>
                   </next>
                 </block>
                 <block type="procedures_defcustomnoreturn" id="G,_)h1#A(Fo$@0[sr#^v" x="13" y="463">
                   <mutation statements="false">
                     <arg name="obj" varid=",RgG6cQ-8eM,fu_t!^c,"></arg>
                   </mutation>
                   <field name="NAME">delete_obj</field>
                   <field name="SCRIPT">ZGVsZXRlT2JqZWN0KG9iaiwgdHJ1ZSk7DQo=</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                 <block type="procedures_defnoreturn" id="kP1i$2jT?x:Jqh?=TI;N" x="13" y="513">
                   <mutation>
                     <arg name="search_string" varid="*%_oV{B=`:c%ZtqJ2/Ul"></arg>
                   </mutation>
                   <field name="NAME">loesche_junk</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                   <statement name="STACK">
                     <block type="variables_set" id="j[_Bp[pA3[J+C*-Ng(jJ">
                       <field name="VAR" id="PB)TSEW@_wwKZvX3ueh-">fault_devices</field>
                       <value name="VALUE">
                         <block type="variables_get" id="Xl6-+@csYc(fr|8m6i84">
                           <field name="VAR" id="*%_oV{B=`:c%ZtqJ2/Ul">search_string</field>
                         </block>
                       </value>
                       <next>
                         <block type="variables_set" id="k}2x1-7i#WmOVqpuKZf]">
                           <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                           <value name="VALUE">
                             <block type="math_number" id="9A8?|-I9_{qC_ZyY}995">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                           <next>
                             <block type="controls_forEach" id="R1;qUc`@nl=8.e5G~U2I">
                               <field name="VAR" id="w[4ZFSGvk.P/w;W*3Ir.">j</field>
                               <value name="LIST">
                                 <block type="variables_get" id="jZ)@j!uuof4xFTmMWRhU">
                                   <field name="VAR" id="PB)TSEW@_wwKZvX3ueh-">fault_devices</field>
                                 </block>
                               </value>
                               <statement name="DO">
                                 <block type="variables_set" id="EO.]k+V$jJT/x9DaPw5h">
                                   <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                   <value name="VALUE">
                                     <block type="text" id="EM_7jfOIRqkPRD:IfjJ-">
                                       <field name="TEXT"></field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id=";Tuj;+1#w{Nq/$s]7bX]">
                                       <field name="VAR" id="0-VxAe|Rzy[7w*[xgTx{">fault_devices_details</field>
                                       <value name="VALUE">
                                         <block type="lists_split" id="A2DN,Vv~t,Cc*C=wctPL">
                                           <mutation mode="SPLIT"></mutation>
                                           <field name="MODE">SPLIT</field>
                                           <value name="INPUT">
                                             <block type="variables_get" id="aW=lERSIS$YFn!huEKVK">
                                               <field name="VAR" id="w[4ZFSGvk.P/w;W*3Ir.">j</field>
                                             </block>
                                           </value>
                                           <value name="DELIM">
                                             <shadow type="text" id="MqycKp#1pPMt9hCjr:ff">
                                               <field name="TEXT">.</field>
                                             </shadow>
                                           </value>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="controls_for" id="`0RHi{iM9zDGv5~LIFj6">
                                           <field name="VAR" id="3j]zR1GJbpRGVfz=!2/G">i</field>
                                           <value name="FROM">
                                             <shadow type="math_number" id="eed6X?AdW}os!Oj21B8,">
                                               <field name="NUM">1</field>
                                             </shadow>
                                           </value>
                                           <value name="TO">
                                             <shadow type="math_number" id="]K{kUt,kIQPXhh+rT[#.">
                                               <field name="NUM">3</field>
                                             </shadow>
                                           </value>
                                           <value name="BY">
                                             <shadow type="math_number" id="t+Q2SuwPOB.HtNqUWVT@">
                                               <field name="NUM">1</field>
                                             </shadow>
                                           </value>
                                           <statement name="DO">
                                             <block type="text_append" id="{}MQO4N1#Xuolpb1:]02">
                                               <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                               <value name="TEXT">
                                                 <shadow type="text" id="_~z*txsCfrOgd;kL`%So">
                                                   <field name="TEXT"></field>
                                                 </shadow>
                                                 <block type="lists_getIndex" id="]=JqSxk+v,NQHZ`XlQqd">
                                                   <mutation statement="false" at="true"></mutation>
                                                   <field name="MODE">GET</field>
                                                   <field name="WHERE">FROM_START</field>
                                                   <value name="VALUE">
                                                     <block type="variables_get" id="C__(`k%`e8O$yc8)Wzp;">
                                                       <field name="VAR" id="0-VxAe|Rzy[7w*[xgTx{">fault_devices_details</field>
                                                     </block>
                                                   </value>
                                                   <value name="AT">
                                                     <block type="variables_get" id="//U.Wo(stvpFK|ho;vu|">
                                                       <field name="VAR" id="3j]zR1GJbpRGVfz=!2/G">i</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="controls_if" id="]tN2f=d7O[NXaUM4Ox#5">
                                                   <value name="IF0">
                                                     <block type="logic_compare" id="p1lDERJkz2Kfjwb+q6SU">
                                                       <field name="OP">LT</field>
                                                       <value name="A">
                                                         <block type="variables_get" id="){Q!inj(p-3WpFJvdhWX">
                                                           <field name="VAR" id="3j]zR1GJbpRGVfz=!2/G">i</field>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="math_number" id="IMS`kT#!H3H@cZj*a$_4">
                                                           <field name="NUM">3</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="text_append" id="b*5IzVE0aV]J]5Ucp2s@">
                                                       <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="a:W%Y+l!yqyyO}N}#q$6">
                                                           <field name="TEXT">.</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="controls_if" id="gWNiYqCvxHIiAQ-H#:DQ">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="`3k:XH8k)7Tx@xcKKC(K">
                                                   <field name="OP">NEQ</field>
                                                   <value name="A">
                                                     <block type="variables_get" id="EF85|@5!slxl?G.?G.2M">
                                                       <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="variables_get" id="YM4-lMU-i6v9+:EDP4(e">
                                                       <field name="VAR" id="=:*^Ns`/)yt1|}dV=Ls@">fault_device_obj_old</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="debug" id="*iNyanqYp2C-x]9j^%qt">
                                                   <field name="Severity">log</field>
                                                   <value name="TEXT">
                                                     <shadow type="text" id="Nd^ZeJ)0XsJ)dRJ#TGst">
                                                       <field name="TEXT">test</field>
                                                     </shadow>
                                                     <block type="text_join" id="R9c-r$H#h(;08~}.8A9g">
                                                       <mutation items="2"></mutation>
                                                       <value name="ADD0">
                                                         <block type="text" id=",g%2mvjI8`Vzs%ZeUr|r">
                                                           <field name="TEXT">Lösche folgenden tree: </field>
                                                         </block>
                                                       </value>
                                                       <value name="ADD1">
                                                         <block type="variables_get" id="GP)q.cpYte:~/WLTL1`*">
                                                           <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="procedures_callcustomnoreturn" id="jHC^|%3%_RS[h+d6wycy">
                                                       <mutation name="delete_obj">
                                                         <arg name="obj"></arg>
                                                       </mutation>
                                                       <value name="ARG0">
                                                         <block type="variables_get" id="RMF1KjajYr,Yb}Iw;b/I">
                                                           <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="n2kDeLs$Z@3+0O.W8h?8">
                                                           <field name="VAR" id="=:*^Ns`/)yt1|}dV=Ls@">fault_device_obj_old</field>
                                                           <value name="VALUE">
                                                             <block type="variables_get" id="Br@f_Uj[kg|udkwHG*}(">
                                                               <field name="VAR" id="F:F]+eYpI#SvcZOVMLhF">fault_device_obj</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="math_change" id="[aqCJlkT=({;WH2D/PP?">
                                                               <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                                                               <value name="DELTA">
                                                                 <shadow type="math_number" id="?Ze1]1ww]DRK9i#P:Z9O">
                                                                   <field name="NUM">1</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <next>
                                 <block type="controls_if" id=",g/5L=$iVK{7W#NiSZ*S">
                                   <value name="IF0">
                                     <block type="logic_compare" id="%RIoKWp~x=XFVt8{KWRd">
                                       <field name="OP">NEQ</field>
                                       <value name="A">
                                         <block type="variables_get" id="CQ*I~wC_M4l6qeLi)j]?">
                                           <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="~5u{}aGk:Wcv%Qg__@:L">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="debug" id="u=$V5a;ou+~A:Mgmt-Fm">
                                       <field name="Severity">log</field>
                                       <value name="TEXT">
                                         <shadow type="text" id="U[IVxprOJm7.hC-jYe3C">
                                           <field name="TEXT">test</field>
                                         </shadow>
                                         <block type="text_join" id="P]lbE_f3=Pjf1Cvn.u,~">
                                           <mutation items="2"></mutation>
                                           <value name="ADD0">
                                             <block type="variables_get" id="ID9+shFqMr)kBld[o^?R">
                                               <field name="VAR" id="3F|Q!{x9je`-B-(|2ypq">delteted_items</field>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="text" id="Nd/He=XsU0uN.G5TXldP">
                                               <field name="TEXT"> Objekte wurden gelöscht</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                B Offline
                B Offline
                bonsai308
                wrote on last edited by
                #7

                @9_mad-max_5
                Hi, danke für Dein Script.
                Hätte eine Frage dazu:

                Bei mir wird immer der ganze "Baum" gelöscht. Wie muss ich den Pfad eintragen, das gezielt gelöscht wird?

                Siehe Bilder:

                Der gelbe Eintrag soll zum Beispiel weg. Inkl. seiner Unterpunkte.
                baum.jpg

                Im Script hab ich schon verschiedenes ausprobiert. Wenn ich den oberen nehme, dann löscht er alles was unter "entities" steht. Bei Zweiten passiert gar nichts.

                id.jpg

                Wenn ich wie oben erwähnt dies:

                hass.0.entities.sensor.springfield*

                als Selektor nehme dann haut er den ganzen Eintrag "entities" platt:
                baum2.jpg

                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
                FAQ Cloud / IOT
                HowTo: Node.js-Update
                HowTo: Backup/Restore
                Downloads
                BLOG

                624

                Online

                32.6k

                Users

                82.3k

                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