Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Neuer Adapter ioBroker.evcc

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neuer Adapter ioBroker.evcc

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

      @jwedenig sagte in Neuer Adapter ioBroker.evcc:

      habe jetzt, wie oben gelesen das Update installiert, jetzt schauts so aus:

      ja aber nur bei ersten start....

      J 1 Reply Last reply Reply Quote 0
      • J
        jwedenig Most Active @arteck last edited by

        @arteck

        stimmt, danke

        1 Reply Last reply Reply Quote 0
        • W
          wolfi913 @arteck last edited by

          @arteck
          Hab bei mir Deinen überarbeiteten Adapter mal mit der neuen evcc-Version v0.200.0 getestet.
          Ohne "Status Knoten auflösen" funktioniert der modifizierte Adapter.
          Bei meiner 2. Instanz, bei der dieses Feature aktiviert ist, stürzt er aber leider bei mir ab.
          Anbei mal zwei Debug-Logs falls Du's Dir genauer anschauen willst:
          Alte Datenpunkte nicht gelöscht
          debug_log_evcc1.txt
          Alte Datenpunkte vor dem Start der Instanz gelöscht
          debug_log_evcc1_dp-vorher-geloescht.txt

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

            @wolfi913 Kann ich bestätigen. Danke für den Hinweis!

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

              so weiter gehts.. einmal von GIT installieren..

              und LOG posten es reicht aber nur die error zeile

              die mit error pfad anfängt

              W 1 Reply Last reply Reply Quote 0
              • W
                wolfi913 @arteck last edited by

                @arteck sagte in Neuer Adapter ioBroker.evcc:

                die mit error pfad anfängt

                Diese hier?

                2025-02-27 18:30:46.923 - error: evcc.1 (8091) Error: The state contains the forbidden properties start, end, price!
                
                arteck 1 Reply Last reply Reply Quote 0
                • arteck
                  arteck Developer Most Active @wolfi913 last edited by arteck

                  @wolfi913 bitte lies genau..

                  die Zeile fängt mit error pfad

                  such im Log nach pfad

                  W 1 Reply Last reply Reply Quote 0
                  • W
                    wolfi913 @arteck last edited by wolfi913

                    @arteck sagte in Neuer Adapter ioBroker.evcc:

                    such im Log nach pfad

                    Sorry, aber da sind in meinem Log keine Treffer zu finden. Auch nicht nach nochmaliger Installation und Löschung aller DP vor Start der Instanz. Ich hatte die Zeile genommen, die Deiner Beschreibung am nächsten kam.

                    Ergänzung:
                    Evtl. (ich kenn mich da aber leider zu wenig aus) könnte das hier weiterhelfen

                    2025-02-27 22:20:25.411 - error: evcc.1 (9170) Error: The state contains the forbidden properties start, end, price!
                    at Validator.validateSetStateObjectArgument (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/validator.js:299:13)
                    at Evcc._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:4984:21)
                    at Evcc.setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/build/cjs/lib/adapter/adapter.js:4962:17)
                    at Evcc.setStatusEvcc (/opt/iobroker/node_modules/iobroker.evcc/build/main.js:373:46)
                    at /opt/iobroker/node_modules/iobroker.evcc/build/main.js:219:22
                    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
                    2025-02-27 22:20:25.411 - error: evcc.1 (9170) The state contains the forbidden properties start, end, price!
                    2025-02-27 22:20:25.411 - error: evcc.1 (9170) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                    
                    arteck 1 Reply Last reply Reply Quote 0
                    • arteck
                      arteck Developer Most Active @wolfi913 last edited by arteck

                      @wolfi913 dann hast du nicht das richtige repo

                      von hier installiert ??

                      https://github.com/arteck/ioBroker.evcc

                      W JLeg 2 Replies Last reply Reply Quote 0
                      • W
                        wolfi913 @arteck last edited by wolfi913

                        @arteck sagte in Neuer Adapter ioBroker.evcc:

                        dann hast du nicht das richtige repo

                        Eigentlich schon das richtige verwendet.
                        Sonst dürfte ja normalerweise auch das im Log nicht auftauchen
                        Evcc.setStatusEvcc (/opt/iobroker/node_modules/iobroker.evcc/build/main.js:373:46)
                        Das ist ja von Dir neu eingebaut worden.

                        Als Ergänzung mal rausgesucht:

                        2025-02-27 21:58:00.153 - info: host.iobroker-test iobroker url https://github.com/arteck/ioBroker.evcc --host iobroker-test --debug
                        2025-02-27 21:58:01.157 - info: host.iobroker-test iobroker install arteck/ioBroker.evcc#cdceb4f9d8037ed7c952acd3a2d66e4f9b570dee
                        2025-02-27 21:58:01.247 - info: host.iobroker-test iobroker NPM version: 10.8.2
                        2025-02-27 21:58:01.247 - info: host.iobroker-test iobroker Installing arteck/ioBroker.evcc#cdceb4f9d8037ed7c952acd3a2d66e4f9b570dee... (System call)
                        
                        C 1 Reply Last reply Reply Quote 0
                        • C
                          Christobal0815 @wolfi913 last edited by

                          Ich habe offensichtlich das selbe Problem. Nach meinem Update von evcc auf die aktuelle Version bekomme ich in iobroker einige (für mich wichtige) Werte nicht mehr angezeigt, wie gridPower

                          	evcc has an invalid jsonConfig: [{"instancePath":"/items/general/items/_donation/button","schemaPath":"#/patternProperties/%5E.%2B/properties/button/type","keyword":"type","params":{"type":"boolean"},"message":"must be boolean"},{"instancePath":"/items/general","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/9/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"},{"instancePath":"","schemaPath":"#/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]
                          
                          Merlin123 1 Reply Last reply Reply Quote 0
                          • Merlin123
                            Merlin123 @Christobal0815 last edited by

                            @christobal0815 Die neuste Adapter Version von Github (wie oben beschrieben) hast Du installiert?

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

                              @merlin123 said in Neuer Adapter ioBroker.evcc:

                              @christobal0815 Die neuste Adapter Version von Github (wie oben beschrieben) hast Du installiert?

                              Ich halte meine Adapter via iobroker Up-to-date. Ich bin auf Version 0.1.1
                              Ob ich ihn damals über github installiert habe oder von iobroker, kann ich nicht mehr sagen. Soll ich den Adapter deinstallieren und über github die Version 0.1.1 erneut installieren?

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

                                Ich habe die letzten Posts hier gelesen, aber leider nicht ganz verstanden, wie ich das Problem nun lösen kann. Offensichtlich hat es etwas mit dem Format der bestehenden Datenpunkte zutun? Soll ich nun einfach eine neue Instanz für .evcc in iobroker anlegen und die alte Instanz deaktivieren? Oder nur selektiv die betroffenen Datenpunkte im Objektbaum entfernen? Legen diese sich dann wieder neu an?

                                Danke

                                C Merlin123 2 Replies Last reply Reply Quote 0
                                • C
                                  Christobal0815 @Christobal0815 last edited by

                                  Nach deinstallation neu Neuinstallation des Adapters taucht der Wert gridPower nun nicht mehr bei den Objekten auf. Ich habe festgestellt, dass das Objekt "grid" alles beinhaltet, was ich benötige. Allerdings sind jede Menge Werte in dem Objekt enthalten, die ich nicht brauche.

                                  e57f8cff-0774-446b-b07e-c62dd6ed26cb-image.png @christobal0815

                                  Kann mir evtl. jemand sagen, wie ich den markierten Bereich nach Power in einen eigenen Datenpunkt bekomme?

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

                                    @christobal0815 Der Bug ist wohl in der Neusten Version von Github behoben worden. Ob die Version schon im Beta (oder gar stable) Repository ist, weiß ich nicht.

                                    Schau mal in den Post:
                                    https://forum.iobroker.net/post/1254012

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

                                      @merlin123
                                      Ich weiss nicht ob ich etwas falsch mache. Ich stelle in iob von stable auf beta und füge über "installiere aus eigener URL" deinen Pfad hinzu

                                      $ iobroker upgrade evcc@https://github.com/arteck/ioBroker.evcc --debug
                                      
                                      Can not check version information to display upgrade infos: Invalid Version: https://github.com/arteck/ioBroker.evcc
                                      
                                      Could not uninstall npm packet "iobroker.evcc": Invalid Version: https://github.com/arteck/ioBroker.evcc
                                      
                                      NPM version: 10.8.2
                                      
                                      Installing iobroker.evcc@https://github.com/arteck/ioBroker.evcc... (System call)
                                      
                                      changed 1 package in 30s
                                      
                                      run `npm fund` for details
                                      
                                      Updating objects from io-package.json for adapter "evcc" with version "0.1.1"
                                      
                                      Update "system.adapter.evcc.0"
                                      
                                      upload [11] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/evcc.png evcc.png image/png
                                      
                                      upload [5] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                      
                                      upload [4] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                      
                                      upload [0] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/jsonConfig.json jsonConfig.json application/json
                                      
                                      Process exited with code 0
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Christobal0815 last edited by Thomas Braun

                                        @christobal0815 sagte in Neuer Adapter ioBroker.evcc:

                                        Ich weiss nicht ob ich etwas falsch mache.

                                        Mit Sicherheit.

                                        iobroker url https://github.com/arteck/ioBroker.evcc --host DEINHOSTNAME --debug
                                        

                                        wäre der richtige Befehl für eine Installation aus artecks github-Repo.
                                        DEINHOSTNAME halt anpassen.

                                        Installationsprotokoll schaut dann so aus:

                                        $ iobroker url https://github.com/arteck/ioBroker.evcc --host chet --debug
                                        
                                        install arteck/ioBroker.evcc#cdceb4f9d8037ed7c952acd3a2d66e4f9b570dee
                                        
                                        Installing arteck/ioBroker.evcc#cdceb4f9d8037ed7c952acd3a2d66e4f9b570dee... (System call)
                                        
                                        npm warn skipping integrity check for git dependency ssh://git@github.com/arteck/ioBroker.evcc.git
                                        
                                        added 1 package in 1m
                                        
                                        upload [8] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                        
                                        upload [6] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                        
                                        upload [2] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                        
                                        upload [0] evcc.admin /opt/iobroker/node_modules/iobroker.evcc/admin/jsonConfig.json jsonConfig.json application/json
                                        
                                        Updating objects from io-package.json for adapter "evcc" with version "0.1.1"
                                        
                                        Process exited with code 0
                                        
                                        C 1 Reply Last reply Reply Quote 1
                                        • C
                                          Christobal0815 @Thomas Braun last edited by

                                          @thomas-braun said in Neuer Adapter ioBroker.evcc:

                                          Updating objects from io-package.json for adapter "evcc" with version "0.1.1"

                                          Danke - hat funktioniert.

                                          Aber warum haben wir jetzt den ganzen Aufwand betrieben, wenn wir auch hier auf Version 0.1.1 sind, die bereits über iobroker als stable verteilt wurde?

                                          Thomas Braun 2 Replies Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Christobal0815 last edited by

                                            @christobal0815 sagte in Neuer Adapter ioBroker.evcc:

                                            Aber warum haben wir jetzt den ganzen Aufwand betrieben, wenn wir auch hier auf Version 0.1.1 sind, die bereits über iobroker als stable verteilt wurde?

                                            Weil bei github-Installationen Versionsnummern irrelevant sind. Da ist u. U. was komplett anderes drin, als in der gleich versionierten Version die über ein Repo verteilt wird.
                                            Bei github zählt das Commithash.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            795
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            31
                                            170
                                            22312
                                            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