Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Energiefluss v3.6.x GitHub/Latest

    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

    Test Adapter Energiefluss v3.6.x GitHub/Latest

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

      @xreactz , @SKB
      "type": "string" klingt nicht so prickelnd, sollte das nicht "number" sein?

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

        @skb
        Danke für die Erlätuerung!
        Hoffe es passt so:
        Config:

        {"lines":{"lines":{"solar_to_house":false,"grid_to_house":false,"solar_to_grid":false,"house_to_car":false,"grid_to_battery":false,"solar_to_battery":false,"battery_to_house":false,"house_to_custom0":false,"house_to_custom1":false,"house_to_custom2":false,"house_to_custom3":false},"style":{"line_size":4,"animation_width":8,"animation":"4 12 4 12 4  100","animation_duration":2000,"animation_linecap":"round"},"color":{"solar_to_battery":"","solar_to_grid":"","solar_to_house":"","house_to_car":"","grid_to_house":"","grid_to_battery":"","battery_to_house":"","default":"#000000","house_to_custom0":"","house_to_custom1":"","house_to_custom2":"","house_to_custom3":""},"animation_colors":{"solar_to_battery":"","solar_to_grid":"","solar_to_house":"","house_to_car":"","grid_to_house":"","grid_to_battery":"","battery_to_house":"","default":"#ffce4a","house_to_custom0":"","house_to_custom1":"","house_to_custom2":"","house_to_custom3":""}},"elements":{"elements":{"house":false,"production":false,"grid":false,"car":false,"battery":false,"custom0":false,"custom1":false,"custom2":false,"custom3":false},"style":{"size":2,"circle_radius":50,"shadow":true,"shadow_color":"rgba(0, 0, 0, 0.7)","rect_height":100,"rect_width":100,"rect_corner":15},"fill":{"house":"","grid":"","production":"","battery":"","car":"","custom0":"","custom1":"","custom2":"","custom3":""},"color":{"house":"#00b5dd","grid":"#61687a","production":"#ffce4a","battery":"#a1d343","car":"#c5902e","custom0":"#f20e40","custom1":"#f20e40","custom2":"#f20e40","custom3":"#f20e40"}},"fonts":{"font_src":"","font":"sans-serif","font_size_label":"12","font_size_value":"14","font_size_percent":"14","font_size_unit":"14","font_size_unit_percent":"14","font_size_remaining":"14"},"general":{"no_battery":true,"unit":"kW","battery_animation":true,"type":"circle","custom_type":"consumer"},"icons":{"icons":{"house":false,"production":false,"grid":false,"car":false,"battery":false,"custom0":false,"custom1":false,"custom2":false,"custom3":false},"color":{"default":"#000000"}},"texts":{"texts":{"consumption_text":false,"production_text":false,"grid_text":false,"battery_text":false,"battery_remaining_text":false,"car_text":false,"custom0_text":false,"custom1_text":false,"custom2_text":false,"custom3_text":false},"labels":{"consumption":"Verbrauch","production":"Erzeugung","grid":"Netz","battery":"Batterie","battery_remaining":"Restzeit","car":"Auto","custom0":"","custom1":"","custom2":"","custom3":""},"color":{"default":"#000000","battery_remaining":"#000000"}},"values":{"values":{"consumption_value":false,"production_value":false,"grid_value":false,"car_value":false,"car_percent":false,"car_custom_percent":false,"battery_value":false,"battery_percent":false,"custom0_value":false,"custom1_value":false,"custom2_value":false,"custom3_value":false}},"custom_symbol":{"icon_custom0":"","icon_custom1":"","icon_custom2":"","icon_custom3":""}}
        

        Und Data:

        {"values":{"car_plugged":false,"car_custom_plugged":false,"consumption_value":"1781.43","production_value":"5110.43","grid_value":"3329.00"},"animations":{"solar_to_house":true,"grid_to_house":false,"solar_to_grid":true,"house_to_car":false,"grid_to_battery":false,"solar_to_battery":false,"battery_to_house":false,"house_to_custom0":false,"house_to_custom1":false,"house_to_custom2":false,"house_to_custom3":false},"battery_animation":{"direction":"none"},"color":{"consumption_value":"#00b5dd","grid_value":"#61687a","production_value":"#ffce4a","car_value":"#c5902e","car_plugged":"#a1d343","car_percent":"#c5902e","battery_value":"#a1d343","battery_remaining":"#a1d343","battery_percent":"#a1d343","custom0_value":"#f20e40","custom1_value":"#f20e40","custom2_value":"#f20e40","custom3_value":"#f20e40","car_custom_percent":"#f20e40","car_custom_plugged":"#a1d343"}}
        
        SKB 1 Reply Last reply Reply Quote 0
        • SKB
          SKB Developer Most Active @xReactz last edited by

          @xreactz Danke. Werde ich mit meinem Testsystem einmal nachstellen.

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

            @skb

            Super, Danke!

            Bin auf das Ergebnis gespannt!

            Gruß

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

              @xreactz Weisst Du, wie oft sich deine Werte ändern?

              Kann es vielleicht sein, das Du mehr statische Werte verwendest? Deine angegebenen Datenpunkte müssen sich ändern, damit der Adapter logischerweise den Energiefluss darstellen und ggf. auch wechseln kann.

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

                @skb

                Abfrage meines Wechselrichters erfolgt alle 60 sec, bin aber gerade dabei die Datenabfrage per Modbus zu realisieren, dann geht es flotter.

                Gruß

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

                  @xreactz Dann müsstest Du eigentlich nach 60 Sekunden eine Anzeige bekommen.

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

                    @skb

                    Wie gesagt, kommt leider nur kurz "Loading Config" oder so ähnlich, danach White Screen. Egal welcher Browser.

                    Funktioniert der Configauszug in deinem Testsystem ?

                    Gruß

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

                      @xreactz Genau und danach sollte dann beim nächsten Ändern der Werte eigentlich eine Anzeige kommen. Da sich bei mir die Werte alle 10 Sekunden ändern, ist die Anzeige auch schneller da.

                      Deine Daten schaue ich mir Morgen früh an - aktuell im Office unterwegs 🙂

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

                        @skb

                        Hab gerade die Abfrage per Hand durchgeführt und die Energiefluss Site offen gelassen, keine Änderung bleibt leider beim White Screen. Egal wie schnell ich die Daten aus dem Wechselrichter ziehe oder per die Daten per Hand ändere.

                        Gruß

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

                          @xreactz Das ist etwas komisch - könntest Du den Adapter einmal auf Debug stellen und dann im Log schauen, ob eine Reaktion auf die Änderung eines Wertes kommt?

                          Danke!

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

                            @skb
                            Die Warn Meldungen bitte nicht beachten, die Werte verwende ich noch nicht somit kann das PY Skript noch nichts abfragen. Ist aber für deinen Adapter irrelevant da diese Datenpunkte nicht verwendet werden.
                            1b2b3a6f-fe65-4928-9140-04bf35d7f624-grafik.png

                            Gruß

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

                              @xreactz Initial States sind irgendwie leer. Und die Elements to be displayed stehen alle auf false.

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

                                @skb

                                Ok, habe die Elements to Display welche von mir benötigt werden mal manuell auf true gesetzt, dann hab ich endlich einen Ansicht ! 👍 😊

                                Bei einem Instanzneustart ist jedoch wieder alles auf false.... Durch welchen Datenpunkt bzw. wie kann ich das beeinflussen bzw. das Problem lösen ?

                                97e9adf8-89d7-4c91-9c5a-b6b4eaa24dfe-grafik.png

                                {
                                  "lines": {
                                    "lines": {
                                      "solar_to_house": true,
                                      "grid_to_house": true,
                                      "solar_to_grid": true,
                                      "house_to_car": false,
                                      "grid_to_battery": false,
                                      "solar_to_battery": false,
                                      "battery_to_house": false,
                                      "house_to_custom0": false,
                                      "house_to_custom1": false,
                                      "house_to_custom2": false,
                                      "house_to_custom3": false
                                    },
                                    "style": {
                                      "line_size": 4,
                                      "animation_width": 8,
                                      "animation": "4 12 4 12 4  100",
                                      "animation_duration": 2000,
                                      "animation_linecap": "round"
                                    },
                                    "color": {
                                      "solar_to_battery": "",
                                      "solar_to_grid": "",
                                      "solar_to_house": "",
                                      "house_to_car": "",
                                      "grid_to_house": "",
                                      "grid_to_battery": "",
                                      "battery_to_house": "",
                                      "default": "#000000",
                                      "house_to_custom0": "",
                                      "house_to_custom1": "",
                                      "house_to_custom2": "",
                                      "house_to_custom3": ""
                                    },
                                    "animation_colors": {
                                      "solar_to_battery": "",
                                      "solar_to_grid": "",
                                      "solar_to_house": "",
                                      "house_to_car": "",
                                      "grid_to_house": "",
                                      "grid_to_battery": "",
                                      "battery_to_house": "",
                                      "default": "#ffce4a",
                                      "house_to_custom0": "",
                                      "house_to_custom1": "",
                                      "house_to_custom2": "",
                                      "house_to_custom3": ""
                                    }
                                  },
                                  "elements": {
                                    "elements": {
                                      "house": true,
                                      "production": true,
                                      "grid": true,
                                      "car": false,
                                      "battery": false,
                                      "custom0": false,
                                      "custom1": false,
                                      "custom2": false,
                                      "custom3": false
                                    },
                                    "style": {
                                      "size": 2,
                                      "circle_radius": 50,
                                      "shadow": true,
                                      "shadow_color": "rgba(0, 0, 0, 0.7)",
                                      "rect_height": 100,
                                      "rect_width": 100,
                                      "rect_corner": 15
                                    },
                                    "fill": {
                                      "house": "",
                                      "grid": "",
                                      "production": "",
                                      "battery": "",
                                      "car": "",
                                      "custom0": "",
                                      "custom1": "",
                                      "custom2": "",
                                      "custom3": ""
                                    },
                                    "color": {
                                      "house": "#00b5dd",
                                      "grid": "#61687a",
                                      "production": "#ffce4a",
                                      "battery": "#a1d343",
                                      "car": "#c5902e",
                                      "custom0": "#f20e40",
                                      "custom1": "#f20e40",
                                      "custom2": "#f20e40",
                                      "custom3": "#f20e40"
                                    }
                                  },
                                  "fonts": {
                                    "font_src": "",
                                    "font": "sans-serif",
                                    "font_size_label": "12",
                                    "font_size_value": "14",
                                    "font_size_percent": "14",
                                    "font_size_unit": "14",
                                    "font_size_unit_percent": "14",
                                    "font_size_remaining": "14"
                                  },
                                  "general": {
                                    "no_battery": true,
                                    "unit": "kW",
                                    "battery_animation": true,
                                    "type": "circle",
                                    "custom_type": "consumer"
                                  },
                                  "icons": {
                                    "icons": {
                                      "house": true,
                                      "production": true,
                                      "grid": true,
                                      "car": false,
                                      "battery": false,
                                      "custom0": false,
                                      "custom1": false,
                                      "custom2": false,
                                      "custom3": false
                                    },
                                    "color": {
                                      "default": "#000000"
                                    }
                                  },
                                  "texts": {
                                    "texts": {
                                      "consumption_text": true,
                                      "production_text": true,
                                      "grid_text": true,
                                      "battery_text": false,
                                      "battery_remaining_text": false,
                                      "car_text": false,
                                      "custom0_text": false,
                                      "custom1_text": false,
                                      "custom2_text": false,
                                      "custom3_text": false
                                    },
                                    "labels": {
                                      "consumption": "Verbrauch",
                                      "production": "Erzeugung",
                                      "grid": "Netz",
                                      "battery": "Batterie",
                                      "battery_remaining": "Restzeit",
                                      "car": "Auto",
                                      "custom0": "",
                                      "custom1": "",
                                      "custom2": "",
                                      "custom3": ""
                                    },
                                    "color": {
                                      "default": "#000000",
                                      "battery_remaining": "#000000"
                                    }
                                  },
                                  "values": {
                                    "values": {
                                      "consumption_value": true,
                                      "production_value": true,
                                      "grid_value": true,
                                      "car_value": false,
                                      "car_percent": false,
                                      "car_custom_percent": false,
                                      "battery_value": false,
                                      "battery_percent": false,
                                      "custom0_value": false,
                                      "custom1_value": false,
                                      "custom2_value": false,
                                      "custom3_value": false
                                    }
                                  },
                                  "custom_symbol": {
                                    "icon_custom0": "",
                                    "icon_custom1": "",
                                    "icon_custom2": "",
                                    "icon_custom3": ""
                                  }
                                }
                                
                                SKB 1 Reply Last reply Reply Quote 0
                                • SKB
                                  SKB Developer Most Active @xReactz last edited by

                                  @xreactz Ich denke, Du müsstest einmal die Datenpunkte, die von Dir verwendet werden, auf den Typ "number" ändern - zum Test vielleicht. Da wir ja hier mit nummerischen Werten arbeiten, wäre es hier von Vorteil, zu sehen, ob es am Datentyp liegt, wie @Latzi schon sagte (hatte ich vorher überlesen).

                                  Danke!

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

                                    @skb

                                    Hatte ich schon getestet, ändert leider nichts.

                                    Habe es jetzt nochmal probiert und alle Werte auf Datenformat "number" geändert und vorher die notwendigen Parameter auf true gesetzt und dann die Instanz neu gestartet. Leider dann auch wieder White Screen. Erst wenn ich wieder alles auf true setzte funkt. wieder alles.

                                    Gruß

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

                                      @xreactz Kommt denn im Log der Eintrag "Initial Values" mit Werten? Wenn nein, stimmt mit den Werten noch etwas nicht. Sollten die InitialWerte nicht gelesen werden können, liest der Adapter auch keine anderen Daten.

                                      "Initial Values" kommt nur, wenn der Adapter im Debug läuft - als Hinweis.

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

                                        @skb

                                        Ok --> Initial Values bleibt leer...

                                        Welcher Datentyp soll verwendet werden bzw. wie sieht das bei euch/dir aus ?

                                        Bei mir sind nun alle Datenpunkte welche verwendet werden so:

                                        {
                                          "common": {
                                            "name": "PV-Anlage.PV-Power",
                                            "role": "value",
                                            "type": "number"
                                          },
                                          "native": {},
                                          "type": "state",
                                          "_id": "javascript.0.PV-Anlage.PV-Power",
                                          "from": "system.adapter.admin.0",
                                          "user": "system.user.admin",
                                          "ts": 1666100495293
                                        }
                                        

                                        Gruß

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

                                          @xreactz So in etwa sehen meine Testpunkte auch aus.

                                          {
                                            "common": {
                                              "name": "production",
                                              "desc": "Manuell erzeugt",
                                              "role": "state",
                                              "type": "number",
                                              "read": true,
                                              "write": true,
                                              "def": 0
                                            },
                                            "type": "state",
                                            "from": "system.adapter.admin.0",
                                            "user": "system.user.admin",
                                            "ts": 1660116123043,
                                            "_id": "0_userdata.0.Energiefluss_Test.production",
                                            "acl": {
                                              "object": 1636,
                                              "state": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            }
                                          }
                                          

                                          Welche Version des Adapters hast Du denn installiert? Die aktuelle von Github?

                                          1 Reply Last reply Reply Quote 0
                                          • X
                                            xReactz last edited by

                                            @skb

                                            Adapterversion 1.3.0

                                            OK werde mal Versuchen die Modbus Datenpunkte ins System zu bringen und dann mit denen arbeiten. Hab mal meine Skriptdatenpunkte ident wie das Beispiel von dir aufgebaut, leider bleibt alles auf false und keine inital Werte.

                                            Mal schauen wie es mit den neuen Datenpunkten läuft! Melde mich dann wieder.

                                            Danke für deine Hilfe und den Adapter !!

                                            Gruß

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            694
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            energiefluss vis visualisierung visualization
                                            149
                                            2366
                                            1026828
                                            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