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

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

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Adapter: DasWetter

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    698

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

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

Adapter: DasWetter

Scheduled Pinned Locked Moved ioBroker Allgemein
1.6k Posts 238 Posters 486.9k Views 126 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aleks-83
    wrote on last edited by aleks-83
    #977

    Bei mir geht es auch nicht.
    Ich habe schon 2 Geräte mit jeweils 3 Browsern ausprobiert. (Chrome, Firefox, IE)
    Man sieht manchmal kurz die Meldung dass Cookies gesperrt wären, aber dann kommt direkt die "Sanduhr".

    Hat vllt jemand einen Beispiellink?
    Dann kann man sich ja vielleicht dne Link für seine Stadt selber bauen.
    Oder stecken in dem Link irgendwelche userbezogenen Daten?

    = Dell Optiplex Micro - 10GB RAM - 200GB SSD - Debian VM =
    = Node.js v20.19.6 = NPM 10.8.2 = JS Controller 7.0.7 =

    Ubiquiti UAP-AC-LR - UAP-AC-Lite - Synology DS716+II - Fritz!Box 7490
    Glasfaser 400

    1 Reply Last reply
    0
    • D Offline
      D Offline
      dtp
      wrote on last edited by
      #978

      Bei mir geht's.

      2020-02-28_13h27_46.png

      Nutze Firefox unter Windows 10.

      ioBroker im Docker-Container auf Synology DiskStation DS718+, HomeMatic IP über CCU3, IKEA Dirigera inkl. Matter, Apple Homekit, Amazon Alexa.

      A 1 Reply Last reply
      0
      • D dtp

        Bei mir geht's.

        2020-02-28_13h27_46.png

        Nutze Firefox unter Windows 10.

        A Offline
        A Offline
        aleks-83
        wrote on last edited by
        #979

        @dtp
        Merkwürdig.

        Kannst du mir einen Account erstellen? 🤣

        = Dell Optiplex Micro - 10GB RAM - 200GB SSD - Debian VM =
        = Node.js v20.19.6 = NPM 10.8.2 = JS Controller 7.0.7 =

        Ubiquiti UAP-AC-LR - UAP-AC-Lite - Synology DS716+II - Fritz!Box 7490
        Glasfaser 400

        mrFenyxM 1 Reply Last reply
        0
        • A aleks-83

          @dtp
          Merkwürdig.

          Kannst du mir einen Account erstellen? 🤣

          mrFenyxM Offline
          mrFenyxM Offline
          mrFenyx
          wrote on last edited by
          #980

          @aleks-83 Du kannst mit https://www.daswetter.at/api/#/login probieren. Das hat bei mir funktioniert. Dann in den URLs die du später bekommst kannst du in das Teil "api_lang=at" das "at" mit "de" oder "en" ersetzen. Hoffe es geht so.

          A 1 Reply Last reply
          2
          • mrFenyxM mrFenyx

            @aleks-83 Du kannst mit https://www.daswetter.at/api/#/login probieren. Das hat bei mir funktioniert. Dann in den URLs die du später bekommst kannst du in das Teil "api_lang=at" das "at" mit "de" oder "en" ersetzen. Hoffe es geht so.

            A Offline
            A Offline
            aleks-83
            wrote on last edited by
            #981

            @mrFenyx sagte in Adapter: DasWetter:

            @aleks-83 Du kannst mit https://www.daswetter.at/api/#/login probieren. Das hat bei mir funktioniert. Dann in den URLs die du später bekommst kannst du in das Teil "api_lang=at" das "at" mit "de" oder "en" ersetzen. Hoffe es geht so.

            Das hat funktioniert! Danke für den Tipp.
            Wenn man den Link im rowser aufruft, öffnet er die xml und man sieht die sprache direkt die man bei "api_lang=" eingestellt hat.

            = Dell Optiplex Micro - 10GB RAM - 200GB SSD - Debian VM =
            = Node.js v20.19.6 = NPM 10.8.2 = JS Controller 7.0.7 =

            Ubiquiti UAP-AC-LR - UAP-AC-Lite - Synology DS716+II - Fritz!Box 7490
            Glasfaser 400

            Meister MopperM 1 Reply Last reply
            0
            • mrFenyxM Offline
              mrFenyxM Offline
              mrFenyx
              wrote on last edited by
              #982

              Hi, vielleicht ist es schon beschrieben aber welchen Weg nimmt ihr um die jetzige Wetterlage anzuzeigen? Soweit ich sehen kann gibt es keine "current conditions" oder ähnliches bei DasWetter. Übersehe ich etwas?

              harrymH 1 Reply Last reply
              0
              • mrFenyxM mrFenyx

                Hi, vielleicht ist es schon beschrieben aber welchen Weg nimmt ihr um die jetzige Wetterlage anzuzeigen? Soweit ich sehen kann gibt es keine "current conditions" oder ähnliches bei DasWetter. Übersehe ich etwas?

                harrymH Offline
                harrymH Offline
                harrym
                wrote on last edited by
                #983

                @mrFenyx "daswetter.0.NextHours.Location_1.Day_1.current" ;)

                ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                mrFenyxM 1 Reply Last reply
                0
                • harrymH harrym

                  @mrFenyx "daswetter.0.NextHours.Location_1.Day_1.current" ;)

                  mrFenyxM Offline
                  mrFenyxM Offline
                  mrFenyx
                  wrote on last edited by
                  #984

                  @harrym Welches XML benutzt du dafür? Das mit stündliche Infos oder alle 3 Stunden?

                  harrymH 1 Reply Last reply
                  0
                  • mrFenyxM mrFenyx

                    @harrym Welches XML benutzt du dafür? Das mit stündliche Infos oder alle 3 Stunden?

                    harrymH Offline
                    harrymH Offline
                    harrym
                    wrote on last edited by
                    #985

                    @mrFenyx gerade geguggt ... ich hab alle 4 ausgewählt im Adapter. Muss echt mal wieder alles "aufräumen" ;)

                    ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                    mrFenyxM 1 Reply Last reply
                    0
                    • harrymH harrym

                      @mrFenyx gerade geguggt ... ich hab alle 4 ausgewählt im Adapter. Muss echt mal wieder alles "aufräumen" ;)

                      mrFenyxM Offline
                      mrFenyxM Offline
                      mrFenyx
                      wrote on last edited by
                      #986

                      @harrym hehe, ich habe das für die kommenden 5 Tage und stündlicher Infos. Hat alles da, current und tägliche Infos. Danke!

                      harrymH 1 Reply Last reply
                      1
                      • mrFenyxM mrFenyx

                        @harrym hehe, ich habe das für die kommenden 5 Tage und stündlicher Infos. Hat alles da, current und tägliche Infos. Danke!

                        harrymH Offline
                        harrymH Offline
                        harrym
                        wrote on last edited by
                        #987

                        @mrFenyx ich verwende aber auch den weatherunderground Adapter mit ner Messstelle in meinem Bereich für die aktuellen Daten.

                        ASRock FM2A88X-ITX+ mit 32GB RAM, 128GB SSD mit Proxmox, 3x1 TB SSD als RAID mit CT und VMs.

                        A 1 Reply Last reply
                        0
                        • harrymH harrym

                          @mrFenyx ich verwende aber auch den weatherunderground Adapter mit ner Messstelle in meinem Bereich für die aktuellen Daten.

                          A Offline
                          A Offline
                          aleks-83
                          wrote on last edited by
                          #988

                          @harrym sagte in Adapter: DasWetter:

                          @mrFenyx ich verwende aber auch den weatherunderground Adapter mit ner Messstelle in meinem Bereich für die aktuellen Daten.

                          Der weatherunderground funktioniert bei dir noch?
                          Trotz abgeschalteter API?

                          = Dell Optiplex Micro - 10GB RAM - 200GB SSD - Debian VM =
                          = Node.js v20.19.6 = NPM 10.8.2 = JS Controller 7.0.7 =

                          Ubiquiti UAP-AC-LR - UAP-AC-Lite - Synology DS716+II - Fritz!Box 7490
                          Glasfaser 400

                          P 1 Reply Last reply
                          0
                          • A aleks-83

                            @harrym sagte in Adapter: DasWetter:

                            @mrFenyx ich verwende aber auch den weatherunderground Adapter mit ner Messstelle in meinem Bereich für die aktuellen Daten.

                            Der weatherunderground funktioniert bei dir noch?
                            Trotz abgeschalteter API?

                            P Offline
                            P Offline
                            PatrickFro
                            wrote on last edited by
                            #989

                            @aleks-83 Ich bekomme auch noch meine Daten über wetherunderground geliefert.

                            6d440fec-f760-4061-b1ca-1aa4e27ab4b1-image.png

                            1 Reply Last reply
                            0
                            • mrFenyxM Offline
                              mrFenyxM Offline
                              mrFenyx
                              wrote on last edited by
                              #990

                              @aleks-83 bei mir ging es auch noch aber nicht sehr zuverlässig. Einige Sachen fehlten auch, z.B. Icon für jetzige Wetterlage. Dafür hatte ich mir ein Script gebaut der es aus der Website aussuchte. Ich finde es jetzt mit DasWetter eigentlich besser. Wenn du aber eine zuverlässige Messstelle hast dann gratuliere! Bei mir zeigten auch die Messstellen die nahe waren (~5-10km) nicht immer Daten die für mich passten.

                              1 Reply Last reply
                              0
                              • B Offline
                                B Offline
                                Bluelightcrew
                                wrote on last edited by
                                #991

                                Ich bräuchte mal kurz eure hilfe! Das Thema wurde bestimmt schon öfters besprochen aber leider bin ich nicht fündig geworden.
                                Ich möchte gerne in der vis app auf android das aktuelle wetter symbol für die tage darstellen.
                                Welches widget benutze ich dafür? basic string img scr?
                                Wie habt ihr das mit dem Link gemacht der adapter spuckt ihn ja aus ,aber da fehlt wohl die ip davor?

                                mrFenyxM 1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  knx
                                  wrote on last edited by Negalein
                                  #992

                                  Moin,

                                  kennt wer diesen Fehler im Log:

                                  instance system.adapter.daswetter.0 terminated with code 15 (15)
                                  

                                  Danke

                                  1 Reply Last reply
                                  0
                                  • B Bluelightcrew

                                    Ich bräuchte mal kurz eure hilfe! Das Thema wurde bestimmt schon öfters besprochen aber leider bin ich nicht fündig geworden.
                                    Ich möchte gerne in der vis app auf android das aktuelle wetter symbol für die tage darstellen.
                                    Welches widget benutze ich dafür? basic string img scr?
                                    Wie habt ihr das mit dem Link gemacht der adapter spuckt ihn ja aus ,aber da fehlt wohl die ip davor?

                                    mrFenyxM Offline
                                    mrFenyxM Offline
                                    mrFenyx
                                    wrote on last edited by
                                    #993

                                    @Bluelightcrew Dieses Problem habe ich auch und deswegen benutze ich zZ die Android App nicht. Eine Idee wäre ein Script zu erstellen dass dieses Datenpunkt beobachtet und wenn es sich ändert den Wert mit der IP Adresse "ergänzt". Ansonsten weiß ich nicht wie es in der App gehen sollte. Falls jemand eine andere Idee hat, lasst uns wissen ;)

                                    1 Reply Last reply
                                    0
                                    • mrFenyxM Offline
                                      mrFenyxM Offline
                                      mrFenyx
                                      wrote on last edited by mrFenyx
                                      #994

                                      Ok, hier ist ein Beispiel. Als erstes muss man für den iconURL state auch das Schreiben erlauben.
                                      f574beef-5070-406e-ae1a-2d4e036b22c4-image.png

                                      Dann habe ich einen Blockly Script erstellt das bei änderung des Wertes die IP Adresse hinzufügt.
                                      13b0c914-bbcc-4401-be31-180dbcb3ccbd-image.png

                                      BlocklyJavascriptTypeScript
                                      Log outputs
                                      Export selected blocks
                                      
                                      <xml xmlns="http://www.w3.org/1999/xhtml">
                                       <variables>
                                         <variable type="" id="!5F*af~{t.q/O?P():U|">localIP</variable>
                                         <variable type="" id="@)$iDw;1=[qxXb+|Xu7}">isFixed</variable>
                                       </variables>
                                       <block type="variables_set" id="yIBeUGNn8ER-f--bh-Zr" x="38" y="-87">
                                         <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                         <value name="VALUE">
                                           <block type="text" id="7XEh:*!Ql-*`%DZ.KYX(">
                                             <field name="TEXT">http://192.168.1.121:8082</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="on_ext" id="-,Rx]xbnQwOZ3NxFy7[^">
                                             <mutation items="1"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="Ff^`^RWaZF4WG2H11k;P">
                                                 <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconURL</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="variables_set" id="Po%2QdMcg3jzdDH@MR?O">
                                                 <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                 <value name="VALUE">
                                                   <block type="text_indexOf" id="}bw#~NUR]/dD,@AlmZkt">
                                                     <field name="END">FIRST</field>
                                                     <value name="VALUE">
                                                       <block type="on_source" id="p+0K5`acwl^g2O~ux2ig">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="/*0*Yr+U9I?R#S*e6AQV">
                                                         <field name="TEXT">abc</field>
                                                       </shadow>
                                                       <block type="variables_get" id="2)6,@T~Jjv:pQt4R9d14">
                                                         <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="debug" id="lo+2TNOdm[w;:1b|+GcZ">
                                                     <field name="Severity">log</field>
                                                     <value name="TEXT">
                                                       <shadow type="text" id="r~{Xwnn]u%UqO(z3,SGg">
                                                         <field name="TEXT">test</field>
                                                       </shadow>
                                                       <block type="variables_get" id="5+gW{2.bG|X`7}.2=4tb">
                                                         <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="controls_if" id="E@j6XB4IoceHpwl-Wr09">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="v$@;97:TU17Imp[xBrxo">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="variables_get" id="guY$RY]R#G+)M7Jb0]=j">
                                                                 <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="/0%AnKOb.7-t[![,s31h">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control_ex" id="ZGx0HzjDaq7^PYXE}1+i">
                                                             <field name="TYPE">true</field>
                                                             <field name="CLEAR_RUNNING">FALSE</field>
                                                             <value name="OID">
                                                               <shadow type="field_oid">
                                                                 <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconFullURL</field>
                                                               </shadow>
                                                               <block type="on_source" id="?h_-Jg`rf-G;_Hl3eaPl">
                                                                 <field name="ATTR">id</field>
                                                               </block>
                                                             </value>
                                                             <value name="VALUE">
                                                               <shadow type="logic_boolean">
                                                                 <field name="BOOL">TRUE</field>
                                                               </shadow>
                                                               <block type="text_join" id="i)ET{w!2L6G#08Tr|O:N">
                                                                 <mutation items="2"></mutation>
                                                                 <value name="ADD0">
                                                                   <block type="variables_get" id="pbK.i5/%5YweuF4/Snrm">
                                                                     <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD1">
                                                                   <block type="on_source" id="EY:AQ_OHaCM=3mn~5OV,">
                                                                     <field name="ATTR">state.val</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="DELAY_MS">
                                                               <shadow type="math_number" id="rsNxCV=ZPeq`LM)hRY^Y">
                                                                 <field name="NUM">0</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                      </xml>
                                      
                                      <xml xmlns="http://www.w3.org/1999/xhtml">
                                       <variables>
                                         <variable type="" id="!5F*af~{t.q/O?P():U|">localIP</variable>
                                         <variable type="" id="@)$iDw;1=[qxXb+|Xu7}">isFixed</variable>
                                       </variables>
                                       <block type="variables_set" id="yIBeUGNn8ER-f--bh-Zr" x="38" y="-87">
                                         <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                         <value name="VALUE">
                                           <block type="text" id="7XEh:*!Ql-*`%DZ.KYX(">
                                             <field name="TEXT">http://192.168.2.21:8082</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="on_ext" id="-,Rx]xbnQwOZ3NxFy7[^">
                                             <mutation items="1"></mutation>
                                             <field name="CONDITION">ne</field>
                                             <field name="ACK_CONDITION"></field>
                                             <value name="OID0">
                                               <shadow type="field_oid" id="Ff^`^RWaZF4WG2H11k;P">
                                                 <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconURL</field>
                                               </shadow>
                                             </value>
                                             <statement name="STATEMENT">
                                               <block type="variables_set" id="Po%2QdMcg3jzdDH@MR?O">
                                                 <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                 <value name="VALUE">
                                                   <block type="text_indexOf" id="}bw#~NUR]/dD,@AlmZkt">
                                                     <field name="END">FIRST</field>
                                                     <value name="VALUE">
                                                       <block type="on_source" id="p+0K5`acwl^g2O~ux2ig">
                                                         <field name="ATTR">state.val</field>
                                                       </block>
                                                     </value>
                                                     <value name="FIND">
                                                       <shadow type="text" id="/*0*Yr+U9I?R#S*e6AQV">
                                                         <field name="TEXT">abc</field>
                                                       </shadow>
                                                       <block type="variables_get" id="2)6,@T~Jjv:pQt4R9d14">
                                                         <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="debug" id="lo+2TNOdm[w;:1b|+GcZ">
                                                     <field name="Severity">log</field>
                                                     <value name="TEXT">
                                                       <shadow type="text" id="r~{Xwnn]u%UqO(z3,SGg">
                                                         <field name="TEXT">test</field>
                                                       </shadow>
                                                       <block type="variables_get" id="5+gW{2.bG|X`7}.2=4tb">
                                                         <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="controls_if" id="E@j6XB4IoceHpwl-Wr09">
                                                         <value name="IF0">
                                                           <block type="logic_compare" id="v$@;97:TU17Imp[xBrxo">
                                                             <field name="OP">EQ</field>
                                                             <value name="A">
                                                               <block type="variables_get" id="guY$RY]R#G+)M7Jb0]=j">
                                                                 <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="math_number" id="/0%AnKOb.7-t[![,s31h">
                                                                 <field name="NUM">0</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <statement name="DO0">
                                                           <block type="control_ex" id="ZGx0HzjDaq7^PYXE}1+i">
                                                             <field name="TYPE">true</field>
                                                             <field name="CLEAR_RUNNING">FALSE</field>
                                                             <value name="OID">
                                                               <shadow type="field_oid">
                                                                 <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconFullURL</field>
                                                               </shadow>
                                                               <block type="on_source" id="?h_-Jg`rf-G;_Hl3eaPl">
                                                                 <field name="ATTR">id</field>
                                                               </block>
                                                             </value>
                                                             <value name="VALUE">
                                                               <shadow type="logic_boolean">
                                                                 <field name="BOOL">TRUE</field>
                                                               </shadow>
                                                               <block type="text_join" id="i)ET{w!2L6G#08Tr|O:N">
                                                                 <mutation items="2"></mutation>
                                                                 <value name="ADD0">
                                                                   <block type="variables_get" id="pbK.i5/%5YweuF4/Snrm">
                                                                     <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="ADD1">
                                                                   <block type="on_source" id="EY:AQ_OHaCM=3mn~5OV,">
                                                                     <field name="ATTR">state.val</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="DELAY_MS">
                                                               <shadow type="math_number" id="rsNxCV=ZPeq`LM)hRY^Y">
                                                                 <field name="NUM">0</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </statement>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </statement>
                                           </block>
                                         </next>
                                       </block>
                                      </xml>
                                      
                                      

                                      Wenn du den Script importierst musst du auch die IP Adresse ändern. Viel Glück!

                                      B 1 Reply Last reply
                                      0
                                      • mrFenyxM mrFenyx

                                        Ok, hier ist ein Beispiel. Als erstes muss man für den iconURL state auch das Schreiben erlauben.
                                        f574beef-5070-406e-ae1a-2d4e036b22c4-image.png

                                        Dann habe ich einen Blockly Script erstellt das bei änderung des Wertes die IP Adresse hinzufügt.
                                        13b0c914-bbcc-4401-be31-180dbcb3ccbd-image.png

                                        BlocklyJavascriptTypeScript
                                        Log outputs
                                        Export selected blocks
                                        
                                        <xml xmlns="http://www.w3.org/1999/xhtml">
                                         <variables>
                                           <variable type="" id="!5F*af~{t.q/O?P():U|">localIP</variable>
                                           <variable type="" id="@)$iDw;1=[qxXb+|Xu7}">isFixed</variable>
                                         </variables>
                                         <block type="variables_set" id="yIBeUGNn8ER-f--bh-Zr" x="38" y="-87">
                                           <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                           <value name="VALUE">
                                             <block type="text" id="7XEh:*!Ql-*`%DZ.KYX(">
                                               <field name="TEXT">http://192.168.1.121:8082</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="on_ext" id="-,Rx]xbnQwOZ3NxFy7[^">
                                               <mutation items="1"></mutation>
                                               <field name="CONDITION">ne</field>
                                               <field name="ACK_CONDITION"></field>
                                               <value name="OID0">
                                                 <shadow type="field_oid" id="Ff^`^RWaZF4WG2H11k;P">
                                                   <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconURL</field>
                                                 </shadow>
                                               </value>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="Po%2QdMcg3jzdDH@MR?O">
                                                   <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                   <value name="VALUE">
                                                     <block type="text_indexOf" id="}bw#~NUR]/dD,@AlmZkt">
                                                       <field name="END">FIRST</field>
                                                       <value name="VALUE">
                                                         <block type="on_source" id="p+0K5`acwl^g2O~ux2ig">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="FIND">
                                                         <shadow type="text" id="/*0*Yr+U9I?R#S*e6AQV">
                                                           <field name="TEXT">abc</field>
                                                         </shadow>
                                                         <block type="variables_get" id="2)6,@T~Jjv:pQt4R9d14">
                                                           <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="debug" id="lo+2TNOdm[w;:1b|+GcZ">
                                                       <field name="Severity">log</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="r~{Xwnn]u%UqO(z3,SGg">
                                                           <field name="TEXT">test</field>
                                                         </shadow>
                                                         <block type="variables_get" id="5+gW{2.bG|X`7}.2=4tb">
                                                           <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="controls_if" id="E@j6XB4IoceHpwl-Wr09">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="v$@;97:TU17Imp[xBrxo">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="guY$RY]R#G+)M7Jb0]=j">
                                                                   <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="/0%AnKOb.7-t[![,s31h">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control_ex" id="ZGx0HzjDaq7^PYXE}1+i">
                                                               <field name="TYPE">true</field>
                                                               <field name="CLEAR_RUNNING">FALSE</field>
                                                               <value name="OID">
                                                                 <shadow type="field_oid">
                                                                   <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconFullURL</field>
                                                                 </shadow>
                                                                 <block type="on_source" id="?h_-Jg`rf-G;_Hl3eaPl">
                                                                   <field name="ATTR">id</field>
                                                                 </block>
                                                               </value>
                                                               <value name="VALUE">
                                                                 <shadow type="logic_boolean">
                                                                   <field name="BOOL">TRUE</field>
                                                                 </shadow>
                                                                 <block type="text_join" id="i)ET{w!2L6G#08Tr|O:N">
                                                                   <mutation items="2"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="variables_get" id="pbK.i5/%5YweuF4/Snrm">
                                                                       <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="on_source" id="EY:AQ_OHaCM=3mn~5OV,">
                                                                       <field name="ATTR">state.val</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="DELAY_MS">
                                                                 <shadow type="math_number" id="rsNxCV=ZPeq`LM)hRY^Y">
                                                                   <field name="NUM">0</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                        </xml>
                                        
                                        <xml xmlns="http://www.w3.org/1999/xhtml">
                                         <variables>
                                           <variable type="" id="!5F*af~{t.q/O?P():U|">localIP</variable>
                                           <variable type="" id="@)$iDw;1=[qxXb+|Xu7}">isFixed</variable>
                                         </variables>
                                         <block type="variables_set" id="yIBeUGNn8ER-f--bh-Zr" x="38" y="-87">
                                           <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                           <value name="VALUE">
                                             <block type="text" id="7XEh:*!Ql-*`%DZ.KYX(">
                                               <field name="TEXT">http://192.168.2.21:8082</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="on_ext" id="-,Rx]xbnQwOZ3NxFy7[^">
                                               <mutation items="1"></mutation>
                                               <field name="CONDITION">ne</field>
                                               <field name="ACK_CONDITION"></field>
                                               <value name="OID0">
                                                 <shadow type="field_oid" id="Ff^`^RWaZF4WG2H11k;P">
                                                   <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconURL</field>
                                                 </shadow>
                                               </value>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="Po%2QdMcg3jzdDH@MR?O">
                                                   <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                   <value name="VALUE">
                                                     <block type="text_indexOf" id="}bw#~NUR]/dD,@AlmZkt">
                                                       <field name="END">FIRST</field>
                                                       <value name="VALUE">
                                                         <block type="on_source" id="p+0K5`acwl^g2O~ux2ig">
                                                           <field name="ATTR">state.val</field>
                                                         </block>
                                                       </value>
                                                       <value name="FIND">
                                                         <shadow type="text" id="/*0*Yr+U9I?R#S*e6AQV">
                                                           <field name="TEXT">abc</field>
                                                         </shadow>
                                                         <block type="variables_get" id="2)6,@T~Jjv:pQt4R9d14">
                                                           <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="debug" id="lo+2TNOdm[w;:1b|+GcZ">
                                                       <field name="Severity">log</field>
                                                       <value name="TEXT">
                                                         <shadow type="text" id="r~{Xwnn]u%UqO(z3,SGg">
                                                           <field name="TEXT">test</field>
                                                         </shadow>
                                                         <block type="variables_get" id="5+gW{2.bG|X`7}.2=4tb">
                                                           <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="controls_if" id="E@j6XB4IoceHpwl-Wr09">
                                                           <value name="IF0">
                                                             <block type="logic_compare" id="v$@;97:TU17Imp[xBrxo">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="guY$RY]R#G+)M7Jb0]=j">
                                                                   <field name="VAR" id="@)$iDw;1=[qxXb+|Xu7}" variabletype="">isFixed</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="math_number" id="/0%AnKOb.7-t[![,s31h">
                                                                   <field name="NUM">0</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <statement name="DO0">
                                                             <block type="control_ex" id="ZGx0HzjDaq7^PYXE}1+i">
                                                               <field name="TYPE">true</field>
                                                               <field name="CLEAR_RUNNING">FALSE</field>
                                                               <value name="OID">
                                                                 <shadow type="field_oid">
                                                                   <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.iconFullURL</field>
                                                                 </shadow>
                                                                 <block type="on_source" id="?h_-Jg`rf-G;_Hl3eaPl">
                                                                   <field name="ATTR">id</field>
                                                                 </block>
                                                               </value>
                                                               <value name="VALUE">
                                                                 <shadow type="logic_boolean">
                                                                   <field name="BOOL">TRUE</field>
                                                                 </shadow>
                                                                 <block type="text_join" id="i)ET{w!2L6G#08Tr|O:N">
                                                                   <mutation items="2"></mutation>
                                                                   <value name="ADD0">
                                                                     <block type="variables_get" id="pbK.i5/%5YweuF4/Snrm">
                                                                       <field name="VAR" id="!5F*af~{t.q/O?P():U|" variabletype="">localIP</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="ADD1">
                                                                     <block type="on_source" id="EY:AQ_OHaCM=3mn~5OV,">
                                                                       <field name="ATTR">state.val</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <value name="DELAY_MS">
                                                                 <shadow type="math_number" id="rsNxCV=ZPeq`LM)hRY^Y">
                                                                   <field name="NUM">0</field>
                                                                 </shadow>
                                                               </value>
                                                             </block>
                                                           </statement>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                        </xml>
                                        
                                        

                                        Wenn du den Script importierst musst du auch die IP Adresse ändern. Viel Glück!

                                        B Offline
                                        B Offline
                                        Bluelightcrew
                                        wrote on last edited by Bluelightcrew
                                        #995

                                        @mrFenyx
                                        Cool danke für den Tipp!
                                        So in der Art hatte ich mir das gedacht nur ist es am umsetzen gescheitert 😂
                                        Hast du das Script so in Benutzung? Ich hab es importiert und die IP geändert aber es reagiert nicht auf Veränderung des icon URL datenpunktes. Hab auch mal testweise den trigger von Veränderung auf aktualisierung geändert, hat aber auch nix bewirkt.
                                        Ich nehme alles zurück! Kaum war es nach 24uhr läuft es auf einmal, ich weiß nicht wieso aber es läuft, danke.

                                        mrFenyxM 1 Reply Last reply
                                        0
                                        • B Bluelightcrew

                                          @mrFenyx
                                          Cool danke für den Tipp!
                                          So in der Art hatte ich mir das gedacht nur ist es am umsetzen gescheitert 😂
                                          Hast du das Script so in Benutzung? Ich hab es importiert und die IP geändert aber es reagiert nicht auf Veränderung des icon URL datenpunktes. Hab auch mal testweise den trigger von Veränderung auf aktualisierung geändert, hat aber auch nix bewirkt.
                                          Ich nehme alles zurück! Kaum war es nach 24uhr läuft es auf einmal, ich weiß nicht wieso aber es läuft, danke.

                                          mrFenyxM Offline
                                          mrFenyxM Offline
                                          mrFenyx
                                          wrote on last edited by
                                          #996

                                          @Bluelightcrew Cool, freut mich. Und ja, ich hab's auch so in Betrieb und es läuft seit dem ich es gepostet habe ohne Probleme ;)

                                          B 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          652

                                          Online

                                          32.7k

                                          Users

                                          82.6k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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