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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Neuer Adapter ioBroker.evcc

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

      Hallo!
      Bin heute draufgekommen, das meine Werte, welche ich mittels EVCC Adapter auslese nicht mehr stimmen.
      Ich bekomme auch folgende Warnung:

      	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"}]
      

      Was muss ich tun?

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

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

        evcc.0
        2025-02-06 20:07:08.747	error	DB closed
        
        evcc.0
        2025-02-06 20:07:08.746	error	Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:633:26) at Socket.emit (node:events:518:28) at TCP.<anonymous> (node:net:343:12)
        
        evcc.0
        2025-02-06 20:07:08.745	error	unhandled promise rejection: DB closed
        
        evcc.0
        2025-02-06 20:07:08.744	error	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().
        
        evcc.0
        2025-02-06 20:05:27.830	warn	State "evcc.0.status.version" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.828	warn	State "evcc.0.status.tariffPriceLoadpoints" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.826	warn	State "evcc.0.status.tariffPriceHome" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.824	warn	State "evcc.0.status.tariffGrid" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.821	warn	State "evcc.0.status.tariffFeedIn" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.805	warn	State "evcc.0.status.statistics" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.804	warn	State "evcc.0.status.Statistics.Total.solarPercentage" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.798	warn	State "evcc.0.status.Statistics.Total.chargedKWh" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.796	warn	State "evcc.0.status.Statistics.Total.avgPrice" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.756	warn	State "evcc.0.status.Statistics.ThisYear.solarPercentage" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.754	warn	State "evcc.0.status.Statistics.ThisYear.chargedKWh" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.752	warn	State "evcc.0.status.Statistics.ThisYear.avgPrice" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.750	warn	State "evcc.0.status.Statistics.ThisYear.avgCo2" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.748	warn	State "evcc.0.status.Statistics.365d.solarPercentage" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.747	warn	State "evcc.0.status.Statistics.365d.chargedKWh" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.742	warn	State "evcc.0.status.Statistics.365d.avgPrice" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.740	warn	State "evcc.0.status.Statistics.365d.avgCo2" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.733	warn	State "evcc.0.status.Statistics.30d.solarPercentage" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.409	warn	State "evcc.0.status.homePower" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.407	warn	State "evcc.0.status.gridConfigured" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.404	warn	State "evcc.0.status.grid" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.403	warn	State "evcc.0.status.Grid.Currents.2" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.400	warn	State "evcc.0.status.Grid.Currents.1" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.397	warn	State "evcc.0.status.Grid.Currents.0" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.395	warn	State "evcc.0.status.Grid.energy" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.393	warn	State "evcc.0.status.Grid.power" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.391	warn	State "evcc.0.status.greenShareLoadpoints" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.389	warn	State "evcc.0.status.greenShareHome" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.384	warn	State "evcc.0.status.fatal" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.383	warn	State "evcc.0.status.eebus" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.380	warn	State "evcc.0.status.currency" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.379	warn	State "evcc.0.status.bufferStartSoc" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.376	warn	State "evcc.0.status.bufferSoc" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.374	warn	State "evcc.0.status.batterySoc" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.370	warn	State "evcc.0.status.batteryPower" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.366	warn	State "evcc.0.status.batteryMode" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.362	warn	State "evcc.0.status.batteryGridChargeActive" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.360	warn	State "evcc.0.status.batteryEnergy" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.357	warn	State "evcc.0.status.batteryDischargeControl" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.352	warn	State "evcc.0.status.batteryCapacity" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.349	warn	State "evcc.0.status.battery" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.343	warn	State "evcc.0.status.Battery.0.controllable" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.340	warn	State "evcc.0.status.Battery.0.soc" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.338	warn	State "evcc.0.status.Battery.0.capacity" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.334	warn	State "evcc.0.status.Battery.0.energy" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:05:27.331	warn	State "evcc.0.status.Battery.0.power" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:04:01.956	warn	State "evcc.0.status.Statistics.Total.solarPercentage" has no existing object, this might lead to an error in future versions
        
        evcc.0
        2025-02-06 20:04:01.954	warn	State "evcc.0.status.Statistics.Total.chargedKWh" has no existing object, this might lead to an error in future versions
        
        arteck 1 Reply Last reply Reply Quote 0
        • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            426
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            33
                                            175
                                            24085
                                            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