Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. [Vorlage] JS: Log-Datei aufbereiten für VIS

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Vorlage] JS: Log-Datei aufbereiten für VIS

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Conquest @Glasfaser last edited by

      @Glasfaser sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

      @ple

      Meinst du so , als Liste !?
      Das ist nur ein Auszug von einer meiner Zusands Listen ...
      Überwache damit Datenpunkte , entweder kann man ein Text als Zustand angeben oder ein Symbol .

      Ist ganz Easy zu machen !

      1.JPG

      Hi @Glasfaser
      würdest du das Script hier zur Verfügung stellen. Glaube das könnte ich gut gebrauchen😊
      Danke schon mal.
      Gruß

      1 Reply Last reply Reply Quote 0
      • C
        Coffeelover @Mic last edited by

        @Mic sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

        Tipp:
        Um im VIS anzuzeigen, ob das Script erfolgreich läuft, könnt ihr folgendes Widget benutzen:
        https://forum.iobroker.net/post/384051

        Das HTML-Widget prüft, ob innerhalb der letzten 30 Sekunden das Script erfolgreich gelaufen ist. Ausgabe-Beispiel:
        1_active.png

        Falls nicht erfolgreich gelaufen innerhalb der letzten 30 Sekunden:
        2_inactive.png

        Im Unterschied zum Datenpunkt javascript.0.scriptEnabled.Log-Script, der nur den Status anzeigt, ob das Script aktiviert ist, wird mit obigem Widget auch geprüft, ob das Script erfolgreich lief.
        Text "inactive" ist nicht ganz korrekt merke ich gerade, besser wäre wohl "Script Error" oder ähnliches.
        Anzupassen im HTML des Widgets, unter:
        anp.png

        Hi,

        habe mir auch gerade das Script installiert (aktuelle Version von Github) und alles ans Laufen bekommen. Einziges Problem: Dieser Status steht auf inactive, obwohl das Script schön fleißig Daten aktualisiert. Muss ich hier noch etwas einstellen?

        VG

        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @Coffeelover last edited by Glasfaser

          @Coffeelover

          Wenn du alle Einstellungen im VIEW von Mic und im Script so gelassen hast ,dann wird der Status auch angezeigt ,.

          Das Widget ( mini Script ) prüft den Datenpunkt " 0_userdata.0.Log-Script.All.lastTimeUpdated "

          2222.JPG
          .

          2.JPG

          C 1 Reply Last reply Reply Quote 0
          • sigi234
            sigi234 Forum Testing Most Active @Glasfaser last edited by

            @Glasfaser sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

            Ist ganz Easy zu machen !

            Und wie?

            Glasfaser 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @sigi234 last edited by Glasfaser

              @sigi234

              Mit einem Blockly Script

              sigi234 1 Reply Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Glasfaser last edited by sigi234

                @Glasfaser

                Aha, jetzt verstehe ich es.
                Wollte das Log vom Backitup Adapter anzeigen lassen, hat nicht funtioniert. 😀

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @sigi234 last edited by Glasfaser

                  @sigi234

                  EDIT : Meinst du So für Backitup

                  View noch nicht fertig

                  Negalein sigi234 2 Replies Last reply Reply Quote 2
                  • Negalein
                    Negalein Global Moderator @Glasfaser last edited by Negalein

                    @Glasfaser sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

                    Habe ich für meine VIEW Synology erstellt.

                    Jetzt kommt die Frage der Fragen 😀

                    Kann ich den Export haben?

                    Mit einem Blockly Script :

                    Und das vielleicht auch?

                    1 Reply Last reply Reply Quote 0
                    • sigi234
                      sigi234 Forum Testing Most Active @Glasfaser last edited by

                      @Glasfaser sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

                      Meinst du So für Backitup

                      Ja, sowas habe ich auch, wollte wenn ich im Mic Log auf den Button im Menü klicke das es mir auch den Log vom Backitup Adapter anzeigt.

                      Screenshot (1947).png

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @sigi234 last edited by Glasfaser

                        @sigi234

                        Lege das Widget mit Sichtbar geschaltet darüber

                        [{"tpl":"tplVis-materialdesign-Table","data":{"oid":"backitup.0.history.json","g_fixed":true,"g_visibility":false,"g_css_font_text":true,"g_css_background":true,"g_css_shadow_padding":false,"g_css_border":true,"g_gestures":false,"g_signals":false,"g_last_change":false,"countCols":"5","tableLayout":"standard","showHeader":true,"headerTextSize":"small","showColumn0":"true","colType0":"text","textAlign0":"left","showColumn1":false,"colType1":"text","textAlign1":"left","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"showColumn2":"true","colType2":"text","textAlign2":"left","showColumn3":"true","colType3":"text","textAlign3":"left","label0":"Datum","label2":"Quelle","label1":"Meldung","padding_left0":"10","label3":"Speicherort","dataJson":"","padding_left2":"","class":"mdui-table mdui-table-ascard-r250-l mdui-table-striped noSwipe","textSize3":"small","textColor2":"#8f8f8f","textSize2":"small","padding_right3":"","rowHeight":"","textSize0":"small","textSize1":"small","padding_left1":"","textColor0":"#8f8f8f","textColor1":"#8f8f8f","textColor3":"#8f8f8f","imageSize1":"","prefix3":"<span style=\"display: inline-block; word-wrap:break-word;\"></span>","suffix3":"","colorHeaderRowText":"#8f8f8f","colorHeaderRowBackground":"#202020","colorRowBackground":"#2e2e2e","colorRowText":"#8f8f8f","dividers":"","colorBackground":"#202020","prefix2":"<span style=\"display: inline-block; word-wrap:break-word;\">","prefix1":"<span style=\"display: inline-block; word-wrap:break-word;\">","suffix2":"</span>","suffix1":"</span>","columnWidth0":"70","columnWidth1":"40","columnWidth3":"80","columnWidth2":"80","fontFamily3":"Jura-DemiBold","fontFamily2":"Jura-DemiBold","fontFamily1":"Jura-DemiBold","fontFamily0":"Jura-DemiBold","showColumn4":"true","colType4":"text","textAlign4":"center","name":"Tab_Warn-Error","visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","showColumn5":"true","colType5":"text","textAlign5":"center","colNoWrap0":true,"colNoWrap2":true,"colNoWrap3":true,"columnWidth4":"-1","label4":"FileSize","label5":"Error"},"style":{"left":"25px","top":"58px","width":"629px","height":"621px","z-index":"400","background":"linear-gradient(0deg, #2c2a3f, #4f344c, #2c2a3f)","background-color":"#2e2e2e","color":"","overflow-y":"auto","border-radius":"10px","font-family":"Jura-DemiBold"},"widgetSet":"materialdesign"}]
                        

                        111.JPG

                        1 Reply Last reply Reply Quote 2
                        • C
                          Coffeelover @Glasfaser last edited by

                          @Glasfaser Habe es genau so übernommen, der DP aktualisiert auch, aber der Status steht dennoch auf inactive.

                          Glasfaser 1 Reply Last reply Reply Quote 0
                          • K
                            Kuddel last edited by

                            Hallo zusammen,

                            löscht ihr die Logs Nachts ?

                            Bei mir werden pro Log-Typ immer 100 Einträge gesammelt.

                            Somit bleibt der Counter jetzt immer auf 100 stehen:

                            5693d0ce-314b-4e0d-93a0-1bd27c3bbbbb-grafik.png

                            Jeder neue Eintrag löscht dann einen alten Eintrag.

                            sigi234 Mic 2 Replies Last reply Reply Quote 0
                            • sigi234
                              sigi234 Forum Testing Most Active @Kuddel last edited by

                              @Kuddel sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

                              Bei mir werden pro Log-Typ immer 100 Einträge gesammelt.

                              Das kannst du im Skript einstellen:

                              jsonLogLength: 100,

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                Kuddel @sigi234 last edited by

                                @sigi234 ja das weiß ich.

                                nur die logs sind ja auch bei z.B. 500 Einträgen irgendwann voll.

                                Ich wollte eigentlich nur wissen, ob ihr die Logs manuell oder autom. löscht

                                sigi234 1 Reply Last reply Reply Quote 0
                                • sigi234
                                  sigi234 Forum Testing Most Active @Kuddel last edited by

                                  @Kuddel sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

                                  Ich wollte eigentlich nur wissen, ob ihr die Logs manuell oder autom. löscht

                                  Manuell

                                  1 Reply Last reply Reply Quote 0
                                  • Mic
                                    Mic Developer @Kuddel last edited by

                                    @Kuddel sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

                                    Jeder neue Eintrag löscht dann einen alten Eintrag.

                                    So ist das vorgesehen 🙂 . Automatisch löschen ist nicht vorgesehen, gerade in VIS will man ja die letzten x Logs sehen (z.B. 100), auch wenn man mal ein paar Tage nicht rein schaut.
                                    Warum denn deine Frage – hast du einen anderen Use Case?

                                    K 1 Reply Last reply Reply Quote 0
                                    • K
                                      Kuddel @Mic last edited by

                                      @Mic ich bin nur drauf gestoßen, weil sich die Anzahl der Logs ja irgendwann nicht mehr ändern, wenn Anzahl X erreicht ist

                                      Mic 1 Reply Last reply Reply Quote 0
                                      • Mic
                                        Mic Developer @Kuddel last edited by

                                        @Kuddel
                                        Verstehe 🙂
                                        Hatte mal überlegt, noch eine tatsächliche Anzahl neuer Logs seit letzter Löschung in Datenpunkt mitzuführen, aber dann verworfen, weil wohl irreführend in der VIS-Anzeige, da dies dann nicht mehr übereinstimmt mit der Anzahl der gespeicherten Logs (z.B. 100). Und die Anzahl gespeicherter Logs sollten auch limitiert werden, würde da nicht höher als 200 gehen, einfach aus Script-Architektur- und damit Performance-Gründen.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Conquest @Glasfaser last edited by

                                          @Glasfaser sagte in [Vorlage] JS: Log-Datei aufbereiten für VIS:

                                          @ple

                                          Meinst du so , als Liste !?
                                          Das ist nur ein Auszug von einer meiner Zusands Listen ...
                                          Überwache damit Datenpunkte , entweder kann man ein Text als Zustand angeben oder ein Symbol .

                                          Ist ganz Easy zu machen !

                                          1.JPG

                                          @Glasfaser
                                          Hi muss dich leider nochmal Fragen ob du mir das Script zur Verfügung stellen kannst?
                                          Wäre echt super.

                                          Gruß

                                          Glasfaser 1 Reply Last reply Reply Quote 0
                                          • Glasfaser
                                            Glasfaser @Conquest last edited by

                                            @Conquest

                                            Ist Selbsterklärend ....

                                            hier das Blockly

                                            <xml xmlns="http://www.w3.org/1999/xhtml">
                                             <variables>
                                               <variable type="" id="UPLznj`x7b.}R19w_.(b">Manuell</variable>
                                             </variables>
                                             <block type="procedures_defcustomnoreturn" id=";|W!N:wyy(fb]{cu=ASr" x="-62" y="238">
                                               <mutation statements="false"></mutation>
                                               <field name="NAME">etwas tun</field>
                                               <field name="SCRIPT">Y3JlYXRlU3RhdGUoImphdmFzY3JpcHQuMC5WSVMuU3lub2xvZ3kuWnVzdGFuZCIsIHtuYW1lOiAiWnVzdGFuZCIsIHVuaXQ6ICIgIn0pOw==</field>
                                               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                             </block>
                                             <block type="on_ext" id="N$QY-g%]RWc@c[H.dGW:" x="-412" y="338">
                                               <mutation items="8"></mutation>
                                               <field name="CONDITION">ne</field>
                                               <field name="ACK_CONDITION"></field>
                                               <value name="OID0">
                                                 <shadow type="field_oid" id="*7%1^z](Lc4Ki](zFlOv">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_Temp</field>
                                                 </shadow>
                                               </value>
                                               <value name="OID1">
                                                 <shadow type="field_oid" id="mIx+O@(:3?PC[f#0]hxu">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_Disk_Temp1</field>
                                                 </shadow>
                                               </value>
                                               <value name="OID2">
                                                 <shadow type="field_oid" id="+@}H38_c$2*?#T#]nGc`">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_Disk_Temp2</field>
                                                 </shadow>
                                               </value>
                                               <value name="OID3">
                                                 <shadow type="field_oid" id="0}ETLRxHzaeQe_`vfzk%">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_Disk_Temp3</field>
                                                 </shadow>
                                               </value>
                                               <value name="OID4">
                                                 <shadow type="field_oid" id="kNJ(rFEko0Dj_RTkghGr">
                                                   <field name="oid">default</field>
                                                 </shadow>
                                                 <block type="field_oid" id="WQU*;?h3-`uZ?Ew7[cs`">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_Update_Status_2OK_1Update</field>
                                                 </block>
                                               </value>
                                               <value name="OID5">
                                                 <shadow type="field_oid" id="24o_B$RKrr6R`ZZ5L#cF">
                                                   <field name="oid">default</field>
                                                 </shadow>
                                                 <block type="field_oid" id="VhTol}eaT;YwjKQC/_8R">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_cpuFanStatus_1OK_2Fail</field>
                                                 </block>
                                               </value>
                                               <value name="OID6">
                                                 <shadow type="field_oid" id="JTgf(GXzU3Mesoat(%I1">
                                                   <field name="oid">default</field>
                                                 </shadow>
                                                 <block type="field_oid" id="GI!Yp][Jt$;Vv@(Y=w|h">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_systemFanStatus_1OK_2Fail</field>
                                                 </block>
                                               </value>
                                               <value name="OID7">
                                                 <shadow type="field_oid" id="0s*c8!;_8r0hi5u$M!fR">
                                                   <field name="oid">default</field>
                                                 </shadow>
                                                 <block type="field_oid" id="@00L+_1R3,R3/L,2Nh0l">
                                                   <field name="oid">snmp.0.192_168_178_11.NAS_systemStatus_1OK_2Fail</field>
                                                 </block>
                                               </value>
                                               <statement name="STATEMENT">
                                                 <block type="procedures_callnoreturn" id="E$utilLK=d^[K4m}4cpV">
                                                   <mutation name="etwas tun2"></mutation>
                                                   <next>
                                                     <block type="control_ex" id="$7jAIT_mnpzNLP]~NJy{" inline="true">
                                                       <field name="TYPE">false</field>
                                                       <field name="CLEAR_RUNNING">FALSE</field>
                                                       <value name="OID">
                                                         <shadow type="field_oid" id="sbu^)eqpdG=koC2q;ZDd">
                                                           <field name="oid">Object ID</field>
                                                         </shadow>
                                                         <block type="field_oid" id="olIQ+i;{)TN};mgk`7mx">
                                                           <field name="oid">javascript.0.VIS.Synology.Zustand</field>
                                                         </block>
                                                       </value>
                                                       <value name="VALUE">
                                                         <shadow type="logic_boolean" id="C3xZGWbRz.8%NyHztTAC">
                                                           <field name="BOOL">TRUE</field>
                                                         </shadow>
                                                         <block type="variables_get" id="36pI5k(pOs7qQ/i0g]tb">
                                                           <field name="VAR" id="UPLznj`x7b.}R19w_.(b" variabletype="">Manuell</field>
                                                         </block>
                                                       </value>
                                                       <value name="DELAY_MS">
                                                         <shadow type="math_number" id="T#OSxS{}/L9EbZB6%*;i">
                                                           <field name="NUM">0</field>
                                                         </shadow>
                                                       </value>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="procedures_callcustomnoreturn" id=")n9~C?kK_@+$5Z/yWDbu">
                                                   <mutation name="etwas tun"></mutation>
                                                   <next>
                                                     <block type="procedures_callnoreturn" id="uZ^yL$TR~NS:ZL|7mCOk">
                                                       <mutation name="etwas tun2"></mutation>
                                                       <next>
                                                         <block type="control_ex" id=".tVKGhz0{pr)!PT|]1U(" inline="true">
                                                           <field name="TYPE">false</field>
                                                           <field name="CLEAR_RUNNING">FALSE</field>
                                                           <value name="OID">
                                                             <shadow type="field_oid" id="sbu^)eqpdG=koC2q;ZDd">
                                                               <field name="oid">Object ID</field>
                                                             </shadow>
                                                             <block type="field_oid" id="q)*%8`R#kqVEgBN,[UA=">
                                                               <field name="oid">javascript.0.VIS.Synology.Zustand</field>
                                                             </block>
                                                           </value>
                                                           <value name="VALUE">
                                                             <shadow type="logic_boolean" id="C3xZGWbRz.8%NyHztTAC">
                                                               <field name="BOOL">TRUE</field>
                                                             </shadow>
                                                             <block type="variables_get" id="6G8SVPfXz=CvmIvVu1f!">
                                                               <field name="VAR" id="UPLznj`x7b.}R19w_.(b" variabletype="">Manuell</field>
                                                             </block>
                                                           </value>
                                                           <value name="DELAY_MS">
                                                             <shadow type="math_number" id="PXYhjg;n~8r[*f)7S.[J">
                                                               <field name="NUM">0</field>
                                                             </shadow>
                                                           </value>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                             <block type="procedures_defnoreturn" id="UO);h7~LIeSw*_?]WCE#" x="338" y="363">
                                               <field name="NAME">etwas tun2</field>
                                               <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                               <statement name="STACK">
                                                 <block type="variables_set" id="wTg}AKN.X/zG@W%%PqQP">
                                                   <field name="VAR" id="UPLznj`x7b.}R19w_.(b" variabletype="">Manuell</field>
                                                   <value name="VALUE">
                                                     <block type="convert_object2json" id="pu+4RS*`r:#QRXX(d|1I">
                                                       <field name="PRETTIFY">FALSE</field>
                                                       <value name="VALUE">
                                                         <block type="lists_create_with" id="ZdEEwT){@[oWz7}6T|:6">
                                                           <mutation items="13"></mutation>
                                                           <value name="ADD0">
                                                             <block type="lists_create_with" id="$UUL3})|H~26WlgPAR}}">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="69`+m2b?ah727]cb4b5m">
                                                                   <field name="TEXT">NAS Temp</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="PD7-N1uwP/PbP:e/UWB3">
                                                                   <mutation items="3"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="get_value" id="5[mRb(apVnsM,pgjszAk">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">snmp.0.192_168_178_11.NAS_Temp</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="|HdD)BZw73pvyyGJba,3">
                                                                       <field name="TEXT"> °C </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="logic_ternary" id="x+lgOIen#k]a|?to?}Dv">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="=H_ZL6U=^(!mzj4VRn_D">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="1*)Nhs!`__P7Z)/@3Y9E">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_Temp</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="i7omL`2fp/TORw(0kVU?">
                                                                               <field name="NUM">42</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="4!+OThlZ3UWL;Vw.6Poa">
                                                                           <field name="TEXT"> __   ??</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD1">
                                                             <block type="lists_create_with" id="xHI}F6H|$+sMOpaP1~I4">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="x]`Mij@Dwme/HjaU~@Y6">
                                                                   <field name="TEXT">Disk 1 Temp</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="GETAg_E(UQN}A[Wsu%ZC">
                                                                   <mutation items="3"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="get_value" id="GdCf];{[95r]`u=oaW{h">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">snmp.0.192_168_178_11.NAS_Disk_Temp1</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="b+US|($Ef#,|WHs0dM4l">
                                                                       <field name="TEXT"> °C </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="logic_ternary" id="09RV-W.RU`DkgHmpmElV">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="eV)]3ce+Fp{?N:#x|@Fr">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id=":zLMdZ$597rEyI{S7^4w">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_Disk_Temp1</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="OC[=nC51LgIdl++Yv!Qv">
                                                                               <field name="NUM">25</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="g]wCs)O(w=APW[n}x2d;">
                                                                           <field name="TEXT"> __   ??</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD2">
                                                             <block type="lists_create_with" id="k1A]7zsgP`??!0l+TF*T">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="Z4007)667TNAIJqU1+,h">
                                                                   <field name="TEXT">Disk 2 Temp</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="0I=gUk01yNg-#9$}/DHD">
                                                                   <mutation items="3"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="get_value" id="qQNth@H6_:XN*Ai_yO;F">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">snmp.0.192_168_178_11.NAS_Disk_Temp2</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="XFmvV.YfA5}:f[-$FX]B">
                                                                       <field name="TEXT"> °C </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="logic_ternary" id="R_,E:Rwv+m#WiqQoVFq;">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="3/C9Wse`Q3Mp;:}7g:FK">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="h}i3S{-}9DWIXGfuW9-P">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_Disk_Temp2</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="iD2Y]J5dIo%z8uM.tzjM">
                                                                               <field name="NUM">25</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="J|:Cl+8;ZKbj@`V^~{Me">
                                                                           <field name="TEXT"> __   ??</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD3">
                                                             <block type="lists_create_with" id="+e1CNx:8A|{z)aji.F?H">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="+I7ysJ^?MB3a2;M(GAm;">
                                                                   <field name="TEXT">Disk 3 Temp</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="}N8),Z@[^bK`~vNiXPRB">
                                                                   <mutation items="3"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="get_value" id="I6J1.nI_b;DSWNAX7kwZ">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">snmp.0.192_168_178_11.NAS_Disk_Temp3</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="text" id="^7:ft2S~Q5peaEAq1{fJ">
                                                                       <field name="TEXT"> °C </field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD2">
                                                                     <block type="logic_ternary" id="4U7Z!hH7-np,S):Z,5.z">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="5^4R/Ujh0*2A%58NCf#E">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="o`op8{|-mc?QhvkG[Zpd">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_Disk_Temp3</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="pjufCc?t=@Z0jQF(0Nh=">
                                                                               <field name="NUM">24</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id=")DqM;pcc`Vr_L^LIqadb">
                                                                           <field name="TEXT"> __   ??</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD4">
                                                             <block type="lists_create_with" id="9M;S;`9rJPIkcN|*mo(i">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="HkqNp(|7}1i(O4AX%!_)">
                                                                   <field name="TEXT">Update</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="7.)Q@Jy+*R*Yee0(R7sU">
                                                                   <mutation items="1"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="logic_ternary" id="c?1-:R~7w,T`90;?FZwT">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="It(ToPC{C8!7v2d),*SF">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="}8Wvgr-S/zkhT!k`nmPZ">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_Update_Status_2OK_1Update</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="odXz%X:n$*r=;nW6w!vY">
                                                                               <field name="NUM">2</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="saDz3Um]hf+a%~%18jmu">
                                                                           <field name="TEXT">??</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ELSE">
                                                                         <block type="text" id="42Cl(XT8M146t$-XoqMh">
                                                                           <field name="TEXT">Update vorhanden ??</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD5">
                                                             <block type="lists_create_with" id="}HvE~))*.-{sQ9{{(nrn">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="lmttt5t2@t6]]$s30!SZ">
                                                                   <field name="TEXT">CPU Fan </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="4,58vW9|KRyAPal%0)~H">
                                                                   <mutation items="1"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="logic_ternary" id="PH1TzR2Nuc9%1)95C5-k">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="zE9cxcL:vn=~t?H`imaa">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="G3)krqeR:203ibxIX9_:">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_cpuFanStatus_1OK_2Fail</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="b~YxOEDGB-]q~E!9|?M7">
                                                                               <field name="NUM">1</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="aGRdpd3?u3ZXJP2TK8f/">
                                                                           <field name="TEXT">??</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ELSE">
                                                                         <block type="text" id="bBQ8qn9u_=Zy78v2dctF">
                                                                           <field name="TEXT"> ?</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD6">
                                                             <block type="lists_create_with" id="T%Ww~AQkW^}jNN3=S{K8">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id=")Ji{`2|9G^,tk!4*M/C4">
                                                                   <field name="TEXT">System Fan </field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="Q+9l=:~%59nUVGJ9}eU?">
                                                                   <mutation items="1"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="logic_ternary" id="m:~]m.y~PZyKFBAKmg43">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="/UD7c9Y1`T#D8+)tlbYZ">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="$goC9Gdpe,(rHE8kMqh1">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_systemFanStatus_1OK_2Fail</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="zaoQA$Hvc93qx$5`OO)0">
                                                                               <field name="NUM">1</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="tJPM``#BA#t(:0u:Mz0r">
                                                                           <field name="TEXT">??</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ELSE">
                                                                         <block type="text" id="C{2Cto#.8zCwDDlR*|mv">
                                                                           <field name="TEXT"> ?</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="ADD7">
                                                             <block type="lists_create_with" id="y8gZah_[L[6fJ@LR+o+,">
                                                               <mutation items="2"></mutation>
                                                               <value name="ADD0">
                                                                 <block type="text" id="nZ^BA-e_/o_|B4Fqx(cs">
                                                                   <field name="TEXT">System Status</field>
                                                                 </block>
                                                               </value>
                                                               <value name="ADD1">
                                                                 <block type="text_join" id="78fvI(M2E/!4sZ^MnSR5">
                                                                   <mutation items="1"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="logic_ternary" id="yFxbkA97{ro/8hD5I*n]">
                                                                       <value name="IF">
                                                                         <block type="logic_compare" id="PvO|.N`[+8{[{[`)P([~">
                                                                           <field name="OP">EQ</field>
                                                                           <value name="A">
                                                                             <block type="get_value" id="#Q[BE1pkFY[nBq%A}5!p">
                                                                               <field name="ATTR">val</field>
                                                                               <field name="OID">snmp.0.192_168_178_11.NAS_systemStatus_1OK_2Fail</field>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <block type="math_number" id="g!$959dLu!dY,os~rEus">
                                                                               <field name="NUM">1</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <value name="THEN">
                                                                         <block type="text" id="8u7CN.O+.cGy0M2=Mem:">
                                                                           <field name="TEXT">??</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="ELSE">
                                                                         <block type="text" id="ZLv9u@,X)~WjH}`AjT|*">
                                                                           <field name="TEXT"> ?</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                             </block>
                                            </xml>
                                            

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            504
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            60
                                            617
                                            118180
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo