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.7.7

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Support Adapter Energiefluss-erweitert v0.7.7

    This topic has been deleted. Only users with topic management privileges can see it.
    • SKB
      SKB Developer Most Active @Merlin123 last edited by

      @merlin123 wie der Datenpunkt aussieht weiß ich 😉

      Der Inhalt ist interessanter. Den weiss ich leider nicht 🙂

      Merlin123 1 Reply Last reply Reply Quote 0
      • SKB
        SKB Developer Most Active @Merlin123 last edited by

        @merlin123 Versuch mal statt =0 ein <1.

        Weiss aus dem Kopf gerade nicht, ob der Operant = gultig ist.

        Merlin123 1 Reply Last reply Reply Quote 0
        • Merlin123
          Merlin123 @SKB last edited by

          @skb sagte in Test Adapter Energiefluss-erweitert v0.3.x GitHub/Latest:

          @merlin123 wie der Datenpunkt aussieht weiß ich 😉

          Der Inhalt ist interessanter. Den weiss ich leider nicht 🙂

          Ups... Sorry

          {"basic":{"enable_grid":true,"enable_animation":true,"enable_area_catch":true,"enable_config_icon":true,"enable_last_id":false,"enable_icon_proxy":false,"enable_low_performance":false,"height":305,"width":718,"styles":"","font":{"family":"\"Arial\", sans-serif","size":"20","color":"","fill":"","align":"middle"},"rect":{"height":100,"width":100,"corners":10},"circle":{"radius":50},"elm":{"stroke_width":5,"color":"","fill":"","pos_x":50,"pos_y":50},"icon":{"height":24,"width":24,"color":""},"background_color":"#FFFFFFC9"},"calculation":{"battery":{"dod":0,"capacity":0,"percent":-1,"charge":-1,"charge_prop":false,"charge_kw":false,"discharge":-1,"discharge_prop":false,"discharge_kw":false},"consumption":{"production":[-1],"production_kw":false,"gridFeed":-1,"gridFeed_kw":false,"gridFeed_prop":false,"gridConsume":-1,"gridConsume_kw":false,"gridConsume_prop":false,"batteryCharge":-1,"batteryCharge_kw":false,"batteryCharge_prop":false,"batteryDischarge":-1,"batteryDischarge_kw":false,"batteryDischarge_prop":false}},"animation":{"stroke":"#ffce4a","stroke_dasharray":"10 17 10 17 10  72","stroke_width":"6","animation_duration":"2000","stroke_linecap":"round","animation_timing_function":"linear"},"animation_configuration":{"dots":"3","distance":"17","length":"10"},"line":{"stroke_width":"8","stroke":"#000000"},"elements":{"2":{"position":9,"type":"text","subType":"datasource","id":2,"pos_x":452,"pos_y":59,"color":"none","fill":"rgb(50, 163, 2)","font_family":"Arial, sans-serif","font_size":18,"align":"middle","text":"ID 2","unit":"W","source":0,"source_option":-1,"source_display":"value","shadow":"","threshold":0,"calculate_kw":"calc","counter_animation":false,"convert":false,"decimal_places":2,"action":"none","subtract":[-1],"add":[-1],"frame":"_overlay"},"5":{"position":5,"type":"rect","id":5,"rx":10,"height":100,"width":100,"pos_x":400,"pos_y":1,"fill":"none","color":"rgb(23, 255, 15)","stroke":2,"shadow":"rgba(0, 0, 0, 0.7)","frame":"_overlay","fill_type":"percent","fill_direction":90,"border_type":-1,"border_direction":"cw","border_style":"round","border_reverse":false,"border_start":null,"source":-1,"threshold":0},"6":{"position":5,"type":"icon","id":"6","icon":"mdi:solar-panel","width":24,"height":24,"color":"rgba(0, 0, 0, 0.7)","pos_x":"440","pos_y":"14","shadow":"","source":-1,"threshold":0,"frame":"_overlay","action":"none"},"7":{"position":4,"type":"rect","id":7,"rx":10,"height":100,"width":100,"pos_x":200,"pos_y":200,"fill":"none","color":"rgb(0, 181, 221)","stroke":2,"shadow":"rgba(0, 0, 0, 0.7)","frame":"_overlay","fill_type":"percent","fill_direction":90,"border_type":-1,"border_direction":"cw","border_style":"round","border_reverse":false,"border_start":null,"source":-1,"threshold":0},"9":{"position":8,"type":"text","subType":"datasource","id":9,"pos_x":246,"pos_y":257,"color":"none","fill":"rgb(5, 106, 221)","font_family":"Arial, sans-serif","font_size":18,"align":"middle","text":"ID 9","unit":"W","source":2,"source_option":-1,"source_display":"value","shadow":"","threshold":0,"calculate_kw":"calc","counter_animation":false,"convert":false,"decimal_places":2,"action":"none","subtract":[-1],"add":[-1],"frame":"_overlay"},"10":{"position":7,"type":"text","id":10,"pos_x":451,"pos_y":82,"color":"none","fill":"rgba(0, 0, 0, 0.7)","font_family":"Arial, sans-serif","font_size":14,"align":"middle","text":"Produktion","shadow":"","frame":"_overlay"},"11":{"position":6,"type":"text","id":11,"pos_x":245,"pos_y":279,"color":"none","fill":"rgba(0, 0, 0, 0.7)","font_family":"Arial, sans-serif","font_size":14,"align":"middle","text":"Verbrauch","shadow":"","frame":"_overlay"},"12":{"position":4,"type":"icon","id":"12","icon":"mdi:house-city","width":24,"height":24,"color":"rgba(0, 0, 0, 0.7)","pos_x":"233","pos_y":"218","shadow":"","source":-1,"threshold":0,"frame":"_overlay","action":"none"},"14":{"position":3,"type":"rect","id":14,"rx":10,"height":100,"width":100,"pos_x":600,"pos_y":200,"fill":"none","color":"rgba(97, 104, 122, 0.7)","stroke":2,"shadow":"rgba(0, 0, 0, 0.7)","frame":"_overlay","fill_type":"percent","fill_direction":90,"border_type":-1,"border_direction":"cw","border_style":"round","border_reverse":false,"border_start":null,"source":-1,"threshold":0},"19":{"position":5,"type":"text","subType":"datasource","id":19,"pos_x":650,"pos_y":259,"color":"none","fill":"rgb(97, 104, 122)","font_family":"Arial, sans-serif","font_size":18,"align":"middle","text":"ID 19","unit":"W","source":1,"source_option":-1,"source_display":"value","shadow":"","threshold":0,"calculate_kw":"calc","counter_animation":false,"convert":true,"decimal_places":2,"action":"none","subtract":[-1],"add":[-1],"frame":"_overlay"},"20":{"position":3,"type":"icon","id":"20","icon":"mdi:electricity-from-grid","width":24,"height":24,"color":"rgba(0, 0, 0, 0.7)","pos_x":"638","pos_y":"217","shadow":"","source":-1,"threshold":0,"frame":"_overlay","action":"none"},"21":{"position":4,"type":"text","id":21,"pos_x":650,"pos_y":282,"color":"none","fill":"rgba(0, 0, 0, 0.7)","font_family":"Arial, sans-serif","font_size":14,"align":"middle","text":"Netz","shadow":"","frame":"_overlay"},"22":{"position":2,"type":"rect","id":22,"rx":10,"height":100,"width":100,"pos_x":20,"pos_y":3,"fill":"none","color":"rgb(197, 144, 46)","stroke":2,"shadow":"rgba(0, 0, 0, 0.7)","frame":"_overlay","fill_type":"percent","fill_direction":90,"border_type":-1,"border_direction":"cw","border_style":"round","border_reverse":false,"border_start":null,"source":-1,"threshold":0},"23":{"position":2,"type":"icon","id":"23","icon":"material-symbols:electric-car","width":24,"height":24,"color":"rgba(0, 0, 0, 0.7)","pos_x":"55","pos_y":"14","shadow":"","source":-1,"threshold":0,"frame":"_overlay","action":"none"},"24":{"position":3,"type":"text","id":24,"pos_x":65,"pos_y":82,"color":"none","fill":"rgba(0, 0, 0, 0.7)","font_family":"Arial, sans-serif","font_size":14,"align":"middle","text":"Auto","shadow":"","frame":"_overlay"},"27":{"position":2,"type":"text","subType":"datasource","id":27,"pos_x":69,"pos_y":60,"color":"none","fill":"rgb(197, 144, 46)","font_family":"Arial, sans-serif","font_size":18,"align":"middle","text":"ID 27","unit":"%","source":4,"source_option":-1,"source_display":"value","shadow":"","threshold":0,"calculate_kw":"none","counter_animation":false,"convert":false,"decimal_places":0,"action":"none","subtract":[-1],"add":[-1],"frame":"_overlay"},"28":{"position":1,"type":"rect","id":28,"rx":10,"height":100,"width":100,"pos_x":400,"pos_y":200,"fill":"none","color":"rgb(107, 96, 54)","stroke":5,"shadow":"","frame":"_overlay","fill_type":-1,"fill_direction":90,"border_type":-1,"border_direction":"cw","border_style":"round","border_reverse":false,"border_start":180,"source":-1,"threshold":0},"29":{"position":1,"type":"icon","id":"29","icon":"cbi:huawei-solar-inverter","width":50,"height":50,"color":"rgb(12, 76, 107)","pos_x":"427","pos_y":"223","shadow":"","source":-1,"threshold":0,"frame":"_overlay","action":"none"},"30":{"position":0,"type":"rect","id":30,"rx":10,"height":100,"width":100,"pos_x":201,"pos_y":3,"fill":"none","color":"rgb(37, 167, 95)","stroke":5,"shadow":"","frame":"_overlay","fill_type":-1,"fill_direction":90,"border_type":-1,"border_direction":"cw","border_style":"round","border_reverse":false,"border_start":180,"source":-1,"threshold":0},"31":{"position":1,"type":"text","id":31,"pos_x":250,"pos_y":82,"color":"none","fill":"rgb(0, 0, 0)","font_family":"Arial, sans-serif","font_size":14,"align":"middle","text":"Wallbox","shadow":"","frame":"_overlay"},"32":{"position":0,"type":"icon","id":"32","icon":"mdi:wallbox","width":24,"height":24,"color":"rgb(78, 27, 79)","pos_x":"239","pos_y":"14","shadow":"","source":-1,"threshold":0,"frame":"_overlay","action":"none"},"34":{"position":0,"type":"text","subType":"datasource","id":34,"pos_x":253,"pos_y":59,"color":"none","fill":"rgb(242, 14, 64)","font_family":"Arial, sans-serif","font_size":18,"align":"middle","text":"ID 34","unit":"W","source":3,"source_option":-1,"source_display":"value","shadow":"","threshold":0,"calculate_kw":"calc","counter_animation":false,"convert":false,"decimal_places":2,"action":"none","subtract":[-1],"add":[-1],"frame":"_overlay"}},"defs":{"path_5_28":{"type":"def","id":"path_5_28","d":"M450 102  V 197.5","startSlot":"bottom","endSlot":"top"},"path_28_14":{"type":"def","id":"path_28_14","d":"M502.5 250  H 599","startSlot":"right","endSlot":"left"},"path_28_7":{"type":"def","id":"path_28_7","d":"M397.5 250  H 301","startSlot":"left","endSlot":"right"},"path_28_30":{"type":"def","id":"path_28_30","d":"M397.5 230  H 378.7 A 15 15 0 0 1 363.7 215  V 68 A 15 15 0 0 0 348.7 53  H 303.5","startSlot":"left_top","endSlot":"right"},"path_30_22":{"type":"def","id":"path_30_22","d":"M198.5 53  H 121","startSlot":"left","endSlot":"right"}},"lines":{"line_path_5_28":{"type":"line","id":"line_path_5_28","href":"#path_5_28","color":"rgb(0, 0, 0)","shadow":""},"line_path_28_14":{"type":"line","id":"line_path_28_14","href":"#path_28_14","color":"rgb(0, 0, 0)","shadow":""},"line_path_28_7":{"type":"line","id":"line_path_28_7","href":"#path_28_7","color":"rgb(0, 0, 0)","shadow":""},"line_path_28_30":{"type":"line","id":"line_path_28_30","href":"#path_28_30","color":"rgb(0, 0, 0)","shadow":""},"line_path_30_22":{"type":"line","id":"line_path_30_22","href":"#path_30_22","color":"rgb(0, 0, 0)","shadow":"","override":{"=0":{"display":"none"},">0":{"display":"inline"}}}},"animations":{"anim_path_5_28":{"type":"animation","id":"anim_path_5_28","href":"#path_5_28","color":"rgb(0, 255, 0)","source":0,"threshold":0,"animation_properties":"positive","animation_option":false,"dots":0,"duration":0,"power":0,"animation_type":-1},"anim_path_28_14":{"type":"animation","id":"anim_path_28_14","href":"#path_28_14","color":"rgb(0, 255, 7)","source":1,"threshold":0,"animation_properties":"positive","animation_option":true,"dots":0,"duration":0,"power":0,"animation_type":-1,"override":{"<0":{"stroke":"rgba(255, 0, 0,1)"},">0":{"stroke":"rgba(0, 255, 0,1)"}}},"anim_path_28_7":{"type":"animation","id":"anim_path_28_7","href":"#path_28_7","color":"rgb(255, 0, 0)","source":1,"threshold":0,"animation_properties":"positive","animation_option":false,"dots":0,"duration":0,"power":0,"animation_type":-1,"override":{"default":{"display":"inline"},"<0":{"stroke":"rgba(255, 0, 0,1)","display":"inline"},">0":{"stroke":"rgba(0, 255, 0,1)","display":"inline"}}},"anim_path_28_30":{"type":"animation","id":"anim_path_28_30","href":"#path_28_30","color":"rgb(255, 0, 0)","source":3,"threshold":0,"animation_properties":"positive","animation_option":false,"dots":0,"duration":0,"power":0,"animation_type":-1},"anim_path_30_22":{"type":"animation","id":"anim_path_30_22","href":"#path_30_22","color":"rgb(255, 0, 0)","source":3,"threshold":0,"animation_properties":"positive","animation_option":false,"dots":0,"duration":0,"power":0,"animation_type":-1}},"datasources":{"0":{"source":"0_userdata.0.PV_Produktion","alias":"PV_Produktion","factor":1},"1":{"source":"0_userdata.0.PV_Einspeisung","alias":"PV_Einspeisung","factor":1},"2":{"source":"0_userdata.0.PV_Eigenverbrauch_ohne_WB","alias":"Verbrauch Haus","factor":1},"3":{"source":"0_userdata.0.PV_Wallbox","alias":"Wallbox","factor":1},"4":{"source":"vw-connect.0.TMBJC9NY9PF053043.status.charging.status.battery.stateOfChargeInPercent","alias":"SOC","factor":1}}}
          
          SKB 1 Reply Last reply Reply Quote 0
          • Merlin123
            Merlin123 @SKB last edited by

            @skb sagte in Test Adapter Energiefluss-erweitert v0.3.x GitHub/Latest:

            @merlin123 Versuch mal statt =0 ein <1.

            Weiss aus dem Kopf gerade nicht, ob der Operant = gultig ist.

            Mit

            {
                "<1": {
                    "display": "none"
                },
                ">1": {
                    "display": "inline"
                }
            }
            

            verschwindet sie mal 😉
            Rest schau ich, wenn ich wieder laden muss. Danke erstmal!

            SKB 2 Replies Last reply Reply Quote 0
            • SKB
              SKB Developer Most Active @Merlin123 last edited by

              @merlin123 OK, dann weiss ich jetzt, das der Operant = vielleicht noch rein sollte. Schaue mal.

              1 Reply Last reply Reply Quote 1
              • SKB
                SKB Developer Most Active @Merlin123 last edited by

                @merlin123 melde mich dazu später nochmal. Muss ich am Rechner schauen.

                Aufm Handy kann ich das nicht so gut analysieren.

                SKB 1 Reply Last reply Reply Quote 1
                • SKB
                  SKB Developer Most Active @SKB last edited by

                  @skb Du hast bei verschiedenen Elementen die Berechnung zu kW aktiv. Natürlich musst Du dann die Einheit anpassen, weils ja dann nicht mehr W ist.

                  2024-04-13 23_25_24-.png

                  1 Reply Last reply Reply Quote 0
                  • SKB
                    SKB Developer Most Active @Merlin123 last edited by

                    @merlin123 Habe nochmal geschaut. Für einen genauen Wert gilt der Operant ==
                    Also ==0. Kannst Du es so mal versuchen?

                    Merlin123 1 Reply Last reply Reply Quote 0
                    • Merlin123
                      Merlin123 @SKB last edited by

                      @skb so.... ==0 geht 🙂

                      Bei den Berechnungen hast Du Recht gehabt.
                      Was ich nur nicht verstehe... Bin mir eigentlich sicher, das es am Anfang gestimmt hat.... Keine Ahnung...
                      Ist die Umrechnung standardmäßig aktiv?

                      SKB 1 Reply Last reply Reply Quote 0
                      • Merlin123
                        Merlin123 last edited by

                        Hab jetzt auch ne Lösung für das Problem:

                        • Linie verstecken
                        • Linie anzeigen und nicht animieren
                        • Linie animieren

                        Die Linie selbst ist abhängig davon, ob das Auto läd oder nicht, animiert.
                        Wenn das Auto nicht angeschlossen wird, wird ein Rechteck sichtbar, das über der Linie liegt und diese versteckt. Das wird von einem weiteren Datenpunkt gesteuert, der anzeigt, ob das Auto an der Wallbox angeschlossen wird.
                        Das Rechteck ist bei mir weiß gefüllt, da die Anzeige auf weißem Hintergrund ist. Der Rahmen ist auf 0 Breite gesetzt.
                        Screenshot 2024-04-14 083950.png

                        In der Überschreibungsregel steht:

                        {
                            "<2": {
                                "display": "inline"
                            },
                            ">1": {
                                "display": "none"
                            }
                        }
                        

                        Ab Wert 1 aufwärts ist das Auto angeschlossen.

                        Falls mal jemand sowas braucht.... 🙂

                        SKB 1 Reply Last reply Reply Quote 0
                        • SKB
                          SKB Developer Most Active @Merlin123 last edited by

                          @merlin123 ein Live Hack sozusagen 😉

                          Merlin123 1 Reply Last reply Reply Quote 1
                          • SKB
                            SKB Developer Most Active @Merlin123 last edited by

                            @merlin123 Prima, wenn == geht - hatte es gestern nicht mehr im Kopf!

                            Standardmäßig sind diese nicht aktiv.

                            1 Reply Last reply Reply Quote 1
                            • Merlin123
                              Merlin123 @SKB last edited by

                              @skb sagte in Test Adapter Energiefluss-erweitert v0.3.x GitHub/Latest:

                              @merlin123 ein Live Hack sozusagen 😉

                              Genau 😉
                              Nachdem ich jetzt langsam die Logik verstehe, wird das auch 😄

                              Danke für den Adapter.... Spart mir ne Menge anderer Widgets... Hatte vor längerem mal den ersten Adapter probiert, aber mit dem wurde ich nicht so richtig warm.

                              SKB 1 Reply Last reply Reply Quote 0
                              • SKB
                                SKB Developer Most Active @Merlin123 last edited by SKB

                                @merlin123 Prima, day freut mich!

                                Der erste Adapter ist zwar gut, ja - aber leider nicht so flexibel. Daher ist es umso erfreulicher, wenn der Nachfolger so gut ankommt 😉

                                Danke für den Kaffee 👍

                                1 Reply Last reply Reply Quote 1
                                • P
                                  ps1304 last edited by

                                  @skb: Thema Zeilenumbruch bei Datenfelder mit Text: nicht sicher ob das schon behandelt wurde: aber wie mache ich einen Zeilenumbruch bei Datenfeldern mit Textausgabe (z. Bsp. Wettervorhersage?
                                  d64f1a93-73c6-4221-8d5f-6784a2dd1152-grafik.png
                                  Gruß Peter

                                  SKB 2 Replies Last reply Reply Quote 0
                                  • SKB
                                    SKB Developer Most Active @ps1304 last edited by

                                    @ps1304 Da die Textelemente keine feste Breite haben, wird der Text unendlich lang. Somit müsste man einen eigenständigen Umbruch erzeugen. Ich überlege dazu einmal was.

                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      ps1304 @SKB last edited by

                                      @skb das wäre cool - analog zu der normalen VIS, da kann man ja die Höhe/Breite des Textfeldes vorgeben und der Umbruch erfolgt automatisch.

                                      SKB 1 Reply Last reply Reply Quote 0
                                      • SKB
                                        SKB Developer Most Active @ps1304 last edited by

                                        @ps1304 Die "normale" VIS benutzt ganz andere Elemente - daher ist hier die Handhabung anders.

                                        VIS nutzt HTML Elemente und hier werden grafische (SVG) Elemente genutzt, die aktuell noch keine Breite bei Text-Elementen unterstützt. Aber, ich denke, ich kann da eine Lösung finden.

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          ps1304 last edited by

                                          @skb - noch was "kosmetisches" :-)) - ich habe jetzt den Background mit foldendem Code hinbekommen:

                                          body {
                                           background-image: url("https://rzwaddupgyhtxsay.myfritz.net:41246/nas/filelink.lua?id=33e32a42f43d9f59");
                                           height: 100%;
                                            width: 100%;
                                            background-repeat: no-repeat;
                                            background-size: cover;
                                            position: relative;
                                           background-color: #cccccc;
                                          }
                                          

                                          Ergebnis ist: das auch im Edit Modus alles schwarz ist:
                                          81988b33-1fc0-44dc-9ccc-e02ebdc11d18-grafik.png

                                          leider etwas schwer zu lesen. Lässt sich das anders umsetzen mit CSS?

                                          SKB 1 Reply Last reply Reply Quote 0
                                          • SKB
                                            SKB Developer Most Active @ps1304 last edited by

                                            @ps1304 Statt body #svg_display. Dann wirds nur in der Anzeige hinterlegt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            890
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            vis
                                            180
                                            4132
                                            4243453
                                            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