Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neue icons für dasWetter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Neue icons für dasWetter

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

      @djmarc75 WOW, das ging flott und die sehen gut aus.
      Irgendwo dürfte ich aber noch einen Fehler im Pfad haben.
      hab jetzt einiges durchprobiert aber die png bleiben "leer"
      c5ca31eb-ebcd-4a82-9aaf-136b7a6348c4-image.png

      DJMarc75 1 Reply Last reply Reply Quote 0
      • DJMarc75
        DJMarc75 @Curtis777 last edited by

        @curtis777 da fehlt der Punkt vor PNG

        Screenshot 2023-02-24 090706.png

        Curtis777 1 Reply Last reply Reply Quote 0
        • Curtis777
          Curtis777 @DJMarc75 last edited by

          @djmarc75 das war es leider nicht. habe neben dem Original Ordner einfach einen zweiten gemacht und statt lunar-moon habe ich ihn new-moon getauft.
          von welcher Sicht aus muss ich den Pfad nehmen ?

          DJMarc75 1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @Curtis777 last edited by DJMarc75

            @curtis777 na klar - eben gesehen.

            Der Pfad ist ja auch falsch.

            Zuerst musst Du mal in der VIS über den Dateimanager zum gewünschten Ordner in Deiner VIS gehen und dort dann die 3 Ordner reinschieben. So sieht das bei mir aus:

            Screenshot 2023-02-24 092519.png

            Diesen Pfad dann in der Konfig vom Adapter eintragen siehe nochmal hier:

            Screenshot 2023-02-24 090706.png

            edit: 2022ML ist natürlich mein Ordner zu meiner VIS ... ersetzen Du musst 😉

            Curtis777 1 Reply Last reply Reply Quote 0
            • Curtis777
              Curtis777 @DJMarc75 last edited by

              @djmarc75
              Jetzt habe ich neue Ordner erstellt und die png files dort rein.
              im Dateibrowser sehe ich sie.
              2d1c2ea5-7484-403c-b10c-5e25b0b02375-image.png

              Pfad oben in der Leiste kopiert.
              und im Adapter eingefügt gespeichert und trotzdem kein Erfolg...
              e4c294ad-2f0a-49b5-85a8-40e7eeb26d42-image.png

              DJMarc75 1 Reply Last reply Reply Quote 0
              • DJMarc75
                DJMarc75 @Curtis777 last edited by

                @curtis777 Adapter neu starten und den Browsercache mal leeren.

                Warum hast Du da 29 Icons ? sind doch nur 22 !

                Curtis777 1 Reply Last reply Reply Quote 1
                • Curtis777
                  Curtis777 @DJMarc75 last edited by Curtis777

                  @djmarc75 habs nach mehrmaligem Reboot endlich geschafft... keine Ahnung woran es lag.

                  Danke dir für deine Logos und deine Hilfe

                  1 Reply Last reply Reply Quote 0
                  • D
                    daOlli @DJMarc75 last edited by

                    @djmarc75 darf ich fragen wie du zwischen den Tag und Nacht Icons wechelst?

                    DJMarc75 1 Reply Last reply Reply Quote 0
                    • DJMarc75
                      DJMarc75 @daOlli last edited by

                      @daolli sagte in Neue icons für dasWetter:

                      zwischen den Tag und Nacht Icons wechelst?

                      Dazu legst Du einen eigenen DP an und setzt per Blockly den Pfad zum Bild.

                      Screenshot 2023-04-21 004507.png

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <block type="on_ext" id="I}3)bbRcW(gJ4K5ap80w" x="163" y="63">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                         <field name="CONDITION">any</field>
                         <field name="ACK_CONDITION"></field>
                         <value name="OID0">
                           <shadow type="field_oid" id="_lvP~9B:r_$8b`luCt|#">
                             <field name="oid">daswetter.0.NextHours.Location_1.Day_1.current.hour_value</field>
                           </shadow>
                         </value>
                         <statement name="STATEMENT">
                           <block type="update" id="qv.kukw}T{,fQORc1R1]">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">0_userdata.0.Wetter.Funktionen.Iconpfad_aktuell</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="logic_ternary" id="2v{+FvmYuN73)n@y*`[;">
                                 <value name="IF">
                                   <block type="get_value" id="Z#j]hZrF5|XQub^+PR$D">
                                     <field name="ATTR">val</field>
                                     <field name="OID">javascript.0.variables.isDayTime</field>
                                   </block>
                                 </value>
                                 <value name="THEN">
                                   <block type="text_join" id="Vm{z:$lXD=ki07I?f!Pl">
                                     <mutation items="3"></mutation>
                                     <value name="ADD0">
                                       <block type="text" id="9a!a,faS!yHH!TqJz^mT">
                                         <field name="TEXT">/vis.0/Icons/Wetter/Tag/</field>
                                       </block>
                                     </value>
                                     <value name="ADD1">
                                       <block type="get_value" id="=*IYQO*s%Y~Rt%88+g!/">
                                         <field name="ATTR">val</field>
                                         <field name="OID">daswetter.0.NextHours.Location_1.Day_1.current.symbol_value</field>
                                       </block>
                                     </value>
                                     <value name="ADD2">
                                       <block type="text" id="gi,](n-IDb`V1/tS0ylC">
                                         <field name="TEXT">.png</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <value name="ELSE">
                                   <block type="text_join" id="fN8-l/=40v*{fui_f%(n">
                                     <mutation items="3"></mutation>
                                     <value name="ADD0">
                                       <block type="text" id="P/jcqeK;P*NLZ8N!Y=y!">
                                         <field name="TEXT">/vis.0/Icons/Wetter/Nacht/</field>
                                       </block>
                                     </value>
                                     <value name="ADD1">
                                       <block type="get_value" id="g.y!AFG%;!P.{cjS86qa">
                                         <field name="ATTR">val</field>
                                         <field name="OID">daswetter.0.NextHours.Location_1.Day_1.current.symbol_value</field>
                                       </block>
                                     </value>
                                     <value name="ADD2">
                                       <block type="text" id="iY:*m+F)g(2aBEw)O=1:">
                                         <field name="TEXT">.png</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                      </xml>
                      

                      In der VIS nimmst Du nun folgendes Widget und trägst den erstellten DP ein.

                      Screenshot 2023-04-21 004923.png

                      D S 2 Replies Last reply Reply Quote 0
                      • D
                        daOlli @DJMarc75 last edited by

                        @djmarc75 vielen Dank!!

                        1 Reply Last reply Reply Quote 0
                        • S
                          sabbelhardy @DJMarc75 last edited by

                          @djmarc75 Vielen Dank

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

                          Support us

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

                          874
                          Online

                          31.9k
                          Users

                          80.2k
                          Topics

                          1.3m
                          Posts

                          daswetter
                          12
                          52
                          6581
                          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