Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Support Adapter Energiefluss-erweitert v0.6.2

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Support Adapter Energiefluss-erweitert v0.6.2

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

      @u66
      Ich habe mir da ein einfaches Blockly gebaut.

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="schedule" id="0/qZ:n*MSVI*7nfu5NIC" x="-88" y="-288">
          <field name="SCHEDULE">* * * * *</field>
          <statement name="STATEMENT">
            <block type="debug" id="TsF@ptpZvsTw/G-?~1h~">
              <field name="Severity">log</field>
              <value name="TEXT">
                <shadow type="text" id="Av*!vyE7*uL2}sYtHW,a">
                  <field name="TEXT">test</field>
                </shadow>
              </value>
              <next>
                <block type="update" id="hasc4uE!:Y?)qda(zXjV">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">0_userdata.0.Datum_und_Zeit</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="time_get" id="y:=7;mv!bm_cA{RHF1:3">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                      <field name="OPTION">custom</field>
                      <field name="FORMAT">TT.MM.JJ SS:mm</field>
                    </block>
                  </value>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      U66 arteck 2 Replies Last reply Reply Quote 0
      • U66
        U66 @c1olli last edited by

        @c1olli
        Danke für die Antwort
        Damit kenn ich mich nun garnicht aus,wo kommt das hin ?
        wie binde ich das in den Adapter ein ?

        1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active @c1olli last edited by

          @c1olli das kennst du nicht ???

          e29cddc6-9e4b-49e2-95b1-df88d16e9717-grafik.png

          C 1 Reply Last reply Reply Quote 0
          • C
            c1olli @arteck last edited by

            @arteck
            Bei mir gibt es nur die unteren vier Werte ab dayTime. Die Astro Werte habe ich nicht.

            arteck 1 Reply Last reply Reply Quote 0
            • arteck
              arteck Developer Most Active @c1olli last edited by arteck

              @c1olli musst du ja auch einscahlten

              c84dff24-496c-450e-9a57-29cd52d0dab8-grafik.png

              U66 C 2 Replies Last reply Reply Quote 0
              • U66
                U66 @arteck last edited by

                @arteck
                vielen Dank

                2024-01-23_14h21_09.png

                hat mit Java---dayTime geklappt 👍

                1 Reply Last reply Reply Quote 0
                • C
                  c1olli @arteck last edited by

                  @arteck
                  Das Kästchen zum Aktivieren fehlt bei mir.

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @c1olli last edited by

                    @c1olli sagte in Test Adapter Energiefluss-erweitert v0.1.x GitHub/Latest:

                    @arteck
                    Das Kästchen zum Aktivieren fehlt bei mir.

                    welche version vom admin hast du?

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      c1olli @Homoran last edited by

                      @homoran
                      Ist 6.12.0 sollte die aktuelle sein.
                      Ansonsten sind alle anderen Adapter auch aktuell.

                      Elektrofix-OL 1 Reply Last reply Reply Quote 0
                      • Elektrofix-OL
                        Elektrofix-OL @c1olli last edited by

                        Wie kann ich die Farbe von einem Symbol (ID23) in Anhängigkeit der Datenquelle steuern? Ich möchte das das Auto eine andere Farbe annimmt, wenn es verbunden ist. In Überschreiben festlegen habe ich es schon versucht mit fill, color und outline-color, aber alles ohne erfolgt.
                        Mit dem Rechteck(ID22) bekomme ich das hin, es wechselt die Farbe, wenn das Auto eingesteckt ist.

                         "22": {
                                    "position": 7,
                                    "type": "rect",
                                    "id": 22,
                                    "rx": 10,
                                    "height": 100,
                                    "width": 100,
                                    "pos_x": 223,
                                    "pos_y": 285,
                                    "fill": "rgba(0, 0, 255, 0.29)",
                                    "color": "rgb(0, 0, 255)",
                                    "stroke": 2,
                                    "shadow": "rgba(0, 0, 0, 0.7)",
                                    "frame": "_overlay",
                                    "fill_value": "#00D1FF00",
                                    "fill_type": "value",
                                    "fill_direction": 90,
                                    "fill_max": 1,
                                    "border_value": "#CBD9FF",
                                    "border_type": "value",
                                    "border_direction": "cw",
                                    "border_style": "round",
                                    "border_max": 1,
                                    "border_reverse": false,
                                    "border_start": 90,
                                    "source": 9,
                                    "threshold": 0
                                },
                                "23": {
                                    "position": 3,
                                    "type": "icon",
                                    "id": "23",
                                    "icon": "material-symbols:electric-car",
                                    "width": "24",
                                    "height": "24",
                                    "color": "rgb(215, 215, 215)",
                                    "pos_x": "261",
                                    "pos_y": "291",
                                    "shadow": "",
                                    "source": "9",
                                    "threshold": 0,
                                    "frame": "_overlay",
                                    "action": "none",
                                    "override": {
                                        "=1": {
                                            "color": "#D7D7D7"
                                        },
                                        "=0": {
                                            "color": "#141414"
                                        }
                                    }
                                },
                        

                        hat jemand einen Lösungsansatz für mich?

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Elektrofix-OL last edited by

                          @elektrofix-ol welche Werte kann die Datenquelle annehmen?
                          hast du die Datenquelle definiert?
                          hast du css Klassen für die Farben eines icons definiert?
                          Hast du einen offset für den Wert im Objekt eingestellt?

                          mit dem json komme ich nicht so klar 😞
                          mit Screenshots von den Einstellungen kann ich mehr anfangen

                          Elektrofix-OL 1 Reply Last reply Reply Quote 0
                          • Elektrofix-OL
                            Elektrofix-OL @Homoran last edited by

                            @homoran
                            Die Datenquelle ist eine Boolean, der Wert ist dann 0 oder 1 annimmt. In CCS habe ich nichts für diese Teil eingetragen (kann ich auch nicht, fehlt mir das Know How)
                            6f5ea692-b0a9-49ba-b6f4-ec2183962bea-image.png 38809b10-11a0-40a1-8f17-cdcf58e43499-image.png 9b6d85bb-e957-444c-b5c2-6d13167c2306-image.png 8a15eba9-4c72-4880-9bfd-cd4888453225-image.png

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Elektrofix-OL
                              Elektrofix-OL @Andre 6 last edited by

                              @andre-6 @skb Kann ich so bestätigen, SVG's funktioniert bei mir auch nicht. Ich hatte bei mir noch ziemlich viele "Leichen" von SVG drin, habe diese alle gelöscht, hat jedoch auch keine Erfolg gebracht. Gespeichert wurde das ID108,

                              "108": {
                                          "position": 19,
                                          "type": "svg",
                                          "subType": "svg",
                                          "id": "108",
                                          "color": "rgb(255, 0, 0)",
                                          "pos_x": "54",
                                          "pos_y": "89",
                                          "shadow": "",
                                          "svg_content": "<path d=\"M41.3,19.5c0-6.8-0.5-11.3-7.9-11.9h-0.6c-1.5-1.3-8.2-7.2-12.8-7.5c-1.7-0.1-3.5-0.1-5.3,0  C12.5,0.2,9,0.4,5.6,0.8C5,0.9,4.5,1.3,4.4,1.9c0,0.1-1.3,6.3-1.9,9.3c-3,2.6-2.7,7.8-2.1,9.9l0,0c0.8,3,3.8,4.9,6.9,4.1  c1.6-0.4,3-1.5,3.7-3.1h19.5c1.4,2.8,4.8,4,7.6,2.6c1.9-0.9,3.2-2.9,3.2-5.1V19.5z M19.9,2.9c2.3,0.2,5.9,2.6,8.6,4.7H12.7  c0.8-1.7,1.8-3.3,2.9-4.8C17,2.8,18.5,2.8,19.9,2.9 M5.9,22.5c-1.6,0-2.8-1.3-2.8-2.8c0-1.6,1.3-2.8,2.8-2.8s2.8,1.3,2.8,2.8  C8.7,21.3,7.4,22.5,5.9,22.5 M5.9,14c-0.9,0-1.7,0.2-2.5,0.6C3.6,14,4,13.5,4.6,13.1c0.3-0.2,0.5-0.5,0.6-0.8  C5.6,10.2,6.5,5.5,7,3.5c1.7-0.2,3.5-0.3,5.1-0.4c-1.7,2.6-3.2,5.6-2.5,8c0.5,1.7,3.4,5.7,6,8.3h-3.9C11.4,16.4,8.9,14,5.9,14  L5.9,14z M30,19.4h-9.7c-0.3,0-0.6-0.1-0.8-0.2c-2.1-1.4-6.3-6.8-7.1-8.6h20.9c3.2,0.2,4.5,1,4.9,4.2c-2.8-1.4-6.2-0.4-7.6,2.4  C30.3,17.9,30,18.6,30,19.4 M35.7,22.6c-1.6,0-2.8-1.3-2.8-2.8s1.3-2.8,2.8-2.8s2.8,1.3,2.8,2.8C38.5,21.4,37.2,22.6,35.7,22.6\\\" fill=\"currentColor\"></path>",
                                          "frame": "_overlay"
                                      }
                              

                              es ist auch nach dem Speichern auch immer noch da, aber dann fehlen die Einstellung.

                              "108": {
                                          "position": 19,
                                          "type": "svg",
                                          "subType": "svg",
                                          "id": "108",
                                          "color": "rgb(0, 0, 0)",
                                          "pos_x": "298",
                                          "pos_y": "310",
                                          "shadow": "",
                                          "svg_content": "undefined",
                                          "frame": "_overlay"
                                      }
                              

                              Ich habe es jetzt mit Reload Seite => SVG definieren => speichern versucht kein erfolgt. Ich kann das SVG bis zum Reload auf der Seite Überblick sehen, danach nicht mehr. Es bleibt nur in der ID-Liste und kann so wieder erreicht werden.

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @Elektrofix-OL last edited by Homoran

                                @elektrofix-ol sagte in Test Adapter Energiefluss-erweitert v0.1.x GitHub/Latest:

                                kann ich auch nicht, fehlt mir das Know How

                                steht hier im Thread

                                hier ein paar Beispiele

                                /* Icons */
                                
                                /* Icons von https://icon-sets.iconify.design/
                                
                                Icon suchen, anklicken, etwas weiter unten auf SVG klicken, dort den Text von "d" kopieren und im Beispiel einfuegen
                                
                                */
                                
                                
                                .icon_rot path {
                                
                                /* oberhalb das Path ist wichtig */
                                
                                fill: #c20b33 !important;
                                
                                }
                                
                                .icon_gruen path {
                                
                                /* oberhalb das Path ist wichtig */
                                
                                fill: #64c60f !important;
                                /* stroke: #000000 !important; */
                                
                                }
                                
                                
                                .icon_tuerkis path {
                                
                                /* oberhalb das Path ist wichtig */
                                
                                fill: #2cccd7 !important;
                                stroke: #000000 !important;
                                
                                }
                                

                                und dann beim Icon eingeben

                                Screenshot_20240124-144519_Firefox.jpg

                                wenn der Wert jetzt true wird, wird das icon rot

                                Elektrofix-OL 1 Reply Last reply Reply Quote 0
                                • Elektrofix-OL
                                  Elektrofix-OL @Homoran last edited by

                                  @homoran Das heißt, ich muss in CCS die Farbe definieren und im den Eigenschaften die Definition der CCS aufrufen? (Sorry wenn ich so doof fragen, aber CCS ist für mich zu neu, Ich Stamme aus der Zeit mit Wählscheibe)

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Elektrofix-OL last edited by

                                    @elektrofix-ol sagte in Test Adapter Energiefluss-erweitert v0.1.x GitHub/Latest:

                                    Ich Stamme aus der Zeit mit Wählscheibe)

                                    das ist modern!
                                    handvermittlung wäre erwähnenswert.

                                    @elektrofix-ol sagte in Test Adapter Energiefluss-erweitert v0.1.x GitHub/Latest:

                                    ich muss in CCS die Farbe definieren und im den Eigenschaften die Definition der CCS aufrufen

                                    ja

                                    Elektrofix-OL 1 Reply Last reply Reply Quote 0
                                    • Elektrofix-OL
                                      Elektrofix-OL @Homoran last edited by

                                      @homoran läuft! Danke, für über die Straße helfen!

                                      U66 1 Reply Last reply Reply Quote 0
                                      • U66
                                        U66 @Elektrofix-OL last edited by U66

                                        @all.

                                        Guten Morgen
                                        Ich brauche mal noch einen Denkanstoß

                                        Ich möchte gern ein Wetter icon im Adapter einfügen.
                                        Openweather stellt mir da den Datenpunkt "openweathermap.0.forecast.current.icon" zur verfügung.
                                        gleichzeitig verweist der Datenpunkt auf das png icon ( was ja immer die Bilddatei ändert )

                                        wie kann ich dem Datenpunkt das icon entlocken ?
                                        eine Bilddatei wäre ja auch falsch da die sich ja am Tag mehrere Male ändern kann.

                                        2024-01-25_09h17_56.pnglink text

                                        Homoran 1 Reply Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @U66 last edited by

                                          @u66 sagte in Test Adapter Energiefluss-erweitert v0.1.x GitHub/Latest:

                                          ein Wetter icon

                                          @u66 ich bin jetzt geneigt zu sagen dass dieses Szenario für eine Darstellung des Energieflusses nicht vorgesehen ist.

                                          U66 1 Reply Last reply Reply Quote 1
                                          • U66
                                            U66 @Homoran last edited by

                                            @homoran
                                            So schnell wollte ich eigentlich nicht aufgeben 😞 😂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            942
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            vis
                                            179
                                            4109
                                            3583151
                                            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