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 @arteck last edited by

      @arteck bei dir sind doch da Datenquellen ausgewählt.

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

        @skb Discord ?? wir reden aneinander vorbei

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

          @arteck stell mal die Berechnung auf Bitte wählen, was du nicht nutzt. Ich denke, allea.

          Dann speichern.

          Dann Adapter mal neu starten.

          Geht's dann?

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

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

            @arteck stell mal die Berechnung auf Bitte wählen, was du nicht nutzt. Ich denke, allea.

            Dann speichern.

            Dann Adapter mal neu starten.

            Geht's dann?

            nochmal in Ruhe..... nein es geht nicht.....

            das sind meine Einstellugen.. JETZT
            6e61fb63-51fd-42d1-afc4-0fed1a761c74-grafik.png

            3768057b-9be5-40af-b00f-27973d1cc8b9-grafik.png

            714988c2-d1aa-47ba-87ef-b0e4f19444e8-grafik.png

            ohne Berechnung.. reine Anzeige..
            01f34b11-a678-4b8b-884b-df27b0724e6a-grafik.png

            der gleiche Wert färbt die Batterie Grün..was es zur Zeit auch nicht tut

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

              @arteck Kannst Du statt dem Modbus Wert mal einen Dummy-DP nehmen und schauen, ob darauf eine Reaktion erfolgt?

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

                @skb diese Einstellung funktiontiert seid dem du es eingebaut hast..

                aber dp erstellt. zugeordnet. geht..
                fc01c594-2838-4bd2-a813-d07805a39e63-grafik.png
                wieder auf den alten also modbus .. geht.
                795aa2c6-ff65-44f3-a339-dbe2a7ec2175-grafik.png
                nochmal edit nur gespeichert .. ist wieder weg
                15fb9e95-c227-473b-a77b-7e46c4493214-grafik.png

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

                  @arteck das ist ja seltsam.

                  Kannst du nochmal zum Dummy DP wechseln, dann speichern und im Log die Einstellungen zu der ID kopieren, dann wieder auf den Modus DP und wieder die Daten zu der ID kopieren und ggf. vergleichen, was Anders ist bzw. hier einstellen?

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

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

                    das ist ja seltsam.

                    das ist seit dem du den Bug mit der Überschreibung korrigiert hast

                    nach dem letzten speichern hab ich ne 0 im source
                    0b0e21a2-ceaa-440c-86f2-a655939bf770-grafik.png

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

                      @arteck Das Element hat aber keine Überschreibungen?

                      Kannst du denn mal die beiden Einstellungen zu der ID Posten, wenn du gespeichert hast?

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

                        @skb doch die Zahl hat eine Überschreibung

                        {
                            ">2800": {
                                "font_family": "RobotoCondensed",
                                "font_size": 18,
                                "fill": "#FFFFFF"
                            },
                            ">3500": {
                                "font_family": "RobotoCondensed",
                                "font_size": 18,
                                "fill": "#000000"
                            }
                        }
                        

                        aber auch seid anfang an

                        "33": {
                              "position": 8,
                              "type": "rect",
                              "id": 33,
                              "rx": 0,
                              "height": 98,
                              "width": 53,
                              "pos_x": 57,
                              "pos_y": 311,
                              "fill": "none",
                              "color": "rgba(42, 211, 25, 0.7)",
                              "stroke": 1,
                              "shadow": "rgba(0, 0, 0, 0.7)",
                              "frame": "_overlay",
                              "fill_value": "rgba(23,255,15,0.66)",
                              "fill_type": "percent",
                              "fill_direction": 90,
                              "fill_max": 100,
                              "border_type": -1,
                              "border_direction": "cw",
                              "border_style": "round",
                              "border_reverse": false,
                              "border_start": 180,
                              "source": 0,
                              "threshold": 0,
                              "override": {}
                            },
                            "35": {
                              "position": 37,
                              "type": "text",
                              "subType": "datasource",
                              "id": 35,
                              "pos_x": 65,
                              "pos_y": 358,
                              "color": "none",
                              "fill": "rgb(255, 248, 41)",
                              "font_family": "Arial, sans-serif",
                              "font_size": 14,
                              "degree": -90,
                              "align": "middle",
                              "text": "ID 35",
                              "unit": "%",
                              "source": 0,
                              "source_option": -1,
                              "source_display": "text",
                              "shadow": "",
                              "threshold": 0,
                              "calculate_kw": "none",
                              "counter_animation": false,
                              "convert": false,
                              "decimal_places": 0,
                              "action": "none",
                              "subtract": [
                                -1
                              ],
                              "add": [
                                -1
                              ],
                              "frame": "_overlay",
                              "override": {
                                ">2800": {
                                  "font_family": "RobotoCondensed",
                                  "font_size": 18,
                                  "fill": "#FFFFFF"
                                },
                                ">3500": {
                                  "font_family": "RobotoCondensed",
                                  "font_size": 18,
                                  "fill": "#000000"
                                }
                              }
                            },
                        

                        das sind die 2..nach dem letzten speichern ..

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

                          @arteck Stell mal bitte beides ein, bei welchem Speichern es funktioniert und bei welchem nicht.

                          Aktuell bin ich tatsächlich etwas ratlos 😔

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

                            @skb so hier hab da mal was gebastelt

                            config

                            {
                              "basic": {
                                "enable_grid": true,
                                "enable_animation": false,
                                "enable_area_catch": true,
                                "enable_config_icon": true,
                                "enable_last_id": false,
                                "enable_icon_proxy": false,
                                "enable_low_performance": false,
                                "height": 540,
                                "width": 530,
                                "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": ""
                                }
                              },
                              "calculation": {
                                "battery": {
                                  "dod": null,
                                  "capacity": null,
                                  "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": 5,
                                  "type": "text",
                                  "subType": "datasource",
                                  "id": 2,
                                  "pos_x": 260,
                                  "pos_y": 100,
                                  "color": "none",
                                  "fill": "rgb(255, 206, 74)",
                                  "font_family": "Arial, sans-serif",
                                  "font_size": 18,
                                  "align": "middle",
                                  "text": "ID 2",
                                  "unit": "%",
                                  "source": "0",
                                  "source_option": "-1",
                                  "source_display": "text",
                                  "shadow": "",
                                  "threshold": 0,
                                  "calculate_kw": "calc",
                                  "counter_animation": false,
                                  "convert": false,
                                  "decimal_places": 2,
                                  "action": "none",
                                  "subtract": [
                                    -1
                                  ],
                                  "add": [
                                    -1
                                  ],
                                  "frame": "_overlay"
                                },
                                "14": {
                                  "position": 1,
                                  "type": "rect",
                                  "id": 14,
                                  "rx": 10,
                                  "height": 100,
                                  "width": 100,
                                  "pos_x": 167,
                                  "pos_y": 422,
                                  "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": 4,
                                  "type": "text",
                                  "subType": "datasource",
                                  "id": 19,
                                  "pos_x": 216,
                                  "pos_y": 461,
                                  "color": "none",
                                  "fill": "rgb(97, 104, 122)",
                                  "font_family": "Arial, sans-serif",
                                  "font_size": 18,
                                  "align": "middle",
                                  "text": "ID 19",
                                  "unit": "kW",
                                  "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": 1,
                                  "type": "icon",
                                  "id": "20",
                                  "icon": "mdi:electricity-from-grid",
                                  "width": 24,
                                  "height": 24,
                                  "color": "rgba(0, 0, 0, 0.7)",
                                  "pos_x": "205",
                                  "pos_y": "428",
                                  "shadow": "",
                                  "source": -1,
                                  "threshold": 0,
                                  "frame": "_overlay",
                                  "action": "none"
                                },
                                "21": {
                                  "position": 3,
                                  "type": "text",
                                  "id": 21,
                                  "pos_x": 216,
                                  "pos_y": 495,
                                  "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": 0,
                                  "type": "rect",
                                  "id": 22,
                                  "rx": 10,
                                  "height": 100,
                                  "width": 100,
                                  "pos_x": 407,
                                  "pos_y": 422,
                                  "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": 0,
                                  "type": "icon",
                                  "id": "23",
                                  "icon": "material-symbols:electric-car",
                                  "width": 24,
                                  "height": 24,
                                  "color": "rgba(0, 0, 0, 0.7)",
                                  "pos_x": "445",
                                  "pos_y": "428",
                                  "shadow": "",
                                  "source": -1,
                                  "threshold": 0,
                                  "frame": "_overlay",
                                  "action": "none"
                                },
                                "24": {
                                  "position": 2,
                                  "type": "text",
                                  "id": 24,
                                  "pos_x": 456,
                                  "pos_y": 495,
                                  "color": "none",
                                  "fill": "rgba(0, 0, 0, 0.7)",
                                  "font_family": "Arial, sans-serif",
                                  "font_size": 14,
                                  "align": "middle",
                                  "text": "Auto",
                                  "shadow": "",
                                  "frame": "_overlay"
                                },
                                "26": {
                                  "position": 1,
                                  "type": "text",
                                  "subType": "datasource",
                                  "id": 26,
                                  "pos_x": 457,
                                  "pos_y": 463,
                                  "color": "none",
                                  "fill": "rgb(197, 144, 46)",
                                  "font_family": "Arial, sans-serif",
                                  "font_size": 18,
                                  "align": "middle",
                                  "text": "ID 26",
                                  "unit": "kW",
                                  "source": -1,
                                  "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"
                                },
                                "27": {
                                  "position": 0,
                                  "type": "text",
                                  "subType": "datasource",
                                  "id": 27,
                                  "pos_x": 457,
                                  "pos_y": 480,
                                  "color": "none",
                                  "fill": "rgb(197, 144, 46)",
                                  "font_family": "Arial, sans-serif",
                                  "font_size": 18,
                                  "align": "middle",
                                  "text": "ID 27",
                                  "unit": "%",
                                  "source": -1,
                                  "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"
                                }
                              },
                              "defs": {},
                              "lines": {},
                              "animations": {},
                              "datasources": {
                                "0": {
                                  "source": "modbus.0.inputRegisters.3.30845_Batterie_Prozent",
                                  "alias": "batterie_proz",
                                  "factor": 1
                                },
                                "1": {
                                  "source": "0_userdata.0.example_state_number",
                                  "alias": "test_dp",
                                  "factor": 1
                                }
                              }
                            }
                            

                            data

                            {
                              "values": {
                                "2": 28
                              },
                              "unit": {
                                "2": "%"
                              },
                              "animations": {},
                              "fillValues": {},
                              "borderValues": {},
                              "animationProperties": {},
                              "prepend": {},
                              "append": {},
                              "css": {},
                              "override": {},
                              "img_href": {}
                            }
                            

                            als video
                            bug.mp4

                            das ist der modbus DP

                            {
                              "_id": "modbus.0.inputRegisters.3.30845_Batterie_Prozent",
                              "type": "state",
                              "common": {
                                "name": "",
                                "role": "value",
                                "type": "number",
                                "read": true,
                                "write": false,
                                "def": 0,
                                "unit": "%",
                                "custom": {    }
                              },
                              "native": {
                                "regType": "inputRegs",
                                "address": 30845,
                                "deviceId": 3,
                                "type": "uint32be",
                                "len": 2,
                                "offset": 0,
                                "factor": 1
                              },
                              "acl": {
                                "object": 1638,
                                "state": 1638,
                                "owner": "system.user.admin",
                                "ownerGroup": "system.group.administrator"
                              },
                              "from": "system.adapter.modbus.0",
                              "user": "system.user.admin",
                              "ts": 1713252268861
                            }
                            

                            das ist dei def von dem test DP.. mit dem gehts auch nicht

                            {
                              "_id": "0_userdata.0.example_state_number",
                              "type": "state",
                              "common": {
                                "name": "Example state",
                                "type": "number",
                                "role": "value",
                                "read": true,
                                "write": true,
                                "unit": ""
                              },
                              "acl": {
                                "owner": "system.user.admin",
                                "ownerGroup": "system.group.administrator",
                                "object": 1604
                              },
                              "from": "system.adapter.admin.0",
                              "user": "system.user.admin",
                              "ts": 1713333557732
                            }
                            
                            SKB 1 Reply Last reply Reply Quote 0
                            • SKB
                              SKB Developer Most Active @arteck last edited by

                              @arteck ich meinte, das du jeweils den Bereich der Anzeige ID aus dem Speicher Log kopierst, wenn's funktioniert und wenn's nicht funktioniert.

                              Die 2 Bereiche werden vermutlich irgendwie unterschiedlich sein.

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

                                @skb ich hab dir doch ein Beispiel gemacht..

                                erzeuge die 2 DP und kopier die konfigs rein
                                dann kannst du es nachvollziehen

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

                                  @arteck Aktuell habe ich keinen Zugriff auf einen Rechner.

                                  Daher wäre es tatsächlich einfacher, wenn du die 2 Bereiche beim Speichern einstellen könntest. Ich vermutet, hier ändert sich was.

                                  Ansonsten schaue ich die nächsten Tage drauf, wenn ich am Rechner bin 😉

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

                                    @skb so ich habs

                                    es liegt an der Zuordnung im

                                    "datasources": {
                                        "0": {
                                          "source": "modbus.0.inputRegisters.3.30845_Batterie_Prozent",
                                          "alias": "Batterie_Prozent",
                                          "factor": 1
                                        },
                                    

                                    hab den datasource gelöscht.. und neu erzeugt .. jetzt liegt der

                                    "37": {
                                          "source": "modbus.0.inputRegisters.3.30845_Batterie_Prozent",
                                          "alias": "BatterieProz",
                                          "factor": 1
                                        }
                                    

                                    und es funktioniert

                                    kannst mal schauen ob du mit dem array ein Problem hast.. mit dem ersten element bei speichern

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

                                      @arteck Super, danke fürs Testen. Ich denke, es liegt an der ID 0. Die wird vielleicht "falsy" interpretiert.

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

                                        @arteck Ich denke, dies hat noch mit den Settings hier zu tun:

                                        "calculation": {
                                            "battery": {
                                              "dod": null,
                                              "capacity": null,
                                              "percent": -1,
                                              "charge": -1,
                                              "charge_prop": false,
                                              "charge_kw": false,
                                              "discharge": -1,
                                              "discharge_prop": false,
                                              "discharge_kw": false
                                            },
                                        

                                        Hattest Du hier bei dod und capacity nicht noch auf "Bitte wählen..." gestellt? Dann müsst da -1 stehen.

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bennohaf last edited by bennohaf

                                          Auch ich teste seit heute die Version 0.4.0 aus GitHub, nicht NPM.
                                          Folgender Fehler bei mir seit dem Update, vorher 0.3.0

                                          Ich habe mich gewundert, dass PV-String 1 auf einmal mit Wert 0 angezeigt wurde und zwar bei allen Instanzen, mit diesem Objekt. Das Objekt im ioB hat aber den aktuellen Wert.

                                          Man bekommt es wieder hin, wenn man ein anderes Objekt setzt, z. B. String 2, speichert und dann wieder zurückändert. Aber wenn man dann nochmal was an diesem oder einem anderen!!! Objekt im Adapter ändert, wird der Wert genau in diesem einen Objekt (string1) wieder mit 0 angezeigt. Diese eine Datenquelle scheint korrupt zu sein. Sehr merkwürdig.

                                          Hoffe es war verständlich.

                                          Nachtrag: es reicht, die Layoutkonfiguration nochmal zu laden und ohne etwas zu ändern wieder anzeigt. Dann wird der Wert wieder auf 0 gesetzt. Wie geschrieben, nur bei diesem Objekt.
                                          Nachtrag 2: Ich habe es mal mit Deinem Standardlayout probiert in einer weiteren Instanz. Nur Objekt String1, dann bleibt der Wert stabil. Sobald ein zweites Element hinzukommt, kommt der Wert 0 bei String1
                                          Bin mit meinem Latein am Ende 😉

                                          U66 1 Reply Last reply Reply Quote 0
                                          • U66
                                            U66 @bennohaf last edited by

                                            @bennohaf
                                            Ich schließe mich hier an....
                                            Den Fehler konnte ich aber nur auf IOS Geräten nachstellen.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            664
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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