Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. SONOFF NSPanel mit Lovelace UI

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    SONOFF NSPanel mit Lovelace UI

    This topic has been deleted. Only users with topic management privileges can see it.
    • Vumer
      Vumer @Armilar last edited by

      So, ich hab Screensaver komplett auf DasWetter.com umgestellt.

      0c3a6817-02f8-45d2-bb92-5dc240018186-grafik.png

      Nur noch nicht alle Icons

      @armilar

      switch (icon) {
                  case 24:        // Ice
                  case 30:        // Hot
                  case 31:        // Cold
                      return 'window-open';  // exceptional
      

      wie kommst du auf das offenen Fenster? 💨 😀

      Noch was, die Wettervorhersage wurde wahrscheinlich im Hochsommer erstellt als "max" wichtig war. Im Winter ist "min" wichtiger. 🙂 🙂 😉😀 😁 😀

      Armilar 1 Reply Last reply Reply Quote 0
      • Armilar
        Armilar Most Active Forum Testing @Vumer last edited by Armilar

        @vumer

        wie kommst du auf das offenen Fenster? 💨 😀

        Ist ganz einfach zu erklären:
        Ca. 10% vom Code des TypeScript ist nicht von mir... und der gehört dazu 😉

        Falls du das Wetter auf "Das Wetter" umgestellt hast, hast du es dann nur ersetzt? Oder bist du zweigleisig mit "Schalter" gefahren? Falls 2. Variante, dann könntest du einen Pull Request einstellen. Falls 1. Variante, dann könntest du die vollständige Icon-Übersetzung zur Verfügung stellen (Ist der nervigste Teil, da "Das Wetter" noch weniger Icons hat)

        Noch was, die Wettervorhersage wurde wahrscheinlich im Hochsommer erstellt als "max" wichtig war. Im Winter ist "min" wichtiger.

        Wenn ich das so richtig interpretiere ist der Code im Februar/März entstanden. Aber mit Blick auf Hochsommertemperaturen. Wenn ich das richtig in Erinnerung habe, dann wird es bei 25° 35° schon enger im Display unter den Wetter-Icons als bei 5° 10°

        Vumer 1 Reply Last reply Reply Quote 0
        • Vumer
          Vumer @Armilar last edited by

          @armilar sagte in SONOFF NSPanel mit Lovelace UI:

          Ist der nervigste Teil

          das kannst du laut sagen, bin noch immer nicht fertig 😉

          Falls du das Wetter auf "Das Wetter" umgestellt hast, hast du es dann nur ersetzt?

          mit einen Objekt, Blockly und dein ts angepasst . Geht wahrscheinlich einfacher aber bin nicht so Script, Sprachen und co 🙂
          Wenn ich mit den Icons fertig bin kann ich alles hier einstellen

          dann wird es bei 25° 35° schon enger im Display unter den Wetter-Icons als bei 5° 10°

          mir geht es um min-max. Im Winter ist min wichtiger ;))))

          so sieht es aus am Mo wenn wir min -20° und max -10° haben ( ich hoffe es tritt nie auf )

          95bd08c0-262a-4b9b-812e-e2f118f2764c-grafik.png

          Armilar 1 Reply Last reply Reply Quote 1
          • Armilar
            Armilar Most Active Forum Testing @Vumer last edited by Armilar

            @vumer

            habe 3 Varianten eingebaut (Min/Max/MinMax) weil ich die Idee schon gut finde...

            so sieht es aus am Mo wenn wir min -20° und max -10° haben ( ich hoffe es tritt nie auf )
            Falls das wirklich mal der Fall sein sollte, haben wir ganz andere Probleme 😉

            Selbst dann kann ich mir noch denken, dass der 2. Wert dann in °C sein sollte. Und na ja ab 100°C hätten wir auch ein anderes Problem. Denke nicht, dass das Panel dann noch läuft... 😬

            EDIT: Ich weiß was du da gerade mit dem Icon-Mapping durchmachst 😉
            Habe das auch mal mit unterschiedlichsten Adaptern gemacht und habe mich dann entschieden, dass accuweather doch kein schlechtes Wetter liefert 😂

            Wenn du fertig bist, dann nehme ich das mit auf...

            Vumer 2 Replies Last reply Reply Quote 0
            • Vumer
              Vumer @Armilar last edited by Vumer

              @armilar sagte in SONOFF NSPanel mit Lovelace UI:

              haben wir ganz andere Probleme

              😀 😀 😀

              eigentlich möchte ich später ein Panel im Flur einbauen und das Wetter auf Warnungen ändern, offene Fenster, Licht im Keller, Garage offen, Waschmaschine fertig,... Mit blinkenden Icons.
              Aber wie gesagt bin nicht so mit Script, Sprachen und co.
              Mal schauen

              1 Reply Last reply Reply Quote 0
              • Armilar
                Armilar Most Active Forum Testing @TT-Tom last edited by Armilar

                @tt-tom

                Ich wusste doch das da noch ein interessanter Punkt fast untergegangen wäre.

                ich habe einen Vorschlag zur Variable "AliasPath:" da diese Variabel auf eine feste Struktur bezieht, denke ich das eine User-Variabel vielleicht auch sinnvoll wäre aller "AliasUserPath" und die vom Panel "AliasPanelPath".
                somit muss man nicht alle Geräte unter NSPanel an siedeln und kann eine eigene Struktur nutzen.

                Hättest du einen Vorschlag? Brauche den in erster Linie für die Auto-Aliase. Das Problem wird sein, dass zum Zeitpunkt der Nutzung nur wenige User die eigene spätere Struktur kennen werden...

                D 1 Reply Last reply Reply Quote 0
                • D
                  Dieter Kurz @Armilar last edited by Dieter Kurz

                  @armilar Guten Morgen, wir haben hier heute wieder gefrierenden Regen, das Symbol hierzu aus AccuWeather wird nicht korrekt angezeigt. Hatte ich kürzlich auch schon und mich über das Symbol gewundert ....!
                  20221219_072631.jpg

                  Armilar 1 Reply Last reply Reply Quote 0
                  • Armilar
                    Armilar Most Active Forum Testing @Dieter Kurz last edited by Armilar

                    @dieter-kurz

                    Nee, das macht wirklich keinen Sinn...

                    Also das passendste was ich in den Symbolen finde ist

                    weather-snowy-rainy
                    

                    2ce92d8b-50b9-4e3e-aeae-2101c2093101-image.png

                    snowflake-alert
                    

                    45152560-ca28-44e4-9163-92409be22a71-image.png

                    snowflake-melt
                    

                    459ac843-89c9-443d-a25e-00b4501693ae-image.png

                    Da sind alle möglichen Icons drin, die wir verwenden können. Habt ihr einen alternativen Vorschlag?
                    https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html

                    EDIT: Vorschlag von meiner Seite für extremes Wetter:

                    function GetAccuWeatherIcon(icon: number): string {
                        try {
                            switch (icon) {
                                case 30:        // Hot
                                    return 'weather-sunny-alert'; // exceptional
                    
                                case 24:        // Ice
                                case 31:        // Cold
                                    return 'snowflake-alert';  // exceptional
                    
                    D 1 Reply Last reply Reply Quote 0
                    • D
                      Dieter Kurz @Armilar last edited by Dieter Kurz

                      @armilar So sieht das Symbol bei AccuWeather aus

                      925e91c2-e2d8-4c6f-a3dc-d4f96ed197d2-image.png

                      Vielleicht könnte das ja jemand "nachbauen", ich hab da leide kein Talent 😉

                      Armilar 1 Reply Last reply Reply Quote 0
                      • Vumer
                        Vumer @Armilar last edited by Vumer

                        @armilar sagte in SONOFF NSPanel mit Lovelace UI:

                        Wenn du fertig bist, dann nehme ich das mit auf..

                        Ich weiß nicht ob du das so übernehmen kannst, eventuell kann man das auch besser oder anders machen.
                        So habe ich das für ioBroker.DasWetter angepasst.
                        G für gemeinsamer Ordner
                        0_userdata.0.NSPanel.G.Wetter.Forecast.json


                        {
                        "0_userdata.0.NSPanel.G.Wetter.Forecast": {
                        "type": "channel",
                        "common": {
                        "name": "Weather Forecast"
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast",
                        "acl": {
                        "object": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373336152
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d1": {
                        "type": "state",
                        "common": {
                        "name": "Day of week day 1",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "dayofweek.forecast.0",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d1",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373336297
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d2": {
                        "type": "state",
                        "common": {
                        "name": "Day of week day 2",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "dayofweek.forecast.1",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d2",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373336313
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d3": {
                        "type": "state",
                        "common": {
                        "name": "Day of week day 3",
                        "type": "string",
                        "read": true,
                        "write": true,
                        "role": "dayofweek.forecast.2",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d3",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373336332
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d4": {
                        "type": "state",
                        "common": {
                        "name": "Day of week day 4",
                        "type": "string",
                        "read": true,
                        "write": true,
                        "role": "dayofweek.forecast.3",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d4",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373336355
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d5": {
                        "type": "state",
                        "common": {
                        "name": "Day of week day 5",
                        "type": "string",
                        "read": true,
                        "write": true,
                        "role": "dayofweek.forecast.4",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.DayOfWeek_d5",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373336380
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d1": {
                        "type": "state",
                        "common": {
                        "name": "Temperature day 1",
                        "type": "number",
                        "read": true,
                        "write": false,
                        "role": "value.temperature.forecast.0",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d1",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671399468841
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d2": {
                        "type": "state",
                        "common": {
                        "name": "Temperature day 2",
                        "type": "mixed",
                        "read": true,
                        "write": false,
                        "role": "value.temperature.forecast.1",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d2",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671399475152
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d3": {
                        "type": "state",
                        "common": {
                        "name": "Temperature day 3",
                        "type": "number",
                        "read": true,
                        "write": false,
                        "role": "value.temperature.forecast.2",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d3",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671399481522
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d4": {
                        "type": "state",
                        "common": {
                        "name": "Temperature day 4",
                        "type": "number",
                        "read": true,
                        "write": false,
                        "role": "value.temperature.forecast.3",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d4",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671399489265
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d5": {
                        "type": "state",
                        "common": {
                        "name": "Temperature day 5",
                        "type": "number",
                        "read": true,
                        "write": false,
                        "role": "value.temperature.forecast.4",
                        "unit": ""
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.Temp_d5",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671399495304
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d1": {
                        "type": "state",
                        "common": {
                        "name": "Weather Icon day 1",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "weather.icon.name.forecast.0"
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d1",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373338156
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d2": {
                        "type": "state",
                        "common": {
                        "name": "Weather Icon day 2",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "weather.icon.name.forecast.1"
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d2",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373338174
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d3": {
                        "type": "state",
                        "common": {
                        "name": "Weather Icon day 3",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "weather.icon.name.forecast.2"
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d3",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373338196
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d4": {
                        "type": "state",
                        "common": {
                        "name": "Weather Icon day 4",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "weather.icon.name.forecast.3"
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d4",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373338213
                        },
                        "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d5": {
                        "type": "state",
                        "common": {
                        "name": "Weather Icon day 5",
                        "type": "string",
                        "read": true,
                        "write": false,
                        "role": "weather.icon.name.forecast.4"
                        },
                        "native": {},
                        "_id": "0_userdata.0.NSPanel.G.Wetter.Forecast.WeatherIcon_d5",
                        "acl": {
                        "object": 1636,
                        "state": 1636,
                        "owner": "system.user.admin",
                        "ownerGroup": "system.group.administrator"
                        },
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671373338240
                        }
                        }

                        Blockly

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <block type="on" id="=-RD+F[QK[CFGi85zl}}" x="38" y="313">
                            <field name="OID">daswetter.0.NextDays.Location_1.Day_1.Tag_value</field>
                            <field name="CONDITION">ne</field>
                            <field name="ACK_CONDITION"></field>
                            <statement name="STATEMENT">
                              <block type="update" id="c*!Ju/BKs3zP6DRCzE5v">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.DayOfWeek_d1</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text_getSubstring" id="_8GEul]RV!MCmj832jJR">
                                    <mutation at1="false" at2="true"></mutation>
                                    <field name="WHERE1">FIRST</field>
                                    <field name="WHERE2">FROM_START</field>
                                    <value name="STRING">
                                      <block type="on_source" id="1Q~0V{%4?7SdnjRYZmi(">
                                        <field name="ATTR">state.val</field>
                                      </block>
                                    </value>
                                    <value name="AT2">
                                      <block type="math_number" id="_d0Q%V{{!V1-u/*Q7XU)">
                                        <field name="NUM">2</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <next>
                              <block type="on" id=";-6Flm5hUp9pzC^7H):j">
                                <field name="OID">daswetter.0.NextDays.Location_1.Day_2.Tag_value</field>
                                <field name="CONDITION">ne</field>
                                <field name="ACK_CONDITION"></field>
                                <statement name="STATEMENT">
                                  <block type="update" id="R+{O%cq!FE_Gz;obS`F2">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.DayOfWeek_d2</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text_getSubstring" id=")5hX!4{7cf-F.UM=$]c,">
                                        <mutation at1="false" at2="true"></mutation>
                                        <field name="WHERE1">FIRST</field>
                                        <field name="WHERE2">FROM_START</field>
                                        <value name="STRING">
                                          <block type="on_source" id="rh$1Em2ZfP(1GQ}:}A?h">
                                            <field name="ATTR">state.val</field>
                                          </block>
                                        </value>
                                        <value name="AT2">
                                          <block type="math_number" id="JB]!qg7ckP,7Ks#*lxm@">
                                            <field name="NUM">2</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </statement>
                                <next>
                                  <block type="on" id="/mLwGtp0l1b;b7]QytEU">
                                    <field name="OID">daswetter.0.NextDays.Location_1.Day_3.Tag_value</field>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <statement name="STATEMENT">
                                      <block type="update" id="zOc(=C^k`T~%lL1?PJ,W">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.DayOfWeek_d3</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text_getSubstring" id="I/Tpaam{7X?U{:Mm9Of@">
                                            <mutation at1="false" at2="true"></mutation>
                                            <field name="WHERE1">FIRST</field>
                                            <field name="WHERE2">FROM_START</field>
                                            <value name="STRING">
                                              <block type="on_source" id="w?580kCA9NjBy~WX,$N[">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                            <value name="AT2">
                                              <block type="math_number" id="Z,Vo.^+X76j;^UEX^/VL">
                                                <field name="NUM">2</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="on" id="4_,LD@)ocp=]uODVT$sk">
                                        <field name="OID">daswetter.0.NextDays.Location_1.Day_4.Tag_value</field>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <statement name="STATEMENT">
                                          <block type="update" id="|FL*e6#][CntdDwO46_|">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                            <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.DayOfWeek_d4</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text_getSubstring" id=";$i5U,UkHj]zxN~PDXh:">
                                                <mutation at1="false" at2="true"></mutation>
                                                <field name="WHERE1">FIRST</field>
                                                <field name="WHERE2">FROM_START</field>
                                                <value name="STRING">
                                                  <block type="on_source" id="{@:jT?@JQ-m[Pm^Jgq)?">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="AT2">
                                                  <block type="math_number" id="!A:jeQLW/oxAtu#SKoi,">
                                                    <field name="NUM">2</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="on" id="fHXwq#%}ub%!WD)h(rG_">
                                            <field name="OID">daswetter.0.NextDays.Location_1.Day_5.Tag_value</field>
                                            <field name="CONDITION">ne</field>
                                            <field name="ACK_CONDITION"></field>
                                            <statement name="STATEMENT">
                                              <block type="update" id="DkLTxs{NiV[6ip)23}(?">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.DayOfWeek_d5</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text_getSubstring" id="{U,1E=WT41-Yrc1percp">
                                                    <mutation at1="false" at2="true"></mutation>
                                                    <field name="WHERE1">FIRST</field>
                                                    <field name="WHERE2">FROM_START</field>
                                                    <value name="STRING">
                                                      <block type="on_source" id="3yFRKzn`+C3s:hC+DH8l">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="AT2">
                                                      <block type="math_number" id="?UL9h5yXmQij6+yUaMqe">
                                                        <field name="NUM">2</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="on_ext" id="hr9S!iFGa$x}CT8C13g+">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                <field name="CONDITION">ne</field>
                                                <field name="ACK_CONDITION"></field>
                                                <value name="OID0">
                                                  <shadow type="field_oid" id="]_mN3!v8YmD.EkFz/N4D">
                                                    <field name="oid">default</field>
                                                  </shadow>
                                                  <block type="field_oid" id="p4eV.mdO4egtx}j,0qL1">
                                                    <field name="oid">daswetter.0.NextDays.Location_1.Day_1.Minimale_Temperatur_value</field>
                                                  </block>
                                                </value>
                                                <value name="OID1">
                                                  <shadow type="field_oid" id="zLviln}e!*{$r~B9%7hr">
                                                    <field name="oid">default</field>
                                                  </shadow>
                                                  <block type="field_oid" id="bu;|FvkK!P?KSY|vjeXR">
                                                    <field name="oid">daswetter.0.NextDays.Location_1.Day_1.Maximale_Temperatur_value</field>
                                                  </block>
                                                </value>
                                                <statement name="STATEMENT">
                                                  <block type="update" id="7D2p`xlQ}.1!{)KQCHc)">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.Temp_d1</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text_join" id="nhrPB?uW?H/(ArSiYm/p">
                                                        <mutation items="4"></mutation>
                                                        <value name="ADD0">
                                                          <block type="get_value" id="]E9GyMuKRru+#h#H9hHY">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">daswetter.0.NextDays.Location_1.Day_1.Minimale_Temperatur_value</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD1">
                                                          <block type="text" id="Qy3nrsHc8gQ?M+vP8})%">
                                                            <field name="TEXT">° </field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD2">
                                                          <block type="get_value" id="e1,HZp}}{p_YZ8vnp,y@">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">daswetter.0.NextDays.Location_1.Day_1.Maximale_Temperatur_value</field>
                                                          </block>
                                                        </value>
                                                        <value name="ADD3">
                                                          <block type="text" id="n:*Ah5^kMm^y{zRD_0YO">
                                                            <field name="TEXT">°</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="on_ext" id=":R#aX)$()T@VOSEj{2C]">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                    <field name="CONDITION">ne</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid">
                                                        <field name="oid">default</field>
                                                      </shadow>
                                                      <block type="field_oid" id="YmttR63CnzYUPRpv)I}r">
                                                        <field name="oid">daswetter.0.NextDays.Location_1.Day_2.Minimale_Temperatur_value</field>
                                                      </block>
                                                    </value>
                                                    <value name="OID1">
                                                      <shadow type="field_oid">
                                                        <field name="oid">default</field>
                                                      </shadow>
                                                      <block type="field_oid" id="xx7Lf%Tcy[=BOEjTzs#w">
                                                        <field name="oid">daswetter.0.NextDays.Location_1.Day_2.Maximale_Temperatur_value</field>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="update" id="WXQJca7bak+dyJt]-u?m">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.Temp_d2</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text_join" id=")w^CFKmAr~I01WE9N.g+">
                                                            <mutation items="4"></mutation>
                                                            <value name="ADD0">
                                                              <block type="get_value" id="a6}pqsYbzKY4[~{#t.7M">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">daswetter.0.NextDays.Location_1.Day_2.Minimale_Temperatur_value</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text" id="7SOCJ-cva$?8]VlL7%9m">
                                                                <field name="TEXT">° </field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD2">
                                                              <block type="get_value" id=")7YAJ?sYei6t^#B|A;f8">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">daswetter.0.NextDays.Location_1.Day_2.Maximale_Temperatur_value</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD3">
                                                              <block type="text" id="WY:d$xZpTx0FhUkaA@i}">
                                                                <field name="TEXT">°</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="on_ext" id="}2k;tXY/$/#|X{{#[vZt">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                        <field name="CONDITION">ne</field>
                                                        <field name="ACK_CONDITION"></field>
                                                        <value name="OID0">
                                                          <shadow type="field_oid">
                                                            <field name="oid">default</field>
                                                          </shadow>
                                                          <block type="field_oid" id="Y0QjXc4nGv@5})+-9Eu?">
                                                            <field name="oid">daswetter.0.NextDays.Location_1.Day_3.Minimale_Temperatur_value</field>
                                                          </block>
                                                        </value>
                                                        <value name="OID1">
                                                          <shadow type="field_oid">
                                                            <field name="oid">default</field>
                                                          </shadow>
                                                          <block type="field_oid" id="_Rnj}*fX~5%Pk|V1[B!|">
                                                            <field name="oid">daswetter.0.NextDays.Location_1.Day_3.Maximale_Temperatur_value</field>
                                                          </block>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="update" id="*k`K.u~rN-^6;9T#$oKq">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.Temp_d3</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text_join" id="hoKVI[-W:W*H14C)TWQ^">
                                                                <mutation items="4"></mutation>
                                                                <value name="ADD0">
                                                                  <block type="get_value" id="raBJS2okpTrvx)2A8@8A">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">daswetter.0.NextDays.Location_1.Day_3.Minimale_Temperatur_value</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD1">
                                                                  <block type="text" id="uJ#FwWOMgyPWZ:OS7LgK">
                                                                    <field name="TEXT">° </field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD2">
                                                                  <block type="get_value" id="1-7u|$?tZ?_s9Ydi`(]Z">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">daswetter.0.NextDays.Location_1.Day_3.Maximale_Temperatur_value</field>
                                                                  </block>
                                                                </value>
                                                                <value name="ADD3">
                                                                  <block type="text" id="c?yE|X8n#T6tDSX|4LXs">
                                                                    <field name="TEXT">°</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="on_ext" id="8g-#XIB(N9jv$hC[Yw=;">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                            <field name="CONDITION">ne</field>
                                                            <field name="ACK_CONDITION"></field>
                                                            <value name="OID0">
                                                              <shadow type="field_oid">
                                                                <field name="oid">default</field>
                                                              </shadow>
                                                              <block type="field_oid" id="g%Z]q]{a:[H4gr^.ix=U">
                                                                <field name="oid">daswetter.0.NextDays.Location_1.Day_4.Minimale_Temperatur_value</field>
                                                              </block>
                                                            </value>
                                                            <value name="OID1">
                                                              <shadow type="field_oid">
                                                                <field name="oid">default</field>
                                                              </shadow>
                                                              <block type="field_oid" id="B3m)BKz[=lYLR715*6V2">
                                                                <field name="oid">daswetter.0.NextDays.Location_1.Day_4.Maximale_Temperatur_value</field>
                                                              </block>
                                                            </value>
                                                            <statement name="STATEMENT">
                                                              <block type="update" id="N7cXvS8dhb?Y*=W6sn0E">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.Temp_d4</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text_join" id="fJhfgM{e-CF~cCwcQk00">
                                                                    <mutation items="4"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="get_value" id="Vu=8[w!{JR*sNdQ/m6P+">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">daswetter.0.NextDays.Location_1.Day_4.Minimale_Temperatur_value</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text" id="$j24q%$+J#3*I/$~ZyE^">
                                                                        <field name="TEXT">° </field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD2">
                                                                      <block type="get_value" id="|6s^?i.d!V2u@+PWt{O/">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">daswetter.0.NextDays.Location_1.Day_4.Maximale_Temperatur_value</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD3">
                                                                      <block type="text" id="/:mxs+P1Nq-i24[pn(5S">
                                                                        <field name="TEXT">°</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="on_ext" id="NZPjB4`YG$%O`FWT(sqi">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                                                <field name="CONDITION">ne</field>
                                                                <field name="ACK_CONDITION"></field>
                                                                <value name="OID0">
                                                                  <shadow type="field_oid">
                                                                    <field name="oid">default</field>
                                                                  </shadow>
                                                                  <block type="field_oid" id="sp+DT5@tY,7VSR3F,NN~">
                                                                    <field name="oid">daswetter.0.NextDays.Location_1.Day_5.Minimale_Temperatur_value</field>
                                                                  </block>
                                                                </value>
                                                                <value name="OID1">
                                                                  <shadow type="field_oid">
                                                                    <field name="oid">default</field>
                                                                  </shadow>
                                                                  <block type="field_oid" id="~g:Q]oXI2|SQuWew7L8k">
                                                                    <field name="oid">daswetter.0.NextDays.Location_1.Day_5.Maximale_Temperatur_value</field>
                                                                  </block>
                                                                </value>
                                                                <statement name="STATEMENT">
                                                                  <block type="update" id=":GwX/U.w%qZDXK#dqb4=">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">0_userdata.0.NSPanel.O.Wetter.Forecast.Temp_d5</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="text_join" id="T4@e*m+DGlTihrI]wu5X">
                                                                        <mutation items="4"></mutation>
                                                                        <value name="ADD0">
                                                                          <block type="get_value" id="q[K(SS~4%a0i8qaJAZA1">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">daswetter.0.NextDays.Location_1.Day_5.Minimale_Temperatur_value</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD1">
                                                                          <block type="text" id="-YkhgoP|tsv%%[W=jE-d">
                                                                            <field name="TEXT">° </field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD2">
                                                                          <block type="get_value" id="0Q!Efuo@4F-4~SnYYUTW">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">daswetter.0.NextDays.Location_1.Day_5.Maximale_Temperatur_value</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD3">
                                                                          <block type="text" id="Yd9Ie]0i9rn9NfbyV?Hl">
                                                                            <field name="TEXT">°</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="direct" id="KzblwI)x?RW`H-5yV73A">
                                                                    <field name="ONLY_CHANGES">TRUE</field>
                                                                    <value name="OID_SRC">
                                                                      <shadow type="field_oid" id="bN4X7{`q2d@NG0{SIQ]S">
                                                                        <field name="oid">daswetter.0.NextDays.Location_1.Day_1.Wetter_Symbol_id</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <value name="OID_DST">
                                                                      <shadow type="field_oid" id="sZGMk$?^.s8^3H-%LqLK">
                                                                        <field name="oid">0_userdata.0.NSPanel.O.Wetter.Forecast.WeatherIcon_d1</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <next>
                                                                      <block type="direct" id="8Q1l.suz9WwoTLDktvd[">
                                                                        <field name="ONLY_CHANGES">TRUE</field>
                                                                        <value name="OID_SRC">
                                                                          <shadow type="field_oid" id="M|rrkRs(ou6Z?BiOg}JX">
                                                                            <field name="oid">daswetter.0.NextDays.Location_1.Day_2.Wetter_Symbol_id</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <value name="OID_DST">
                                                                          <shadow type="field_oid" id="@o%#41lIto[u3Akk}MX}">
                                                                            <field name="oid">0_userdata.0.NSPanel.O.Wetter.Forecast.WeatherIcon_d2</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <next>
                                                                          <block type="direct" id="OoG#WhvB91K%9WJ|1{W=">
                                                                            <field name="ONLY_CHANGES">TRUE</field>
                                                                            <value name="OID_SRC">
                                                                              <shadow type="field_oid" id="eO/5Ld74N^t[N8=]8xZ]">
                                                                                <field name="oid">daswetter.0.NextDays.Location_1.Day_3.Wetter_Symbol_id</field>
                                                                              </shadow>
                                                                            </value>
                                                                            <value name="OID_DST">
                                                                              <shadow type="field_oid" id="(C4LPXIL:Q]l?:pa5Qvi">
                                                                                <field name="oid">0_userdata.0.NSPanel.O.Wetter.Forecast.WeatherIcon_d3</field>
                                                                              </shadow>
                                                                            </value>
                                                                            <next>
                                                                              <block type="direct" id="}B3%_j_I0sqiA5$1=%][">
                                                                                <field name="ONLY_CHANGES">TRUE</field>
                                                                                <value name="OID_SRC">
                                                                                  <shadow type="field_oid" id="a8Flm@;PvUlP8j444m}t">
                                                                                    <field name="oid">daswetter.0.NextDays.Location_1.Day_4.Wetter_Symbol_id</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <value name="OID_DST">
                                                                                  <shadow type="field_oid" id="Gq-SCr;8?OC^Q{l*nEXD">
                                                                                    <field name="oid">0_userdata.0.NSPanel.O.Wetter.Forecast.WeatherIcon_d4</field>
                                                                                  </shadow>
                                                                                </value>
                                                                                <next>
                                                                                  <block type="direct" id="]-ejTmSb]UnE-DVzn;]J">
                                                                                    <field name="ONLY_CHANGES">TRUE</field>
                                                                                    <value name="OID_SRC">
                                                                                      <shadow type="field_oid" id=".03|%d/1f2ae6^5y:.Ap">
                                                                                        <field name="oid">daswetter.0.NextDays.Location_1.Day_5.Wetter_Symbol_id</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                    <value name="OID_DST">
                                                                                      <shadow type="field_oid" id="X,n)52(ou^RCo10Ixp%C">
                                                                                        <field name="oid">0_userdata.0.NSPanel.O.Wetter.Forecast.WeatherIcon_d5</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </xml>
                        

                        Angepasster ts

                                    if (weatherForecast) {
                                        // AccuWeather Forecast Tag 2 - Tag 5 -- Wenn weatherForecast = true
                                        for (let i = 2; i < 6; i++) {
                                            let TempMax = getState('0_userdata.0.NSPanel.G.Wetter.Summary.TempMax_d' + i).val;
                                            let DayOfWeek = getState('0_userdata.0.NSPanel.G.Wetter.Summary.DayOfWeek_d' + i).val;
                                            let WeatherIcon = GetAccuWeatherIcon(getState('0_userdata.0.NSPanel.G.Wetter.Summary.WeatherIcon_d' + i).val);
                                            vwIconColor[i-1] = GetAccuWeatherIconColor(getState('0_userdata.0.NSPanel.G.Wetter.Summary.WeatherIcon_d' + i).val);
                                            if (Debug) {
                                                console.log(vwIconColor[i - 1]);
                                            }
                                            payloadString += DayOfWeek + '~' + Icons.GetIcon(WeatherIcon) + '~' + TempMax +  '~';
                                        }
                        

                        und die daswetter Icons

                        function GetAccuWeatherIcon(icon: number): string {
                            try {
                                switch (icon) {
                        		    case 1:         // Sonnig
                                         return 'weather-sunny';  // sunny
                        
                        			case 2:         // Teils bewölkt
                                    case 3:         // Bewölkt
                                        return 'weather-partly-cloudy';  // partlycloudy
                        				
                                    case 4:         // Bedeckt
                                        return 'weather-cloudy';  // cloudy
                        				
                                    case 5:        // Teils bewölkt mit leichtem Regen
                                    case 6:        // Bewölkt mit leichtem Regen
                                    case 8:        // Teils bewölkt mit mäßigem Regen
                                    case 9:        // Bewölkt mit mäßigem Regen
                                        return 'weather-partly-rainy';  // partly-rainy
                        				
                                    case 7:        // Bedeckt mit leichtem Regen
                                        return 'weather-rainy';  // rainy
                        				
                        		    case 10:        // Bedeckt mit mäßigem Regen
                                        return 'weather-pouring';  // pouring
                        				
                                    case 11:        // Teils bewölkt mit starken Regenschauern
                                    case 12:        // Bewölkt mit stürmischen Regenschauern
                                        return 'weather-partly-lightning';  // partlylightning
                        				
                                    case 13:        // Bedeckt mit stürmischen Regenschauern
                                        return 'weather-lightning';  // lightning
                        				
                                    case 14:        // Teils bewölkt mit stürmischen Regenschauern und Hagel
                        			case 15:        // Bewölkt mit stürmischen Regenschauern und Hagel
                        			case 16:        // Bedeckt mit stürmischen Regenschauern und Hagel
                                        return 'weather-hail';  // Hail
                        
                                    case 17:        // Teils bewölkt mit Schnee
                                    case 18:        // Bewölkt mit Schnee
                                        return 'weather-partly-snowy';  // partlysnowy
                        				
                        			case 19:        // Bedeckt mit Schneeschauern
                                        return 'weather-snowy';  // snowy
                        
                                    case 20:        // Teils bewölkt mit Schneeregen
                                    case 21:        // Bewölkt mit Schneeregen
                                        return 'weather-partly-snowy-rainy';
                        
                                    case 22:        // Bedeckt mit Schneeregen
                                        return 'weather-snowy-rainy';  // snowy-rainy
                        
                                    default:
                                        return 'alert-circle-outline';
                                }
                            } catch (err) {
                                console.warn('GetAccuWeatherIcon: '+ err.message);
                            }
                        }
                        
                        function GetAccuWeatherIconColor(icon: number): number {
                            try{
                                switch (icon) {
                                    case 1:         // Sonnig
                                        return rgb_dec565(swSunny);
                        
                                    case 2:         // Teils bewölkt
                                    case 3:         // Bewölkt
                                        return rgb_dec565(swPartlycloudy);
                        
                                    case 4:         // Bedeckt
                                        return rgb_dec565(swCloudy);
                        
                                    case 5:        // Teils bewölkt mit leichtem Regen
                                    case 6:        // Bewölkt mit leichtem Regen
                                    case 8:        // Teils bewölkt mit mäßigem Regen
                                    case 9:        // Bewölkt mit mäßigem Regen
                                        return rgb_dec565(swRainy);
                        
                                    case 7:        // Bedeckt mit leichtem Regen
                                        return rgb_dec565(swRainy);
                        
                                    case 10:        // Bedeckt mit mäßigem Regen
                                        return rgb_dec565(swPouring);
                        
                                    case 11:        // Teils bewölkt mit starken Regenschauern
                                    case 12:        // Bewölkt mit stürmischen Regenschauern
                                        return rgb_dec565(swLightningRainy);
                        
                                    case 13:        // Bedeckt mit stürmischen Regenschauern
                                        return rgb_dec565(swLightning);
                        
                                    case 14:        // Teils bewölkt mit stürmischen Regenschauern und Hagel
                        			case 15:        // Bewölkt mit stürmischen Regenschauern und Hagel
                        			case 16:        // Bedeckt mit stürmischen Regenschauern und Hagel
                                        return rgb_dec565(swHail);
                        
                                    case 17:        // Teils bewölkt mit Schnee
                                    case 18:        // Bewölkt mit Schnee
                                        return rgb_dec565(swSnowy);
                        
                                    case 19:        // Bedeckt mit Schneeschauern
                                        return rgb_dec565(swSnowy);
                        
                                    case 20:        // Teils bewölkt mit Schneeregen
                                    case 21:        // Bewölkt mit Schneeregen
                                        return rgb_dec565(swSnowyRainy);  // snowy-rainy
                        
                                    case 22:        // Bedeckt mit Schneeregen
                                        return rgb_dec565(swSnowyRainy);
                        
                                    default:
                                        return rgb_dec565(White);
                                }
                            } catch (err) {
                                console.warn('GetAccuWeatherIconColor: '+ err.message);
                            }
                        }
                        
                        Mit den Farben bin ich mir nicht sicher :grin: 
                        
                        Armilar 2 Replies Last reply Reply Quote 1
                        • Armilar
                          Armilar Most Active Forum Testing @Dieter Kurz last edited by

                          @dieter-kurz

                          Du kannst nur Symbole aus der Datei nehmen.

                          https://htmlpreview.github.io/?https://github.com/jobr99/Generate-HASP-Fonts/blob/master/cheatsheet.html

                          Da sind wir eingeschränkt. Aber besonders clever gewählt ist das Symbol von accuweather ja nun auch nicht 😉

                          1 Reply Last reply Reply Quote 0
                          • Armilar
                            Armilar Most Active Forum Testing @Vumer last edited by Armilar

                            @vumer sagte in SONOFF NSPanel mit Lovelace UI:

                            Ich weiß nicht ob du das so übernehmen kannst, eventuell kann man das auch besser oder anders machen.

                            Für mich sind nur die Übersetzungen interessant. Werde eine Adapter-Weiche als Schalter einbauen und in die entsprechenden Adapter-Inhalte und Icon-Übersetzungen setzen.

                            Produktiv werde ich das wahrscheinlich nicht nutzen, da "Das Wetter" zumindest für meinen Standort nicht besonders gute Werte liefert. Aber bei anderen kann das schon wieder anders aussehen.

                            1 Reply Last reply Reply Quote 0
                            • C
                              coto last edited by

                              Wer hat den Erfahrung mit der Thermostat Steuerung?
                              Ich habe Homematic HM-CC-RT-DN und bekomm die Steuerung der Modi nicht in den Griff.
                              Vielleicht hat jemand einen Denkanstoß für mich.

                              Armilar 1 Reply Last reply Reply Quote 0
                              • Armilar
                                Armilar Most Active Forum Testing @coto last edited by

                                @coto

                                Wie sehen denn die Datenpunkte vom HM-CC-RT-DN aus? Und ein kleiner Blick auf die möglichen Werte für Modi...

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

                                  @vumer sagte in SONOFF NSPanel mit Lovelace UI:

                                  Ich weiß nicht ob du das so übernehmen kannst

                                  So habe den "Das Wetter"-Adapter als Alternative zum "AccuWeather" dann noch kurzerhand eingebaut. Falls jemand Interesse hat, kann ich noch eine 3.6.0.5 auskoppeln. Dann bitte kurz bescheid sagen.

                                  Greift dann auf die Icon-Übersetzungen (Symbole/Symbolfarben) von @Vumer zu. Ebenfalls werden dann Temperaturen (Min/Max) vom "Das Wetter"-Adapter genommen.

                                  Zusätzliches Blockly ist daher nicht erforderlich...

                                  Auch der AutoAlias für das Wetter unterscheidet somit den gewählten Adapter.

                                  Kleine Info.
                                  Der Adapter "Das Wetter" hat offensichtlich eine multilinguale Übertragung der Datenpunkte, was per sé nicht sonderlich clever gelöst ist. In anderen Sprachen (neben deutsch) ist dann evtl. eine Übersetzung der Datenpunkte erforderlich...

                                  EDIT:
                                  @Vumer: Bislang sehen die Farben ganz okay aus... Ich lasse den auch aktuell mitlaufen...

                                  G 1 Reply Last reply Reply Quote 1
                                  • C
                                    coto @Armilar last edited by

                                    @armilar

                                    Hi, hier fehlt mir irgendwie noch der Bezug dazu, wie die Datenpunkte Einfluss auf das Thermostat haben.
                                    'Mode wird über externe Datenpunkte gesteuert. Hierzu legst du dir unter 0_userdate.0. einen Ordner deiner Wahl an. In diesem Ordner können jetzt bis zu 5 Datenpunkte (Alle vom Typ boolean (true/false)) angelegt werden:"

                                    Der Control_Mode ist nur lesbar.

                                    {
                                      "type": "state",
                                      "common": {
                                        "name": "HZ Wohnzimmer:4.CONTROL_MODE",
                                        "type": "number",
                                        "role": "indicator",
                                        "def": 0,
                                        "min": 0,
                                        "max": 3,
                                        "read": true,
                                        "write": false,
                                        "states": {
                                          "0": "AUTO-MODE",
                                          "1": "MANU-MODE",
                                          "2": "PARTY-MODE",
                                          "3": "BOOST-MODE"
                                        },
                                        "smartName": {
                                          "de": "Hm cc rt dn oeq0667828:4 control mode"
                                        }
                                      },
                                      "native": {
                                        "CONTROL": "HEATING_CONTROL.CONTROL_MODE",
                                        "ID": "CONTROL_MODE",
                                        "TYPE": "ENUM",
                                        "UNIT": "",
                                        "DEFAULT": 0,
                                        "FLAGS": 1,
                                        "MAX": 3,
                                        "MIN": 0,
                                        "OPERATIONS": 5,
                                        "TAB_ORDER": 0,
                                        "VALUE_LIST": [
                                          "AUTO-MODE",
                                          "MANU-MODE",
                                          "PARTY-MODE",
                                          "BOOST-MODE"
                                        ]
                                      },
                                      "_id": "hm-rpc.0.OEQ0667828.4.CONTROL_MODE",
                                      "acl": {
                                        "object": 1636,
                                        "owner": "system.user.admin",
                                        "ownerGroup": "system.group.administrator",
                                        "state": 1636
                                      },
                                      "from": "system.adapter.admin.0",
                                      "user": "system.user.admin",
                                      "ts": 1669474641018
                                    }
                                    

                                    d94e9b23-4327-45ff-9e5f-6cdfa1a93ee8-image.png

                                    Eine weitere Frage, die Subpages von ServicePage "NSPanel Service" sind bei mir leer. Muss da auch was Manuel angelegt werden?
                                    "Service Pages mit Auto-Alias (Nachfolgende Seiten werden mit Alias automatisch angelegt)"

                                    Armilar 1 Reply Last reply Reply Quote 0
                                    • Armilar
                                      Armilar Most Active Forum Testing @coto last edited by Armilar

                                      @coto

                                      Muss erstmal die Logik von den Dingern verstehen (Da ist jeder Adapter unterschiedlich):

                                      AUTO_MODE true =AUTO=0
                                      AUTO_MODE false=MANU=1
                                      BOOST_MODE true=BOOST=3

                                      Wie wird denn der Party Modus aktiviert? Wird der benötigt?

                                      SET_TEMPERATUR = Setpoint = SET
                                      BATTERY_STATE (in V) benötigt für LOWBAT eine Übersetzung (z.B. < 2.5V = LOWBAT true)
                                      FAULT_REPORTING > 0 = Fehler / = 0 = kein Fehler

                                      ACTUAL = aktuelle Raumtemperatur entweder vom Panels-sensor oder externer Sensor

                                      Soll sonst noch etwas abgebildet werden?


                                      Zur 2. Frage:
                                      Welche Subpages sind denn in der Config unter Subpages eingetragen?

                                      f9cf1ac6-590b-4150-82d7-53a4086760b6-image.png

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        coto @Armilar last edited by

                                        @armilar

                                        Vielleicht brauch ich auch mal neue Thermostate. Welche hast du den getestet die auch funktionieren mit den Datenpunkten.

                                        AUTO_MODE true =AUTO=0
                                        AUTO_MODE false= keine Auswirkung
                                        BOOST_MODE true=BOOST=3

                                        MANU_MODE - ändern der Temperatur in diesem Datenpunkt = MANU=1 und SET_TEMPERATUR bekommt Wert von MANU_MODE

                                        alles noch Original.

                                        /********************************************************************************************************** */
                                        //Service Pages mit Auto-Alias (Nachfolgende Seiten werden mit Alias automatisch angelegt)
                                        /********************************************************************************************************** */
                                        
                                        let Service: PageEntities =
                                        {
                                            "type": "cardEntities",
                                            "heading": "NSPanel Service",
                                            "useColor": true,
                                            "subPage": false,
                                            "parent": undefined, 
                                            "items": [
                                                <PageItem>{ id: AliasPath + 'autoUpdate', name: "Auto-Updates" ,icon: "update", offColor: MSRed, onColor: MSGreen},
                                                <PageItem>{ navigate: true, id: "NSPanel_Infos", icon: "information-outline", onColor: White, name: "NSPanel Infos"},
                                                <PageItem>{ navigate: true, id: "NSPanel_Firmware_Info", icon: "update", onColor: White, name: "Firmware Infos"},
                                                <PageItem>{ navigate: true, id: "NSPanel_Einstellungen", icon: "wrench-outline", onColor: White, name: "Screensaver"}
                                            ]
                                        };
                                        
                                                //Subpage 1 von Subpages_2
                                                let NSPanel_Infos: PageEntities =
                                                {
                                                    "type": "cardEntities",
                                                    "heading": "NSPanel Infos",
                                                    "useColor": true,
                                                    "subPage": true,
                                                    "parent": Service,
                                                    "items": [
                                                        <PageItem>{ id: AliasPath + 'Tasmota.Hardware', name: 'Hardware', icon: 'memory', offColor: MSYellow, onColor: MSYellow, useColor: true},
                                                        <PageItem>{ id: AliasPath + 'Sensor.ESP32.Temperature', name: "ESP Temperatur", icon: "thermometer", unit: "°C", offColor: MSYellow, onColor: MSYellow, useColor: true},
                                                        <PageItem>{ id: AliasPath + 'Tasmota.Uptime', name: "Uptime", icon: "timeline-clock-outline", offColor: MSYellow, onColor: MSYellow, useColor: true},
                                                        <PageItem>{ id: AliasPath + 'Tasmota.Wifi.RSSI', name: "Wifi-Signal", icon: "signal-distance-variant", unit: "dBm", offColor: MSYellow, onColor: MSYellow, useColor: true}
                                                    ]
                                                };
                                        
                                                //Subpage 2 von Subpages_2
                                                let NSPanel_Einstellungen: PageEntities =
                                                {
                                                    'type': 'cardEntities',
                                                    'heading': 'Screensaver',
                                                    'useColor': true,
                                                    'subPage': true,
                                                    'parent': Service,
                                                    'items': [
                                                        <PageItem>{ id: AliasPath + 'Dimmode.brightnessDay', name: 'Brightness Tag', icon: 'brightness-5', offColor: MSYellow, onColor: MSYellow, useColor: true, minValue: 5, maxValue: 10},
                                                        <PageItem>{ id: AliasPath + 'Dimmode.brightnessNight', name: 'Brightness Nacht', icon: 'brightness-4', offColor: MSYellow, onColor: MSYellow, useColor: true, minValue: 0, maxValue: 4},
                                                        <PageItem>{ id: AliasPath + 'Dimmode.hourDay', name: 'Stunde Tag', icon: 'sun-clock', offColor: MSYellow, onColor: MSYellow, useColor: true, minValue: 0, maxValue: 23},
                                                        <PageItem>{ id: AliasPath + 'Dimmode.hourNight', name: 'Stunde Nacht', icon: 'sun-clock-outline', offColor: MSYellow, onColor: MSYellow, useColor: true, minValue: 0, maxValue: 23}
                                                    ]
                                                };
                                        
                                                //Subpage 3 von Subpages_2
                                                let NSPanel_Firmware_Info: PageEntities =
                                                {
                                                    'type': 'cardEntities',
                                                    'heading': 'Firmware-Updates',
                                                    'useColor': true,
                                                    'subPage': true,
                                                    'parent': Service,
                                                    'items': [
                                                        <PageItem>{ id: AliasPath + 'Tasmota.Version', name: 'Tasmota Firmware', offColor: MSYellow, onColor: MSYellow, useColor: true},
                                                        <PageItem>{ id: AliasPath + 'Display.TFTVersion', name: 'TFT-Firmware', offColor: MSYellow, onColor: MSYellow, useColor: true},
                                                        <PageItem>{ id: AliasPath + 'Display.BerryDriver', name: 'Berry-Treiber', offColor: MSYellow, onColor: MSYellow, useColor: true},
                                                        <PageItem>{ id: AliasPath + 'Display.Model', name: 'NSPanel Version', offColor: MSYellow, onColor: MSYellow, useColor: true}
                                                    ]
                                                };
                                        
                                        
                                        Armilar 2 Replies Last reply Reply Quote 0
                                        • Armilar
                                          Armilar Most Active Forum Testing @coto last edited by

                                          @coto

                                          Zu Frage 1)
                                          Es können eigentlich alle Thermostate eingebunden werden. Daher auch folgend die 0_userdata Datenpunkte, die als Übersetzung dienen. Ohne Blockly oder JS wird es nicht gehen.

                                          Ich habe die HMIP Thermostate, virtualisiere die aber ebenfalls über eigene Datenpunkte.

                                          So jetzt wird es klarer MANU = Veränderung der Setpoint-Temperatur, dann AUTO=false

                                          Ich überlege mir mal kurz etwas für eine Blockly-Logik


                                          Zu Frage 2)
                                          Die Seiten müssen in der Config eingetragen sein. Sind die drin unter Subpages?

                                          1 Reply Last reply Reply Quote 0
                                          • Armilar
                                            Armilar Most Active Forum Testing @coto last edited by Armilar

                                            @coto

                                            So im Spoiler ist ein Blockly. Hoffe ich habe da alles korrekt geschrieben

                                            <xml xmlns="https://developers.google.com/blockly/xml">
                                              <variables>
                                                <variable id="%/xR(^)g5^9E^=:iOg`*">userdataPath</variable>
                                              </variables>
                                              <block type="variables_set" id="X-j`W}}BF!)o-3+*efc-" x="-138" y="-462">
                                                <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                <value name="VALUE">
                                                  <block type="text" id="27EXAifV@j[WLi|X89v}">
                                                    <field name="TEXT">0_userdata.0.Homatic.Thermostate.OEQ0667828.4.</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="comment" id=",uvQcLX`j6C.AA75DrZW">
                                                    <field name="COMMENT">Am NSPanel wird auf Auto geschaltet </field>
                                                    <next>
                                                      <block type="on_ext" id="j{K~|bW6;I@lofgT4vd$">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                        <field name="CONDITION">ne</field>
                                                        <field name="ACK_CONDITION"></field>
                                                        <value name="OID0">
                                                          <shadow type="field_oid" id="UL3m@7$weS]7=yq(I?P0">
                                                            <field name="oid">default</field>
                                                          </shadow>
                                                          <block type="text_join" id="Gys1,yJgxvc6*zDXIGVA">
                                                            <mutation items="2"></mutation>
                                                            <value name="ADD0">
                                                              <block type="variables_get" id="[8diiUW8Ym4)4=KQ$s=H">
                                                                <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                              </block>
                                                            </value>
                                                            <value name="ADD1">
                                                              <block type="text" id="[)sRA~!%$1n=Fz#{QE:O">
                                                                <field name="TEXT">Automatic</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="control_ex" id="rHON.R*}k%w0VO)Q@U5," inline="true">
                                                            <field name="TYPE">false</field>
                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                            <value name="OID">
                                                              <shadow type="field_oid" id="-2GGVvyn8C)-7s]y!iFC">
                                                                <field name="oid">Object ID</field>
                                                              </shadow>
                                                              <block type="text" id="5+BLW_qM@Lr+~7M[@#L-">
                                                                <field name="TEXT">hm-rpc.0.OEQ0667828.4.AUTO_MODE</field>
                                                              </block>
                                                            </value>
                                                            <value name="VALUE">
                                                              <shadow type="logic_boolean" id="`naj-n,uyc0.)vdOJ$rH">
                                                                <field name="BOOL">TRUE</field>
                                                              </shadow>
                                                              <block type="logic_boolean" id="9jTx$$DZvix^u]0-#_C(">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <value name="DELAY_MS">
                                                              <shadow type="math_number" id="CU}e7)/uBktOHiK/i^}r">
                                                                <field name="NUM">0</field>
                                                              </shadow>
                                                            </value>
                                                            <next>
                                                              <block type="control_ex" id="A=8psqHjhHW$);in.k0O" inline="true">
                                                                <field name="TYPE">false</field>
                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                <value name="OID">
                                                                  <shadow type="field_oid">
                                                                    <field name="oid">Object ID</field>
                                                                  </shadow>
                                                                  <block type="text_join" id="LmoSZw/CjrQed[4-l=bN">
                                                                    <mutation items="2"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="variables_get" id="f]x+|[f!W}GNzf0KVu}f">
                                                                        <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text" id="GzG^:cECXD^-jPam+|Cm">
                                                                        <field name="TEXT">Manual</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="VALUE">
                                                                  <shadow type="logic_boolean">
                                                                    <field name="BOOL">TRUE</field>
                                                                  </shadow>
                                                                  <block type="logic_boolean" id="eKG~%BD/0r3!hGgZ?4H/">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                                <value name="DELAY_MS">
                                                                  <shadow type="math_number" id="/xUS7X!_0tHjQ/lYYlj9">
                                                                    <field name="NUM">0</field>
                                                                  </shadow>
                                                                </value>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="comment" id=".^0uHrUM+21EPMnW@/Aa">
                                                            <field name="COMMENT">Am NSPanel wird auf Temperatur geändert</field>
                                                            <next>
                                                              <block type="on_ext" id="rnf$MuxnU`senfY-F8SM">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                <field name="CONDITION">ne</field>
                                                                <field name="ACK_CONDITION"></field>
                                                                <value name="OID0">
                                                                  <shadow type="field_oid" id="rJx5Vxq(4|Y~.;2F6D!)">
                                                                    <field name="oid">default</field>
                                                                  </shadow>
                                                                  <block type="text_join" id="Ec_?0i@=m]@]L5gEjOi?">
                                                                    <mutation items="2"></mutation>
                                                                    <value name="ADD0">
                                                                      <block type="variables_get" id=".LVxszhxY,x/Y[ht(2Dk">
                                                                        <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="ADD1">
                                                                      <block type="text" id="qIz$pgvJ|fZU}eKV%H@;">
                                                                        <field name="TEXT">Setpoint</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="STATEMENT">
                                                                  <block type="control_ex" id="VAa5[r[!O|XD?h2zs4.L" inline="true">
                                                                    <field name="TYPE">false</field>
                                                                    <field name="CLEAR_RUNNING">FALSE</field>
                                                                    <value name="OID">
                                                                      <shadow type="field_oid" id="vteW+w!_2:C,eGV!!1De">
                                                                        <field name="oid">Object ID</field>
                                                                      </shadow>
                                                                      <block type="text_join" id="P:53ISJM8Wt12`LLp5C?">
                                                                        <mutation items="2"></mutation>
                                                                        <value name="ADD0">
                                                                          <block type="variables_get" id="^8EdIaZlvDJ`Z:PxenQJ">
                                                                            <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="ADD1">
                                                                          <block type="text" id="rpq:atBJz,=pL/Tpfk?j">
                                                                            <field name="TEXT">Manual</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="VALUE">
                                                                      <shadow type="logic_boolean">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </shadow>
                                                                      <block type="logic_boolean" id="l1zqaM6/jSPS#ZF2YQT]">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="DELAY_MS">
                                                                      <shadow type="math_number" id="gzX:oq*R46?@J;sEN^Y{">
                                                                        <field name="NUM">0</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control_ex" id="a!%A#%_448?cbF0#E20I" inline="true">
                                                                        <field name="TYPE">false</field>
                                                                        <field name="CLEAR_RUNNING">FALSE</field>
                                                                        <value name="OID">
                                                                          <shadow type="field_oid">
                                                                            <field name="oid">Object ID</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="Z=X7ZS=5{oFLhPFl$6J*">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="variables_get" id="LNZ/Yu]eOv*pYj!.D^Hp">
                                                                                <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="text" id="f(?W0s5a%=`*e.bl+U;j">
                                                                                <field name="TEXT">Automatic</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="VALUE">
                                                                          <shadow type="logic_boolean">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </shadow>
                                                                          <block type="logic_boolean" id="C;jj4,F7s4Dh0_q^GJ(p">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="DELAY_MS">
                                                                          <shadow type="math_number" id="cY5}Nl-3}~q8av0Z,^:%">
                                                                            <field name="NUM">0</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <next>
                                                                          <block type="control_ex" id="vOC7f,;-wN|E6q66A#y5" inline="true">
                                                                            <field name="TYPE">false</field>
                                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                                            <value name="OID">
                                                                              <shadow type="field_oid" id="33Vhu-2{oMtX)_7C5xNJ">
                                                                                <field name="oid">Object ID</field>
                                                                              </shadow>
                                                                              <block type="text" id="cwRLYaGfnesiWV4ME~02">
                                                                                <field name="TEXT">hm-rpc.0.OEQ0667828.4.SET_TEMPERATUR</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="VALUE">
                                                                              <shadow type="logic_boolean" id="R6~2VB4nRpE-=epf^!.2">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </shadow>
                                                                              <block type="on_source" id="{iIWE58cs91`J:+%zsHP">
                                                                                <field name="ATTR">state.val</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="DELAY_MS">
                                                                              <shadow type="math_number" id="IX574hj%MQ)uiFy(QXfC">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <next>
                                                                  <block type="comment" id="~k%4o/5,IR_W}Vo9z5E5">
                                                                    <field name="COMMENT">Am NSPanel wird auf Boost geschaltet</field>
                                                                    <next>
                                                                      <block type="on_ext" id="$[COE^lL{IylevSK@r$N">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                        <field name="CONDITION">ne</field>
                                                                        <field name="ACK_CONDITION"></field>
                                                                        <value name="OID0">
                                                                          <shadow type="field_oid">
                                                                            <field name="oid">default</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="2E}4*|Pr_c6QxjZlXL#4">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="variables_get" id="H{sw([OtBhyRLVy[WQ?@">
                                                                                <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="text" id="ae-^6mBM`wUFkV9]!SUJ">
                                                                                <field name="TEXT">Boost</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="STATEMENT">
                                                                          <block type="control_ex" id="t6(RKz=ul#7hL#Yd2xW?" inline="true">
                                                                            <field name="TYPE">false</field>
                                                                            <field name="CLEAR_RUNNING">FALSE</field>
                                                                            <value name="OID">
                                                                              <shadow type="field_oid">
                                                                                <field name="oid">Object ID</field>
                                                                              </shadow>
                                                                              <block type="text" id="?Z[Yyrpj|OUCHpbA[r2b">
                                                                                <field name="TEXT">hm-rpc.0.OEQ0667828.4.BOOST_MODE</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="VALUE">
                                                                              <shadow type="logic_boolean">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </shadow>
                                                                              <block type="logic_boolean" id="ILc-KKS#II*=$?-)1@5;">
                                                                                <field name="BOOL">TRUE</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="DELAY_MS">
                                                                              <shadow type="math_number" id="b*rW5=g.eIn$UGCXpk{)">
                                                                                <field name="NUM">0</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </statement>
                                                                        <next>
                                                                          <block type="comment" id="pq{0z}/,!fFo[r=xL?3^">
                                                                            <field name="COMMENT">BATTERY_STATE im Adapter ändert sich</field>
                                                                            <next>
                                                                              <block type="on_ext" id="2!C]E4+ZovPwb#O![]o0">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                                <field name="CONDITION">ne</field>
                                                                                <field name="ACK_CONDITION"></field>
                                                                                <value name="OID0">
                                                                                  <shadow type="field_oid" id="v%SYL`)0SR7QG+O,}p:}">
                                                                                    <field name="oid">default</field>
                                                                                  </shadow>
                                                                                  <block type="text" id="@*2/Gs5Z=d`=xtxpdg9l">
                                                                                    <field name="TEXT">hm-rpc.0.OEQ0667828.4.BATTERY_STATE</field>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="comment" id="7aIa7fh7F8,20!qIV:aN">
                                                                                    <field name="COMMENT">Wert 2,5 ist ausgedacht.</field>
                                                                                    <next>
                                                                                      <block type="comment" id="E{Eyaw120U8hRFMQTPP)">
                                                                                        <field name="COMMENT">Keine Ahnung wann die Batterie wirklich leer ist</field>
                                                                                        <next>
                                                                                          <block type="controls_if" id="Bx%+dY))9YYdkklHAAqI">
                                                                                            <mutation else="1"></mutation>
                                                                                            <value name="IF0">
                                                                                              <block type="logic_compare" id="THZ:h0AIFqeS8a4Q^/o^">
                                                                                                <field name="OP">LT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="duq;S)%o5XaWTSmW}n}y">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="math_number" id="ie`:G}d9,(LC{q[i_J4h">
                                                                                                    <field name="NUM">2.5</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="control_ex" id="LClKu=C?jxEn~Ee]Wzc5" inline="true">
                                                                                                <field name="TYPE">false</field>
                                                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                <value name="OID">
                                                                                                  <shadow type="field_oid" id="Nw]~t%7!gKT6i=E)Map8">
                                                                                                    <field name="oid">Object ID</field>
                                                                                                  </shadow>
                                                                                                  <block type="text_join" id="Q!0.BP9.%/0bX%]!wNfV">
                                                                                                    <mutation items="2"></mutation>
                                                                                                    <value name="ADD0">
                                                                                                      <block type="variables_get" id="Tz3eTQdyBs9l;(pW(]]8">
                                                                                                        <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="ADD1">
                                                                                                      <block type="text" id="VmE~0^%|++P{ynPp?AHc">
                                                                                                        <field name="TEXT">Lowbat</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="VALUE">
                                                                                                  <shadow type="logic_boolean">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </shadow>
                                                                                                  <block type="logic_boolean" id="Y}ZJdf5QlTB0=@nDq(%;">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="DELAY_MS">
                                                                                                  <shadow type="math_number" id="a!J*o-:pD($Y=(^YE_{K">
                                                                                                    <field name="NUM">0</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                            <statement name="ELSE">
                                                                                              <block type="control_ex" id=":s;z=CrWiuSM}Cs,l3*z" inline="true">
                                                                                                <field name="TYPE">false</field>
                                                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                <value name="OID">
                                                                                                  <shadow type="field_oid">
                                                                                                    <field name="oid">Object ID</field>
                                                                                                  </shadow>
                                                                                                  <block type="text_join" id="]c1m)N,]xKl.D]m+I9*w">
                                                                                                    <mutation items="2"></mutation>
                                                                                                    <value name="ADD0">
                                                                                                      <block type="variables_get" id="4!qxcx`M[}GZ)~@7_a9Q">
                                                                                                        <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="ADD1">
                                                                                                      <block type="text" id="lYU+fpFo*l7D0xn;oqp^">
                                                                                                        <field name="TEXT">Lowbat</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="VALUE">
                                                                                                  <shadow type="logic_boolean">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </shadow>
                                                                                                  <block type="logic_boolean" id="8RyZCBo`8%N/(/cJq@c@">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="DELAY_MS">
                                                                                                  <shadow type="math_number" id="U=O6uX|-`QW%X}YaBD5]">
                                                                                                    <field name="NUM">0</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="comment" id="n`y@58sQ`+Ip[R!kBjk-">
                                                                                    <field name="COMMENT">FAULT_REPORTING im Adapter ändert sich</field>
                                                                                    <next>
                                                                                      <block type="on_ext" id="f,5_N)xx_4E,RbWQiq-I">
                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                                        <field name="CONDITION">ne</field>
                                                                                        <field name="ACK_CONDITION"></field>
                                                                                        <value name="OID0">
                                                                                          <shadow type="field_oid">
                                                                                            <field name="oid">default</field>
                                                                                          </shadow>
                                                                                          <block type="text" id="wO|:^@umOB:5.+=xrC:T">
                                                                                            <field name="TEXT">hm-rpc.0.OEQ0667828.4.FAULT_REPORTING</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <statement name="STATEMENT">
                                                                                          <block type="controls_if" id="^Lti.NU)S9tV^JvxY#|V">
                                                                                            <mutation else="1"></mutation>
                                                                                            <value name="IF0">
                                                                                              <block type="logic_compare" id="twb2_~HKNJLw*t~iei7*">
                                                                                                <field name="OP">LT</field>
                                                                                                <value name="A">
                                                                                                  <block type="on_source" id="q;QmlW4j0L@[8SiNG(}!">
                                                                                                    <field name="ATTR">state.val</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <block type="math_number" id="P}F@tPT`pXxiD2`1ik,`">
                                                                                                    <field name="NUM">2.5</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <statement name="DO0">
                                                                                              <block type="control_ex" id="lb15K]4z_=8NE6}RgxvS" inline="true">
                                                                                                <field name="TYPE">false</field>
                                                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                <value name="OID">
                                                                                                  <shadow type="field_oid">
                                                                                                    <field name="oid">Object ID</field>
                                                                                                  </shadow>
                                                                                                  <block type="text_join" id="Yy}ZGz$j4Xx;mzJEgM/*">
                                                                                                    <mutation items="2"></mutation>
                                                                                                    <value name="ADD0">
                                                                                                      <block type="variables_get" id="#/N|`jy=,]jS#IOHI=F;">
                                                                                                        <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="ADD1">
                                                                                                      <block type="text" id="TQ?,RMkzfr{;,2bsh[=H">
                                                                                                        <field name="TEXT">Maintain</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="VALUE">
                                                                                                  <shadow type="logic_boolean">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </shadow>
                                                                                                  <block type="logic_boolean" id="l;aa[h.esax%Z[EZy-|`">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="DELAY_MS">
                                                                                                  <shadow type="math_number" id="hN}}Siq_!z-@{iHHt-Do">
                                                                                                    <field name="NUM">0</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                            <statement name="ELSE">
                                                                                              <block type="control_ex" id="8=!5C.CtxhZqLmN=dqOs" inline="true">
                                                                                                <field name="TYPE">false</field>
                                                                                                <field name="CLEAR_RUNNING">FALSE</field>
                                                                                                <value name="OID">
                                                                                                  <shadow type="field_oid">
                                                                                                    <field name="oid">Object ID</field>
                                                                                                  </shadow>
                                                                                                  <block type="text_join" id="q~qtEzni;`24R0C%!2ck">
                                                                                                    <mutation items="2"></mutation>
                                                                                                    <value name="ADD0">
                                                                                                      <block type="variables_get" id="$f.qJVIwYLj4nvyEMxAB">
                                                                                                        <field name="VAR" id="%/xR(^)g5^9E^=:iOg`*">userdataPath</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="ADD1">
                                                                                                      <block type="text" id="[WKkJ8E,SMv|]t_Su1:~">
                                                                                                        <field name="TEXT">Maintain</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="VALUE">
                                                                                                  <shadow type="logic_boolean">
                                                                                                    <field name="BOOL">TRUE</field>
                                                                                                  </shadow>
                                                                                                  <block type="logic_boolean" id="^GMa:eYG*G{gdNUyOK2t">
                                                                                                    <field name="BOOL">FALSE</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="DELAY_MS">
                                                                                                  <shadow type="math_number" id="p#O@u,+TIl4_)K|MmXI-">
                                                                                                    <field name="NUM">0</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </statement>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </xml>
                                            

                                            Das Blockly geht davon aus, dass du folgende Datenpunkte angelegt hast (Falls andere Pfad gewünscht, dann abändern; im Blockly auch):
                                            0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Automatic (boolean)
                                            0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Manual (boolean)
                                            0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Boost (boolean)
                                            0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Setpoint (number)
                                            0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Lowbat (boolean)
                                            0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Maintain (boolean)

                                            Dann benötigst du einen ALIAS vom Gerätetypen Thermostat.
                                            SET auf 0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Setpoint
                                            ACTUAL auf den bevorzugten Raumtemperatursensor
                                            BOOST auf 0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Boost

                                            Zusätzliche im ALIAS anlegen
                                            LOWBAT auf 0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Lowbat
                                            MAINTAIN auf 0_userdata.0.Homatic.Thermostate.OEQ0667828.4.Maintain

                                            unter Mode im ALIAS
                                            99ae1b6e-e638-433d-a82a-f320f8136140-image.png

                                            --> auf Control_Mode im Adapter

                                            0499a6e3-8a47-44b3-8f94-f1dd2e71bebd-image.png

                                            0 = AUTO
                                            1 = MANUAL
                                            2 = PARTY
                                            3 = BOOST

                                            Hoffe dann funktioniert schon alles. Kann es leider nicht testen!

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            794
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            lovelace ui nspanel sonoff
                                            260
                                            7128
                                            4332307
                                            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