Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter lovelace v1.2.x

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter lovelace v1.2.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • Garfonso
      Garfonso Developer @Supernils last edited by

      @supernils
      oh, sorry, da hab ich den falschen Link kopiert...

      Also bei mir sehe ich keine Probleme mit der button-card und konnte dein Problem auch nicht rekonstruieren. Kannst du mir mal den kompletten Code irgendwie als text schicken? Dann versuche ich nochmal das nachzustellen.

      S 1 Reply Last reply Reply Quote 0
      • S
        Supernils @Garfonso last edited by

        @garfonso said in Test Adapter lovelace v1.2.x:

        @supernils
        oh, sorry, da hab ich den falschen Link kopiert...

        Also bei mir sehe ich keine Probleme mit der button-card und konnte dein Problem auch nicht rekonstruieren. Kannst du mir mal den kompletten Code irgendwie als text schicken? Dann versuche ich nochmal das nachzustellen.

        Hoffentlich kannst du es nachstellen 🙂

        title: Home
        views:
          - path: default_view
            title: Home
            icon: mdi:home
            theme: dark
            badges:
              - entity: sensor.Feuchtegehalt_Absolut_ImFreien
                name: Im Freien
              - entity: sensor.Feuchtegehalt_Absolut_Keller
                name: Keller
              - entity: sensor.Feuchtegehalt_Absolut_DG
                name: DG
              - entity: sensor.Feuchtegehalt_Absolut_Schlafzimmer
                name: Schlafzimmer
              - entity: sensor.Feuchtegehalt_Absolut_BadOG
                name: Bad OG
            cards:
              - type: glance
                entities:
                  - entity: binary_sensor.LueftungEmpfehlung_Keller
                    name: Keller
                  - entity: binary_sensor.LueftungEmpfehlung_DG
                    name: Dachgeschoss
                  - entity: binary_sensor.LueftungEmpfehlung_Schlafzimmer
                    name: Schlafzimmer
                  - entity: binary_sensor.LueftungEmpfehlung_BadOG
                    name: Bad OG
                title: Lüftungsempfehlung
                show_name: true
                show_icon: true
                show_state: false
                state_color: true
              - type: custom:vertical-stack-in-card
                title: Fenster
                cards:
                  - type: horizontal-stack
                    cards:
                      - type: custom:button-card
                        entity: sensor.Fensterkontakt_Keller_Green
                        name: Keller
                        show_state: false
                        show_name: true
                        show_label: false
                        layout: name_state
                        label: |
                          [[[ if (entity.state == true)
                              return "Fenster geöffnet";
                            else
                              return "Fenster geschlossen";
                          ]]]
                        styles:
                          card:
                            - padding: 0px
                            - height: 100px
                          name:
                            - font-size: 16px
                            - padding: 0px
                          icon:
                            - padding: 10px
                            - width: 30%
                          grid:
                            - grid-template-areas: '"n" "i" "l" "s"'
                            - grid-template-rows: min-content 1fr min-content min-content
                            - grid-template-columns: 1fr
                        state:
                          - value: true
                            icon: mdi:window-open-variant
                            color: rgb(0, 159, 255)
                          - value: false
                            icon: mdi:window-closed-variant
                            color: rgb(118,118,128)
                      - type: custom:button-card
                        entity: sensor.Fensterkontakt_BadOG
                        name: Bad OG
                        show_state: false
                        show_name: true
                        show_label: false
                        layout: name_state
                        label: |
                          [[[ if (entity.state == true)
                              return "Fenster geöffnet";
                            else
                              return "Fenster geschlossen";
                          ]]]
                        styles:
                          card:
                            - padding: 0px
                            - height: 100px
                          name:
                            - font-size: 16px
                            - padding: 0px
                          icon:
                            - padding: 10px
                            - width: 30%
                          grid:
                            - grid-template-areas: '"n" "i" "l" "s"'
                            - grid-template-rows: min-content 1fr min-content min-content
                            - grid-template-columns: 1fr
                        state:
                          - value: true
                            icon: mdi:window-open-variant
                            color: rgb(0, 159, 255)
                          - value: false
                            icon: mdi:window-closed-variant
                            color: rgb(118,118,128)
                show_header_toggle: false
        hideToolbar: false
        
        
        Garfonso 1 Reply Last reply Reply Quote 0
        • Garfonso
          Garfonso Developer @Supernils last edited by Garfonso

          @supernils
          ok, hätte mir auch gestern schon auffallen können: ersetz mal grundsätzlich true / false durch 'on' / 'off'. Dann geht es. -> true/false kann sich mal durchgemogelt haben, ist aber immer falsch und muss auf 'on' / 'off' übersetzt werden.
          Ist das ein manueller Sensor? (bzw. warum ist das ein Sensor und kein binary_sensor? 😉 ).

          Wenn du den automatisch erkennen lässt bzw. jetzt mit admin 5 als binary_sensor mit device_class window einstellst, erhältst du den state auch ordentlich übersetzt. 🙂

          S 1 Reply Last reply Reply Quote 0
          • S
            Supernils @Garfonso last edited by

            @garfonso said in Test Adapter lovelace v1.2.x:

            @supernils
            ok, hätte mir auch gestern schon auffallen können: ersetz mal grundsätzlich true / false durch 'on' / 'off'. Dann geht es. -> true/false kann sich mal durchgemogelt haben, ist aber immer falsch und muss auf 'on' / 'off' übersetzt werden.
            Ist das ein manueller Sensor? (bzw. warum ist das ein Sensor und kein binary_sensor? 😉 ).

            Wenn du den automatisch erkennen lässt bzw. jetzt mit admin 5 als binary_sensor mit device_class window einstellst, erhältst du den state auch ordentlich übersetzt. 🙂

            Vielen Dank für die Hinweise. Die Darstellung passt jetzt.
            Als ich mit Lovelace begonnen habe, habe ich alle Entitäten manuell erzeugt, da ich den automatischen Prozess nicht verstanden habe (die Entitäten wurden nicht automatisch erzeugt).
            Mittlerweile habe ich den Devices-Adapter entdeckt und das automatische Erzeugen funktioniert zuverlässig. Ich werde nach und nach Geräte mit dem Devices-Adapter erstellen und so auf automatisch erzeugte Entitäten umsteigen.

            1 Reply Last reply Reply Quote 1
            • nukleuz
              nukleuz last edited by nukleuz

              Hallozusammen,

              hat jemand von euch schon mal einen Versuch mit dieser Custom-Card gewagt:
              https://github.com/finity69x2/fan-control-entity-row

              706c8361-a219-4b7f-a4eb-134889edd780-grafik.png

              Meine Entity fan.Esszimmer_Venti_FanSpeed ist manuell erstellt.
              Der Datenpunkt ist der FanSpeed vom Sonoff IFan03 (Tasmota).
              Werte von 0-3 sind möglich.

              Das was funktioniert ist, dass er lediglich (wenn er aus = 0 = off ist) bei Klick auf LOW auf Stufe 1 springt - danach passiert gar nichts mehr. Im Prinzip funktioniert nur das Schalten von 0 auf 1. Ist er schon auf 1 kann man soviel klicken wie man will.

              Vielleicht hat da jemand eine Idee zu...

              Garfonso 1 Reply Last reply Reply Quote 0
              • Garfonso
                Garfonso Developer @nukleuz last edited by

                @nukleuz
                Siehst du Meldungen im Log? (ggf. Debug an?).
                Wenn ich den Code der Karte richtig verstehe, versucht die "HIGH", "MED". "LOW", "OFF" tatsächlich an den State zu schicken... das wäre natürlich eher ungünstig... du könntest mal versuchen mit den Optionen 'customLowText' usw. auf etwas zu setzen, was der State erwarten könnte (also dann zahlen?)..

                Da steht allerdings auch ein Hinweis, dass die Karte bzw. diese Art der Steuerung deprecated ist... von dem, was ich da lesen, hört sich das ein bisschen so an, als ob jetzt ein Mode/Preset ähnlich wie bei den Thermostaten/Klimaanlagen zum Einsatz kommt. Hm.

                Spontan würde ich sagen der beste Ansatz ist erstmal ein input_select zu nehmen und dem Objekt (falls es das nicht hat) ein common.states zu geben. Vermutlich sollte ich dann auch einbauen, dass common.states für fan-entities ausgewertet wird (was vermutlich aktuell nicht der Fall ist).

                nukleuz 2 Replies Last reply Reply Quote 0
                • nukleuz
                  nukleuz @Garfonso last edited by

                  @garfonso

                  Danke fürs Nachsehen..

                  Debug ist an aber keine Meldungen die im Kontext fan stehen.

                  Das Setzen des "customLowText" auf "1" etc hat leider keinerlei Auswirkungen.

                  Einen Workaround habe ich mit den Custom-Button-Cards und den Services. Falls es jemand braucht:

                  type: horizontal-stack
                  title: Deckenventilator (Esszimmer)
                  cards:
                    - type: custom:button-card
                      entity: switch.kitchen_scene_1
                      color_type: card
                      color: rgb(66, 134, 244)
                      icon: mdi:numeric-1-box-outline
                      tap_action:
                        action: call-service
                        service: input_number.set_value
                        service_data:
                          entity_id: fan.Esszimmer_Venti_FanSpeed
                          value: 1
                    - type: custom:button-card
                      entity: switch.kitchen_scene_2
                      color_type: card
                      color: rgb(66, 134, 244)
                      icon: mdi:numeric-2-box-outline
                      tap_action:
                        action: call-service
                        service: input_number.set_value
                        service_data:
                          entity_id: fan.Esszimmer_Venti_FanSpeed
                          value: 2
                    - type: custom:button-card
                      entity: switch.kitchen_scene_3
                      color_type: card
                      color: rgb(66, 134, 244)
                      icon: mdi:numeric-3-box-outline
                      tap_action:
                        action: call-service
                        service: input_number.set_value
                        service_data:
                          entity_id: fan.Esszimmer_Venti_FanSpeed
                          value: 3
                    - type: custom:button-card
                      entity: switch.kitchen_off
                      color_type: card
                      color: rgb(66, 134, 244)
                      icon: mdi:eye-off-outline
                      tap_action:
                        action: call-service
                        service: input_number.set_value
                        service_data:
                          entity_id: fan.Esszimmer_Venti_FanSpeed
                          value: 0
                  

                  Finde allerdings die Karte sehr simpel und schmal gehalten...

                  Danke für deine Bemühungen... 👍

                  1 Reply Last reply Reply Quote 0
                  • nukleuz
                    nukleuz @Garfonso last edited by nukleuz

                    @garfonso sagte in Test Adapter lovelace v1.2.x:

                    Spontan würde ich sagen der beste Ansatz ist erstmal ein input_select zu nehmen und dem Objekt (falls es das nicht hat) ein common.states zu geben. Vermutlich sollte ich dann auch einbauen, dass common.states für fan-entities ausgewertet wird (was vermutlich aktuell nicht der Fall ist).

                    Kannst du da etwas genauer ausführen?
                    Ich hatte versucht dem FanSpeed Datepunkt/Objekt die states: 0:off, 1:low, 2:med und 3:high zu geben.
                    Klappte aber nicht, da er ja Zahlen erwartet (!=?)...

                    Oder wie hast du das gemeint 🙄

                    EDIT: Besser gefragt: Kann ich was tun, dass es mit nem Umweg funktioniert?

                    Garfonso 1 Reply Last reply Reply Quote 0
                    • Garfonso
                      Garfonso Developer @nukleuz last edited by

                      @nukleuz said in Test Adapter lovelace v1.2.x:

                      Ich hatte versucht dem FanSpeed Datepunkt/Objekt die states: 0:off, 1:low, 2:med und 3:high zu geben.
                      Klappte aber nicht, da er ja Zahlen erwartet (!=?)...

                      Also der ioBroker State erwartet Zahlen? Dann sollte es (mit entity type input_select) genau so funktionieren. Also in Lovelace steht dann off / low / med / high und in ioBroker kommt 0 / 1 / 2 / 3 an. Vermutlich geht das aber nicht zusammen mit der fan-Card, da die den set_speed service call schickt, der das states Objekt nicht verwendet. Hm.

                      nukleuz 1 Reply Last reply Reply Quote 0
                      • nukleuz
                        nukleuz @Garfonso last edited by

                        @garfonso

                        Ja, der erwartet Zahlen...
                        Das mit dem input_select funktioniert tadellos nur eben nicht im Zusammenspiel mit der Fan_Card 😖

                        David G. Garfonso 2 Replies Last reply Reply Quote 0
                        • David G.
                          David G. @nukleuz last edited by

                          @nukleuz

                          Mit der Button-card könnte man sich ja die Fan-card nachbauen.
                          (oder einem horizontal-stack).

                          Allerdings müsste man sich dann noch extra Datenpunkte für jeden Status anlegen und es mit einem Skript steuern.....

                          Garfonso 1 Reply Last reply Reply Quote 0
                          • Garfonso
                            Garfonso Developer @nukleuz last edited by

                            @nukleuz
                            Wenn du magst: Aktualisier mal von meinem dev-Branch und versuch nochmal mit der fan-card. Ich habe jetzt eingebaut, dass manuelle entities, wenn sie ein common.states Objekt haben, die states in Zahlen übersetzen (bzw. die Zahlen für lovelace in die Strings). Damit müsste eigentlich das state-Stetzen gehen (und vielleicht wird der aktuelle State auch richtig angezeigt, falls die Karte das macht)

                            nukleuz 1 Reply Last reply Reply Quote 0
                            • Garfonso
                              Garfonso Developer @David G. last edited by

                              @david-g said in Test Adapter lovelace v1.2.x:

                              Allerdings müsste man sich dann noch extra Datenpunkte für jeden Status anlegen und es mit einem Skript steuern.....

                              Nicht unbedingt, du kannst mit der Button card (oder auch mit vielen anderen Elementen) statt "toggle" als Aktion auch einen Service call machen, das sieht dann ca. so aus:

                              type: button
                              entity: fan.customTests_fanTest
                              tap_action:
                               action: call-service
                               service: fan.set_speed
                               service_data:
                                 speed: 'OFF'
                                 entity_id: fan.customTests_fanTest
                              hold_action:
                               action: more-info
                              show_icon: true
                              show_name: true
                              

                              Und dann könnte man, in diesem Beispiel mit 4 Buttons (oder 2, wenn man die hold_action noch nutzen möchte) mit jeweils verschiedenen Werten für "speed" das umsetzen. 🙂

                              Aber wie oben geschrieben "sollte" das für den Fall nicht mehr notwendig sein -> und das common.states sollte da auch noch ein paar andere Optionen eröffnen.
                              Da das ganze recht generisch implementiert ist, wird ein common.states Objekt jetzt in sehr vielen Fällen genutzt um Zahlen aus ioBroker in Strings zu übersetzen. Ich hoffe, das gibt keine bösen Nebeneffekte... aber es könnte noch einige Anwendungen erlauben, die mir gerade nicht einfallen. 😉 (wobei man da dann noch gucken muss, welche service_calls dahinter stehen, das ist nur bei set_**** und select_*** implementiert bisher -> aber das dürften die häufigsten sein).

                              1 Reply Last reply Reply Quote 0
                              • nukleuz
                                nukleuz @Garfonso last edited by

                                @garfonso

                                Ich habe aktualisiert - die common.states gesetzt, doch immer noch nicht funktionsfähig.
                                Oder mache ich was nicht richtig?

                                6a6e1034-29eb-4279-aeef-8aaaaf51e8d8-grafik.png

                                4602e574-3438-4388-a783-3574c760fa19-grafik.png

                                Garfonso 1 Reply Last reply Reply Quote 0
                                • Garfonso
                                  Garfonso Developer @nukleuz last edited by

                                  @nukleuz
                                  Ok, hab nun die Karte doch mal selber getestet... hm.. das wird ohne extra Fan Support nicht gehen, fürchte ich....

                                  Zum einen müsste das States so sein:
                                  "states": { "0": "off", "1": "low", "2": "medium", "3": "high" }

                                  Zum anderen liest die Karte das attribute speed statt den state -> das ist aber bei generischen manuellen entities noch nicht so vorgesehen...

                                  Habe jetzt mal support für neuen und alten Fan eingebaut. Die Karte, die du hast geht jetzt (bei mir und mit den States von oben, die werden aber als default jetzt auch einfach gesetzt, wenn nix da ist). Und die neue Karte geht jetzt auch einfach, also die von hier https://github.com/finity69x2/fan-mode-button-row

                                  nukleuz 1 Reply Last reply Reply Quote 0
                                  • nukleuz
                                    nukleuz @Garfonso last edited by

                                    @garfonso

                                    Super - das klappt wunderbar mit der neuen Karte. Mache mich jetzt ans stylen.
                                    Cool, dass du sowas immer gleich umsetzt 👍 👍 👍

                                    Garfonso 1 Reply Last reply Reply Quote 0
                                    • David G.
                                      David G. last edited by David G.

                                      Habe die Tage meine Tabelle für Hmip was angepasst.

                                      Hier meine neue Version des Blocklys.

                                      1626009477518-screenshot_20210711-151451_fully-kiosk-browser-2.jpg

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</variable>
                                          <variable id="I?IY,pbmgtKHwd9L]VLd">id</variable>
                                          <variable id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</variable>
                                          <variable id="SKh+R[G%ptX]9uv^hB,!">wahr</variable>
                                          <variable id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</variable>
                                          <variable id=";O,|I4cqK/q|U6dt.?NN">falsch</variable>
                                          <variable id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</variable>
                                          <variable id="%62`(Q[9y{,UvP3o}T|/">i</variable>
                                          <variable id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</variable>
                                          <variable id="GI^dumJfw0)4Nzi2HVw`">ParentID</variable>
                                          <variable id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</variable>
                                          <variable id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</variable>
                                          <variable id="}GFg*E7o,B_][D3=0@%_">rssi_peer</variable>
                                          <variable id="HxY9T=|.h|4{.1*`d}f1">bat_status</variable>
                                          <variable id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</variable>
                                          <variable id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</variable>
                                          <variable id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</variable>
                                          <variable id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</variable>
                                        </variables>
                                        <block type="variables_set" id="*t7V5~/]DZr)Jomvwx^]" x="1288" y="213">
                                          <field name="VAR" id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</field>
                                          <value name="VALUE">
                                            <block type="colour_picker" id="GJopHj7q$QW!@mYtl@ME">
                                              <field name="COLOUR">#33ff33</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="203yXfN)h7Gf;eGOJkwH">
                                              <field name="VAR" id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</field>
                                              <value name="VALUE">
                                                <block type="colour_picker" id="5Bv(]w.KC`|9Z?OI~aRz">
                                                  <field name="COLOUR">#33cc00</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="Q-S}n]X8NRaM3}G=9Cs/">
                                                  <field name="VAR" id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</field>
                                                  <value name="VALUE">
                                                    <block type="colour_picker" id="FP_8tC%#X*beTe7Pfb0@">
                                                      <field name="COLOUR">#ffff00</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="variables_set" id="jM`wFDS7t4N-z`YiHL}m">
                                                      <field name="VAR" id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</field>
                                                      <value name="VALUE">
                                                        <block type="colour_picker" id="HHb(z%EVpH59._bw)dv9">
                                                          <field name="COLOUR">#ff9900</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="nk.jcyQ`1m2lm};E;()X">
                                                          <field name="VAR" id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</field>
                                                          <value name="VALUE">
                                                            <block type="colour_picker" id="=w@%f(Ie@nDOIf2z*jME">
                                                              <field name="COLOUR">#ff0000</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="procedures_defcustomreturn" id="S;%2#n?7.W0Cko92rdS9" x="1288" y="412">
                                          <mutation statements="false">
                                            <arg name="id" varid="I?IY,pbmgtKHwd9L]VLd"></arg>
                                          </mutation>
                                          <field name="NAME">checkBatt</field>
                                          <field name="SCRIPT">aWYoZXhpc3RzU3RhdGUoaWQpKSByZXR1cm4gZ2V0U3RhdGUoaWQpLnZhbDsgLy8gZmFsc2UgLyB0cnVlDQpyZXR1cm4gLTE=</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        </block>
                                        <block type="procedures_defcustomreturn" id="z1v5P%=uhnATnl`x*fMU" x="1287" y="462">
                                          <mutation statements="false">
                                            <arg name="id" varid="I?IY,pbmgtKHwd9L]VLd"></arg>
                                          </mutation>
                                          <field name="NAME">GetObjectByID</field>
                                          <field name="SCRIPT">cmV0dXJuIGdldE9iamVjdChpZCk7</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        </block>
                                        <block type="schedule" id="Fq/18(O7f6[%)j_~l:ST" x="1287" y="537">
                                          <field name="SCHEDULE">* * * * *</field>
                                          <statement name="STATEMENT">
                                            <block type="variables_set" id="6P-$X^^=%Y}Ga|2m-glz">
                                              <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field>
                                              <value name="VALUE">
                                                <block type="text" id="C@ngEh4Xb903r=BBsDAK">
                                                  <field name="TEXT"></field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="3REeYcDZIIW1=2f!czXs">
                                                  <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="-ud?2C--ut[d:Qk?XvH*">
                                                      <field name="TEXT"></field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="controls_forEach" id="fuX0?t}`q26ik90d]-gs">
                                                      <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field>
                                                      <value name="LIST">
                                                        <block type="selector" id="%_*9dXZ9|]7KBP1Y%W@4">
                                                          <field name="TEXT">hm-rpc.0.*.0.UNREACH</field>
                                                        </block>
                                                      </value>
                                                      <statement name="DO">
                                                        <block type="variables_set" id="p/_H.Q]AMU:yv9KJ4e%}">
                                                          <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field>
                                                          <value name="VALUE">
                                                            <block type="text_getSubstring" id="vK4A(n:9J$;z+Ctsym+7" inline="false">
                                                              <mutation at1="true" at2="true"></mutation>
                                                              <field name="WHERE1">FROM_START</field>
                                                              <field name="WHERE2">FROM_START</field>
                                                              <value name="STRING">
                                                                <block type="variables_get" id="0FneE0reR[]F{cs1]a/8">
                                                                  <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field>
                                                                </block>
                                                              </value>
                                                              <value name="AT1">
                                                                <block type="math_number" id="p$Se(4EeE3a#GN+#Sod-">
                                                                  <field name="NUM">1</field>
                                                                </block>
                                                              </value>
                                                              <value name="AT2">
                                                                <block type="math_arithmetic" id="G!vJ5Y|L=!0!zqpz#c;r" inline="false">
                                                                  <field name="OP">MINUS</field>
                                                                  <value name="A">
                                                                    <shadow type="math_number">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                    <block type="text_indexOf" id="?l(!U$rbxlq(SCV[!SNh" inline="false">
                                                                      <field name="END">LAST</field>
                                                                      <value name="VALUE">
                                                                        <block type="variables_get" id="B]=#1xDF@L{tIlO/,./9">
                                                                          <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="FIND">
                                                                        <shadow type="text" id="@8HBD+(]H+7T8P/!/PT(">
                                                                          <field name="TEXT">.0.UNREACH</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <shadow type="math_number" id="3Dv/DU?/5!u_S/k]vyLT">
                                                                      <field name="NUM">1</field>
                                                                    </shadow>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="d]Tr+rm9oX0n24?7g:Xs">
                                                              <field name="VAR" id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</field>
                                                              <value name="VALUE">
                                                                <block type="procedures_callcustomreturn" id="B#MVf5k/g+-I5t-CNAq2">
                                                                  <mutation name="checkBatt">
                                                                    <arg name="id"></arg>
                                                                  </mutation>
                                                                  <value name="ARG0">
                                                                    <block type="text_join" id="C/_Q30a%|TqW7;%L%3C@" inline="true">
                                                                      <mutation items="2"></mutation>
                                                                      <value name="ADD0">
                                                                        <block type="variables_get" id="CnjKB;U7]V4Z9vb7x[!5">
                                                                          <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="ADD1">
                                                                        <block type="text" id="ib-MAR+QnNYMCrGSF,;i">
                                                                          <field name="TEXT">.0.LOW_BAT</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="variables_set" id="d0}ynFzUB+tqfEGnqWy(">
                                                                  <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                  <value name="VALUE">
                                                                    <block type="procedures_callcustomreturn" id="UJ}ohia}Y[h^zU4o+z(9">
                                                                      <mutation name="checkBatt">
                                                                        <arg name="id"></arg>
                                                                      </mutation>
                                                                      <value name="ARG0">
                                                                        <block type="text_join" id="850gAQTowhRKTwFi~)l7" inline="true">
                                                                          <mutation items="2"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="variables_get" id="1/g,dybzm|Md2f]PMr#e">
                                                                              <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="text" id="[BLpKsrq(ntnaw0p0f|j">
                                                                              <field name="TEXT">.0.RSSI_DEVICE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="variables_set" id="(~V%Bt6AgO}idVOIg21q">
                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                      <value name="VALUE">
                                                                        <block type="procedures_callcustomreturn" id="|%:B-3yn22u~mLTqMqi#">
                                                                          <mutation name="checkBatt">
                                                                            <arg name="id"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="text_join" id="AUXGE=)k8_3C{sJ4is8I" inline="true">
                                                                              <mutation items="2"></mutation>
                                                                              <value name="ADD0">
                                                                                <block type="variables_get" id="rwB|)*_G8w%sg;]vPrY9">
                                                                                  <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="ADD1">
                                                                                <block type="text" id="2O/kwhGB%EKO[U]ujx6+">
                                                                                  <field name="TEXT">.0.RSSI_PEER</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="controls_if" id="C{y+=h^x%#R^]A#fLo=x">
                                                                          <mutation elseif="1" else="1"></mutation>
                                                                          <value name="IF0">
                                                                            <block type="logic_compare" id="E$R:h9G!D3v:ZMc)1by_">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="Tq4`T8ypoF=ZxE`d?O~s">
                                                                                  <field name="VAR" id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="soR%izk|ZC5*PI5%4_9m">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO0">
                                                                            <block type="variables_set" id=".VEi|o@71Fv5M4,;_E!d">
                                                                              <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field>
                                                                              <value name="VALUE">
                                                                                <block type="text" id="RO$dD3N}`%2#F*RN,w|b">
                                                                                  <field name="TEXT">&lt;font size="3"&gt;&lt;b&gt;&lt;font color=red&gt;●&lt;/font&gt;</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <value name="IF1">
                                                                            <block type="logic_compare" id="(mFU.2`{A~VF$WAoo1S!">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="%PmgH6:aR@KK6Mi+jpo~">
                                                                                  <field name="VAR" id="bcl|+G6)P$l:,Gn9x$[Q">lowbat</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="]SfCr%]8;f[NS(q^7~d5">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <statement name="DO1">
                                                                            <block type="variables_set" id="w.:15]yIgeD]--=:2Ogf">
                                                                              <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field>
                                                                              <value name="VALUE">
                                                                                <block type="text" id="@yxG[|?b07he;%QLyZOS">
                                                                                  <field name="TEXT">&lt;font size="3"&gt;&lt;b&gt;&lt;font color=green&gt;●&lt;/font&gt;</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <statement name="ELSE">
                                                                            <block type="variables_set" id="`Al)FX?KgN$XSQF%$wDk">
                                                                              <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field>
                                                                              <value name="VALUE">
                                                                                <block type="text" id="jiiVHYTao6TMu%(RNn~v">
                                                                                  <field name="TEXT">&lt;font size="3"&gt;&lt;b&gt;&lt;font color=grey&gt;●&lt;/font&gt;</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <next>
                                                                            <block type="controls_if" id="jhWJUaI`uc_o_eN*(,;0">
                                                                              <mutation elseif="5"></mutation>
                                                                              <value name="IF0">
                                                                                <block type="logic_compare" id="v_nyy=OHbCGK,t1%I/,t">
                                                                                  <field name="OP">LT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="1PLlxn%;k1vtsKwBV~*d">
                                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="|+~:Ffz$E3%omFM}~tGR">
                                                                                      <field name="NUM">-100</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO0">
                                                                                <block type="variables_set" id="YxmB5!wQ`2^=%Q}7n32O">
                                                                                  <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="Ls{{FE2*fj58/_-S9c/#">
                                                                                      <field name="VAR" id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <value name="IF1">
                                                                                <block type="logic_compare" id="N8~N5dd8`VJ,SP!!6x{%">
                                                                                  <field name="OP">LT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="N=5s:A1%?lN-V6{9{.Y;">
                                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="5GFMLb%P.E{d=)#dO`I;">
                                                                                      <field name="NUM">-85</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO1">
                                                                                <block type="variables_set" id="P;Q?^%kj(}3;`hhyQ9#~">
                                                                                  <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="*IqH]r~aG9SsaWOT5YNZ">
                                                                                      <field name="VAR" id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <value name="IF2">
                                                                                <block type="logic_compare" id="gaa=sQ,sS8|Q@^Xu;aLx">
                                                                                  <field name="OP">LT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="S1d41i.:n#F?u6?_+^6z">
                                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="vB8SNbS+7Do2va7z{250">
                                                                                      <field name="NUM">-75</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO2">
                                                                                <block type="variables_set" id="w*Q%@p@Pdb[v[9fn6YxR">
                                                                                  <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="d08fNJ)E#!(YHGo1NW~Z">
                                                                                      <field name="VAR" id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <value name="IF3">
                                                                                <block type="logic_compare" id="(WqDYV3zK-MKfBxvF[cw">
                                                                                  <field name="OP">LT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="]i(8s4InC!8$MYtg2o)o">
                                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="_MinxMI(Q.^#]9fgA(G@">
                                                                                      <field name="NUM">-50</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO3">
                                                                                <block type="variables_set" id="f!bP.PgoX5%E}{9%WFaF">
                                                                                  <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="AVWz;OwJJ@gf.tn;eV6F">
                                                                                      <field name="VAR" id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <value name="IF4">
                                                                                <block type="logic_compare" id="WqOU$$WAyu)5,=riN6?H">
                                                                                  <field name="OP">LT</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="B,:1lD*xMw+ofI|W:VkT">
                                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="J_NM5mV.q$v}(}:/A9rW">
                                                                                      <field name="NUM">-1</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO4">
                                                                                <block type="variables_set" id="r[BP+RC#!gj+$ykVL)CI">
                                                                                  <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="variables_get" id="1;4:U/^;btHtjm%:69#^">
                                                                                      <field name="VAR" id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <value name="IF5">
                                                                                <block type="logic_compare" id="#A}Q[e9ZYO|45Xt33w[x">
                                                                                  <field name="OP">EQ</field>
                                                                                  <value name="A">
                                                                                    <block type="variables_get" id="nN/,yd`n)l!3M2ubr6*r">
                                                                                      <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="B">
                                                                                    <block type="math_number" id="rECV*Z`Wiy.iwCYgM7_/">
                                                                                      <field name="NUM">0</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <statement name="DO5">
                                                                                <block type="variables_set" id="E1v9Lg+bi+GFWfRJS%*N">
                                                                                  <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="text" id="D6(en$4x3^akW@.LMu2o">
                                                                                      <field name="TEXT"></field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <next>
                                                                                <block type="controls_if" id="Zt`yfj=n)Cj`T,sDuR7-">
                                                                                  <mutation elseif="5"></mutation>
                                                                                  <value name="IF0">
                                                                                    <block type="logic_compare" id="NI]8Dkzy0!]SKD8G,zgE">
                                                                                      <field name="OP">LT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="WP6/FIOX=F7F+++8ZvYs">
                                                                                          <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="5{T32^4kfqaC3FZt~[~L">
                                                                                          <field name="NUM">-100</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO0">
                                                                                    <block type="variables_set" id="j=6I3@gJrJ%0yN#cuYK0">
                                                                                      <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="variables_get" id="]/vCm$N}Szo%leLi.G42">
                                                                                          <field name="VAR" id="RybC/4j[d`XRn6*0/H,n">farbe_rssi_schlecht</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <value name="IF1">
                                                                                    <block type="logic_compare" id="0W{OG.`-lS^04v!HC[=A">
                                                                                      <field name="OP">LT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="6%/N2L1,i1qX7}#*ftxQ">
                                                                                          <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="5(2ifwBnY5_F@IqM]QJY">
                                                                                          <field name="NUM">-85</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO1">
                                                                                    <block type="variables_set" id="p)!L5]P%bFZ8IZxcb*T#">
                                                                                      <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="variables_get" id="e%-v*M1b2+N[kO[fmqq.">
                                                                                          <field name="VAR" id="c@gowkI]_G@{;cMP?o|l">farbe_rssi_mangelhaft</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <value name="IF2">
                                                                                    <block type="logic_compare" id="02S}bc8eRCm)eg-Y)7,T">
                                                                                      <field name="OP">LT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="ms_iEvko/?BEy3X+oEj_">
                                                                                          <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="qN.0+Mc=mp@Zl!]npAoS">
                                                                                          <field name="NUM">-75</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO2">
                                                                                    <block type="variables_set" id="A;JI@SG#93@mP)3f-X)d">
                                                                                      <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="variables_get" id="[O_E;HiB)ury,9kHSF=:">
                                                                                          <field name="VAR" id=":27E6``XIu.as%n|a@Cz">farbe_rssi_befriedigend</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <value name="IF3">
                                                                                    <block type="logic_compare" id="98n0!+*Y[1-goE^X[gCk">
                                                                                      <field name="OP">LT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id=".i6{gmI(fc/yma:QXv_Y">
                                                                                          <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="zD6#)6X6(K![Q+RY:/0@">
                                                                                          <field name="NUM">-50</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO3">
                                                                                    <block type="variables_set" id="W7Q[MQe`GTmW=EvZR/CZ">
                                                                                      <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="variables_get" id="^;#]X+~hQxqq2@|ibfvb">
                                                                                          <field name="VAR" id="Zmk|`GjZ2{`sLzc@rUl+">farbe_rssi_gut</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <value name="IF4">
                                                                                    <block type="logic_compare" id="*4x);k9gBO%C9`(+QZtT">
                                                                                      <field name="OP">LT</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="u2?}]=W9dqhs=+pC}e+]">
                                                                                          <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="VJz?5a?c.Z4+UESbTZ7T">
                                                                                          <field name="NUM">-1</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO4">
                                                                                    <block type="variables_set" id="RnY6KvsjgW3mt,5uXc1Q">
                                                                                      <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="variables_get" id="Hs-ySO!zICm!Ef:e5Zcl">
                                                                                          <field name="VAR" id="m-99+xTe-[}?M:ce,4KM">farbe_rssi_sehr_gut</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <value name="IF5">
                                                                                    <block type="logic_compare" id="sPTTd/Z{Tpawv8tr~V:T">
                                                                                      <field name="OP">EQ</field>
                                                                                      <value name="A">
                                                                                        <block type="variables_get" id="th+2HHZ)MZsIJx}5Np8m">
                                                                                          <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <block type="math_number" id="Ds~X`xB7tR4402SGU6t3">
                                                                                          <field name="NUM">0</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <statement name="DO5">
                                                                                    <block type="variables_set" id="kzx4AF-=UtCkA}4BTq@6">
                                                                                      <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="text" id="xcW.5fCOQ||tc|$|%yJ=">
                                                                                          <field name="TEXT"></field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </statement>
                                                                                  <next>
                                                                                    <block type="controls_if" id="m*-n_IA.BaWb3#VwF2nY">
                                                                                      <mutation else="1"></mutation>
                                                                                      <value name="IF0">
                                                                                        <block type="logic_compare" id="ylHB;iJuy1Y04_g-}@;o">
                                                                                          <field name="OP">EQ</field>
                                                                                          <value name="A">
                                                                                            <block type="variables_get" id="5J6M6eP3}0[I4cr8EY..">
                                                                                              <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <block type="math_number" id="(/gtN^?(v|YEhWkLs862">
                                                                                              <field name="NUM">0</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <statement name="DO0">
                                                                                        <block type="variables_set" id="Dsd(lhg8ZtUhUlfG7,K+">
                                                                                          <field name="VAR" id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="text" id="_{?`)`,|J*6L$oVad}cQ">
                                                                                              <field name="TEXT"> - - - </field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <statement name="ELSE">
                                                                                        <block type="variables_set" id="nz8uMGn#|S=V2#77ceS8">
                                                                                          <field name="VAR" id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="variables_get" id="*,P@v,(3li1%$%i!q!;:">
                                                                                              <field name="VAR" id="}GFg*E7o,B_][D3=0@%_">rssi_peer</field>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </statement>
                                                                                      <next>
                                                                                        <block type="controls_if" id="nn0Ce}1;m]os?$N[.oP3">
                                                                                          <mutation else="1"></mutation>
                                                                                          <value name="IF0">
                                                                                            <block type="logic_compare" id="z00L};1x354Q-*=R$?@[">
                                                                                              <field name="OP">EQ</field>
                                                                                              <value name="A">
                                                                                                <block type="variables_get" id="e,Fg)+`IVT8hu9H,{CZV">
                                                                                                  <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <block type="math_number" id="=NEY^h4Ex%BcZH]7}Ou{">
                                                                                                  <field name="NUM">0</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                          <statement name="DO0">
                                                                                            <block type="variables_set" id="}-H:4ZH1LuFr8XVeQ,7S">
                                                                                              <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="text" id="mQZe*QV[iLD-FBWuQ0W#">
                                                                                                  <field name="TEXT"> - - - </field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                          <statement name="ELSE">
                                                                                            <block type="variables_set" id="3)?b[-h#[IA+]]5;lt/q">
                                                                                              <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="variables_get" id="MJvC9~S@1c[7F;*O9opw">
                                                                                                  <field name="VAR" id="sX4P;:Fyd]5~^1a(_}UP">rssi_device</field>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                          <next>
                                                                                            <block type="controls_if" id="g-nbdwF9x=u=]7M$s:%Z">
                                                                                              <mutation else="1"></mutation>
                                                                                              <value name="IF0">
                                                                                                <block type="get_value_var" id="jiO3F;,An7UAVN/y3-p#">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <value name="OID">
                                                                                                    <shadow type="text">
                                                                                                      <field name="TEXT"></field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="T~{fD%oTCL+xAw,zU|+!">
                                                                                                      <field name="VAR" id="%62`(Q[9y{,UvP3o}T|/">i</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <statement name="DO0">
                                                                                                <block type="variables_set" id=")9~cwqTBbE)LskW~/@uI">
                                                                                                  <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="text_join" id="C?.KgWAAyzlP=w|[W#[J">
                                                                                                      <mutation items="8"></mutation>
                                                                                                      <value name="ADD0">
                                                                                                        <block type="variables_get" id="7+):RrNG=,HO(ZKpDWY5">
                                                                                                          <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD1">
                                                                                                        <block type="text" id="TEHT|#ZG^(pmbZ7pXVC%">
                                                                                                          <field name="TEXT">&lt;tr&gt;&lt;td&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD2">
                                                                                                        <block type="get_attr" id="4Zd;;9Y%UUxFI;yCg=}%" inline="false">
                                                                                                          <value name="PATH">
                                                                                                            <shadow type="text" id="/6=:$d8Obq*Ay!3qKjz6">
                                                                                                              <field name="TEXT">common.name</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                          <value name="OBJECT">
                                                                                                            <block type="procedures_callcustomreturn" id="/gnU[I]{z7NP1dM]X)0$">
                                                                                                              <mutation name="GetObjectByID">
                                                                                                                <arg name="id"></arg>
                                                                                                              </mutation>
                                                                                                              <value name="ARG0">
                                                                                                                <block type="variables_get" id="WAnOc#4aeemuSfHX}(ey">
                                                                                                                  <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD3">
                                                                                                        <block type="text" id="r@K.wDg@ax]1==b|eE?K">
                                                                                                          <field name="TEXT">&lt;/td&gt; &lt;td ALIGN="CENTER"&gt;&lt;font size="3"&gt;&lt;b&gt;&lt;font color=red&gt;●&lt;/font&gt; &lt;/td&gt;&lt;td ALIGN="CENTER"&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD4">
                                                                                                        <block type="variables_get" id="#?!ZmMw7u4dI@0TEQG9#">
                                                                                                          <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD5">
                                                                                                        <block type="text" id="#$2Q8Pk]N]@dBF)MHw5=">
                                                                                                          <field name="TEXT">&lt;/td&gt;&lt;td ALIGN="CENTER"&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD6">
                                                                                                        <block type="text_join" id="jUkq]c2sqqoIDuKeUBfL">
                                                                                                          <mutation items="11"></mutation>
                                                                                                          <value name="ADD0">
                                                                                                            <block type="text" id="`+-IBXt{3QNjHU7]~?MM">
                                                                                                              <field name="TEXT">&lt;font color="</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD1">
                                                                                                            <block type="variables_get" id="K/fA|Uby1197eSYor2,`">
                                                                                                              <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD2">
                                                                                                            <block type="text" id="Uk-=2Y_?2UE|Lthy4hsN">
                                                                                                              <field name="TEXT">"&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD3">
                                                                                                            <block type="variables_get" id="nM{om05UeV?#rQVeWYL0">
                                                                                                              <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD4">
                                                                                                            <block type="text" id=":`%/Hu=S*ooXEA{J^R;v">
                                                                                                              <field name="TEXT">&lt;/font&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD5">
                                                                                                            <block type="text" id="nPQ%I7W4+!t/Ajf6z(2L">
                                                                                                              <field name="TEXT"> / </field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD6">
                                                                                                            <block type="text" id="JX)uCa,e]G.zAc`_4e@v">
                                                                                                              <field name="TEXT">&lt;font color="</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD7">
                                                                                                            <block type="variables_get" id="`(O=OXp6X8KU3S(qoCoQ">
                                                                                                              <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD8">
                                                                                                            <block type="text" id="wrVI8yPP+Pu5z;Wj2kH_">
                                                                                                              <field name="TEXT">"&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD9">
                                                                                                            <block type="variables_get" id="Ui1K@n9,g#6xY7DG+.oH">
                                                                                                              <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD10">
                                                                                                            <block type="text" id="Je7*@~;@PCAfC^P@N^~u">
                                                                                                              <field name="TEXT">&lt;/font&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD7">
                                                                                                        <block type="text" id=")PcKg(cAfc4$$.Xxn@C:">
                                                                                                          <field name="TEXT">&lt;/td&gt;&lt;/tr&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </statement>
                                                                                              <statement name="ELSE">
                                                                                                <block type="variables_set" id="~6_|Zc[ue|X~dBEerSdh">
                                                                                                  <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field>
                                                                                                  <value name="VALUE">
                                                                                                    <block type="text_join" id="eaIn|AQS;bPzDxX{h=D/">
                                                                                                      <mutation items="8"></mutation>
                                                                                                      <value name="ADD0">
                                                                                                        <block type="variables_get" id="S2NL(M5:wvk$qvo5E0YU">
                                                                                                          <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD1">
                                                                                                        <block type="text" id="+}-tm%Of=MKXG5SD1^$,">
                                                                                                          <field name="TEXT">&lt;tr&gt;&lt;td&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD2">
                                                                                                        <block type="get_attr" id="hO_XBnYCTT^pVqjz[8#6" inline="false">
                                                                                                          <value name="PATH">
                                                                                                            <shadow type="text" id="`M(}Xc-,@vW_W~2!qMmn">
                                                                                                              <field name="TEXT">common.name</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                          <value name="OBJECT">
                                                                                                            <block type="procedures_callcustomreturn" id=":515-1q.JN;3:!vj,8RH">
                                                                                                              <mutation name="GetObjectByID">
                                                                                                                <arg name="id"></arg>
                                                                                                              </mutation>
                                                                                                              <value name="ARG0">
                                                                                                                <block type="variables_get" id="F`AHgeeeD*f$ft[6=8PP">
                                                                                                                  <field name="VAR" id="GI^dumJfw0)4Nzi2HVw`">ParentID</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD3">
                                                                                                        <block type="text" id="Rxi5iY?z$z-XjD0H6?oO">
                                                                                                          <field name="TEXT">&lt;/td&gt; &lt;td ALIGN="CENTER"&gt;&lt;font size="3"&gt;&lt;b&gt;&lt;font color=green&gt;●&lt;/font&gt; &lt;/td&gt;&lt;td ALIGN="CENTER"&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD4">
                                                                                                        <block type="variables_get" id="f*r^zVrt.EqM|!s3W*#~">
                                                                                                          <field name="VAR" id="HxY9T=|.h|4{.1*`d}f1">bat_status</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD5">
                                                                                                        <block type="text" id="ukdRtA$`cP6F)N8F)Bjf">
                                                                                                          <field name="TEXT">&lt;/td&gt;&lt;td ALIGN="CENTER"&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD6">
                                                                                                        <block type="text_join" id="%]_DV[o;ZxthhIjL|tXP">
                                                                                                          <mutation items="11"></mutation>
                                                                                                          <value name="ADD0">
                                                                                                            <block type="text" id="To}#()TQxafUQLWxzlOb">
                                                                                                              <field name="TEXT">&lt;font color="</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD1">
                                                                                                            <block type="variables_get" id="9yLsEM?Ar)K|cN^Xr`TJ">
                                                                                                              <field name="VAR" id="**]r2v*$:Ie`E@sV=S;0">farbe_rssi_device</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD2">
                                                                                                            <block type="text" id="3gpkn^crJ0fIj(w|{-1w">
                                                                                                              <field name="TEXT">"&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD3">
                                                                                                            <block type="variables_get" id="a;m7|`nF0;CO1w,WJTmS">
                                                                                                              <field name="VAR" id="fK(5$?AE@2A(J3H-+_v5">ausgabe_rssi_device</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD4">
                                                                                                            <block type="text" id="RgKG}5J+(jN~H*bXK$T7">
                                                                                                              <field name="TEXT">&lt;/font&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD5">
                                                                                                            <block type="text" id=")e!F8)-aVWgO(cZqwYzs">
                                                                                                              <field name="TEXT"> / </field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD6">
                                                                                                            <block type="text" id="V$LuHP6#-kbXPd0gBqjs">
                                                                                                              <field name="TEXT">&lt;font color="</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD7">
                                                                                                            <block type="variables_get" id=".OtHH6r,Zg5GsfOQNx9)">
                                                                                                              <field name="VAR" id="9`.L3(5;_hA2PG1ieE!N">farbe_rssi_peer</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD8">
                                                                                                            <block type="text" id="R/Ovoz2tt*pv)~P3Y9R{">
                                                                                                              <field name="TEXT">"&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD9">
                                                                                                            <block type="variables_get" id="XpUm05soym:4jFXBXrJ)">
                                                                                                              <field name="VAR" id="s*7fEH^qAGME5RwpFJDO">ausgabe_rssi_peer</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="ADD10">
                                                                                                            <block type="text" id="FNOkRr9ztsw=j25V=I*b">
                                                                                                              <field name="TEXT">&lt;/font&gt;</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="ADD7">
                                                                                                        <block type="text" id="s[EC{kPNg|04cwb_0Z[[">
                                                                                                          <field name="TEXT">&lt;/td&gt;&lt;/tr&gt;</field>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </statement>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="update" id="MuEluk;ouLIt;jtZ$s_j">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">0_userdata.0.VIS.Akkumeldungen.hmip_akku_tabelle</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text_join" id="a|7(}Ei%ImEwZgVR9QlY">
                                                              <mutation items="5"></mutation>
                                                              <value name="ADD0">
                                                                <block type="text" id="8R]0wUngZ2{G6d=Umh,`">
                                                                  <field name="TEXT">&lt;table style="width: 80%;"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td width=10%&gt;&lt;b&gt;&lt;font size="3"&gt;Gerät&lt;/b&gt;&lt;/td&gt;&lt;/font&gt; &lt;td ALIGN="CENTER"&gt;&lt;b&gt;&lt;font size="3"&gt;Empf.&lt;/td&gt;&lt;td ALIGN="CENTER"&gt;&lt;b&gt;&lt;font size="3"&gt;Bat.&lt;/td&gt;&lt;/b&gt;&lt;td ALIGN="CENTER"&gt;&lt;b&gt;&lt;font size="3"&gt;RSSI  ↑↓&lt;/td&gt;&lt;/b&gt;&lt;/font&gt; &lt;/tr&gt;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD1">
                                                                <block type="text" id="1Jqim6lJl#Vf)3XRd^dv">
                                                                  <field name="TEXT">&lt;tr&gt; &lt;td colspan="4"&gt; &lt;hr&gt; &lt;/dt&gt; &lt;/tr&gt;</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD2">
                                                                <block type="variables_get" id="SrBTsXMtKA)[Fd[i|C}H">
                                                                  <field name="VAR" id=";O,|I4cqK/q|U6dt.?NN">falsch</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD3">
                                                                <block type="variables_get" id="^ueYD.{yOys73ekp,upE">
                                                                  <field name="VAR" id="SKh+R[G%ptX]9uv^hB,!">wahr</field>
                                                                </block>
                                                              </value>
                                                              <value name="ADD4">
                                                                <block type="text" id="DP?I5B6L:aME?fM%twD]">
                                                                  <field name="TEXT">&lt;/tbody&gt; &lt;/table&gt;</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </xml>
                                      

                                      Einfach am Ende vom Skript euren Datenpunkt angeben wo die Tabelle reingeschrieben werden soll und als Markdown einbinden.

                                      dontobi 1 Reply Last reply Reply Quote 1
                                      • dontobi
                                        dontobi @David G. last edited by

                                        @david-g Meinst du es wäre möglich die Liste noch alphabetisch zu sortieren?

                                        David G. 1 Reply Last reply Reply Quote 0
                                        • David G.
                                          David G. @dontobi last edited by

                                          @dontobi

                                          Da hab ich ehrlich gesagt keine Ahnung wie das geht.
                                          Hab das Script anfangs auch mit hilfe hier im Forum entwickelt.
                                          Mit den Schleifen und so kenne ich mich nicht so aus.
                                          Hab dann das mit den Tabellen und Farben selber gemacht.

                                          dontobi 1 Reply Last reply Reply Quote 1
                                          • Garfonso
                                            Garfonso Developer @nukleuz last edited by

                                            @nukleuz
                                            Äh, gerne. 🙂
                                            Das geht allerdings nur bei so Kleinigkeiten. 😉

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            421
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace visualization
                                            78
                                            1514
                                            434893
                                            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