Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] sonnenBatterie Adapter

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Aufruf] sonnenBatterie Adapter

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

      @foxriver76 jetzt kommen jede Menge Einträge im Log, anbei ein Auszug davon. Unter Objekte habe ich allerdings immer noch die gleichen Anzeigen.
      be7977fb-4b23-4ad1-9e93-0c23a0f0f774-grafik.png

      foxriver76 1 Reply Last reply Reply Quote 0
      • foxriver76
        foxriver76 Developer @Orti19 last edited by

        @Orti19 vom Log her schaut es ja gut aus. Ich schaue morgen nochmal rein, warum die States leer bleiben.

        O 1 Reply Last reply Reply Quote 0
        • O
          Orti19 @foxriver76 last edited by

          @foxriver76 sagte in [Aufruf] sonnenBatterie Adapter:

          @Orti19 vom Log her schaut es ja gut aus. Ich schaue morgen nochmal rein, warum die States leer bleiben.

          Ja, der Log sieht wirklich schon sehr vielversprechend aus!
          Vielen Dank nochmals
          Sollte ich noch was testen müssen, gib mir einfach bescheid.

          foxriver76 1 Reply Last reply Reply Quote 0
          • foxriver76
            foxriver76 Developer @Orti19 last edited by

            @Orti19 Kannst einfach nochmal neu von GitHub installieren und dann geht es hoffentlich. Gerne dann nochmal ein Screenshot zeigen von den States.

            O 1 Reply Last reply Reply Quote 0
            • O
              Orti19 @foxriver76 last edited by

              @foxriver76 sagte in [Aufruf] sonnenBatterie Adapter:

              @Orti19 Kannst einfach nochmal neu von GitHub installieren und dann geht es hoffentlich. Gerne dann nochmal ein Screenshot zeigen von den States.

              @foxriver76
              Super...funktioniert nun einwandfrei!
              95d1b1c5-2f41-44fa-8c1e-c24ec1cc1fbc-grafik.png

              Möchte mich hier nochmal ganz herzlich bei dir für deinen Support bedanken, ist echt einsame Spitze!

              foxriver76 1 Reply Last reply Reply Quote 0
              • foxriver76
                foxriver76 Developer @Orti19 last edited by foxriver76

                @Orti19 gerne, das mit operatingMode muss ich mal noch schauen, da fehlt mir teilweise die Bedeutung der Codes und den Namen fixe ich noch bei operatingMode.

                Kannst du die Stati für operatingMode irgendwo auslesen? Habe das gefunden, scheint leider nicht vollständig zu sein:
                4E3F6543-C743-4179-80D5-2B6977FA1A2A.png

                O 1 Reply Last reply Reply Quote 0
                • O
                  Orti19 @foxriver76 last edited by

                  @foxriver76 Ich hab nur das gefunden, hilft dir das weiter?
                  7c29f7ac-c8f6-40d3-b0df-fb2780f54e69-grafik.png

                  Ansonsten gibt der Vera Adapter noch jede Menge Daten her, was benötigst du denn genau?

                  foxriver76 1 Reply Last reply Reply Quote 0
                  • foxriver76
                    foxriver76 Developer @Orti19 last edited by

                    @Orti19 die anderen Betriebsarten wären interessant gewesen, bei dir stand auf dem Screenshot der Objektstruktur in operatingMode Code 19, da weiß ich nicht was er bedeutet.

                    O 1 Reply Last reply Reply Quote 0
                    • O
                      Orti19 @foxriver76 last edited by

                      @foxriver76 Das sieht jetzt aber nicht mehr so aus...
                      65a79189-e68a-4a36-9ed8-a10a28af9db0-grafik.png

                      foxriver76 1 Reply Last reply Reply Quote 0
                      • foxriver76
                        foxriver76 Developer @Orti19 last edited by foxriver76

                        @Orti19 Jop, glaube für 4 Codes habe ich die Bedeutung hinterlegt, die anderen wurden ja von den Quellen als unwichtig abgestempelt. Dann passt es soweit, falls dir noch was auffällt, sag Bescheid.

                        1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer last edited by foxriver76

                          Kürzlich wurde auf GitHub darauf hingewiesen, dass die sonnenBatterie mit der Port 8080 API noch zusätzliche Daten unter http://<IP-OF-YOUR-SONNEN-BATTERY>:8080/api/configuration bereitstellt. Jedoch kann ich nicht sagen, welche Werte hieraus für euch als Nutzer interessant sein könnten. Die meisten scheinen sowieso statisch zu sein.

                          Falls es Wünsche gibt, dass spezielle Infos in den Adapter übernommen werden sollen, schaut einfach mal im Browser auf die oben genannte Adresse und gebt Bescheid, was interessant ist.

                          Issue: https://github.com/foxriver76/ioBroker.sonnen/issues/16

                          beste Grüße

                          fox

                          EmPeWe created this issue in foxriver76/ioBroker.sonnen

                          closed An additional API endpoint with lots of interesting stuff ;-) #16

                          1 Reply Last reply Reply Quote 0
                          • foxriver76
                            foxriver76 Developer last edited by

                            Die Konfigurationsdaten aus dem vorherigen Post werden nun einfach als JSON beim Adapterstart in den State info.configuration geschrieben und können in Skripten verarbeitet werden, falls einzelne Daten doch öfter benötigt werden, einfach Bescheid geben.

                            1 Reply Last reply Reply Quote 0
                            • T
                              thefirehero last edited by

                              Hallo Foxriver76, hast du schonmal von openWB (www.openwb.de) gehört? Ich stehe kurz vor der Inbetriebnahme einer Sonnenbatterie und möchte mit openWB die Ladung meines Elektroautos steuern. Leider gibt es für openWB noch kein Modul das die Sonnenbatterie unterstützt.
                              Da ich leider keine Ahnung von Programierung habe suche ich jemand der so ein Modul erstellen kann. Dabei bin ich auf deinen SonnenAdapter für ioBroker gestoßen.
                              Jetzt meine Frage bzw. Bitte. Könntest du dir das mal ansehen?
                              https://github.com/snaptec/openWB
                              Danke

                              foxriver76 1 Reply Last reply Reply Quote 0
                              • foxriver76
                                foxriver76 Developer @thefirehero last edited by

                                @thefirehero da ich kein Auto habe, habe ich auch keine WB, allerdings kannst du mir vielleicht kurz erklären, was dein Ziel ist bzw in welchem Umfang du OpenWB nutzen möchtest. Evtl. Könnte man basierend auf deinen sonnenBatterie Daten via ioBroker etwas in OpenWB auslösen.

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  thefirehero @foxriver76 last edited by

                                  @foxriver76 ich möchte meinen Go-e Charger mit openWB Standalone steuern um meinen PV-Überschuss ins auto zu laden. Dazu gibt es bei openWB mehre Module (EVU, PV, Speicher). Zur optimalen stuererung braucht openWB auch die Daten vom Speicher. Diese werden per API abgefragt. Es gibt schon mehrere Module z.B. für BYD speicher.
                                  Kannst dir das villeicht mal ansehen. So wie ich das verstehe ist es für jemand der Programmieren kann nicht schwer so ein Modul zu erstellen.

                                  foxriver76 1 Reply Last reply Reply Quote 0
                                  • foxriver76
                                    foxriver76 Developer @thefirehero last edited by foxriver76

                                    @thefirehero vermutlich ist es nicht schwer, wenn man gerne in Shell programmiert und die Logik der Software versteht. Deshalb ist es für den Maintainer der Software vermutlich wesentlich weniger aufwändig als für mich. An deiner Stelle würde ich ein Issue im Repo aufmachen. Infos die helfen: Api ist erreichbar unter:
                                    http://IP-DER-BATTERIE:8080/api/v1/status

                                    Antwort schaut so aus:

                                    {"Consumption_W":1667,"Fac":50,"GridFeedIn_W":-33,"IsSystemInstalled":1,"Pac_total_W":930,"Production_W":704,"RSOC":99,"Timestamp":"2018-03-04 16:11:45","USOC":99,"Uac":228,"Ubat":53}
                                    
                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      thefirehero @foxriver76 last edited by

                                      @foxriver76 danke das werde ich mal machen

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        Jopie last edited by

                                        Hi,

                                        ich bin neu hier und iobroker nooby 🙂

                                        Ich habe ein 5 Wochen eine SonnenBatterie und wollte den Adapter ausprobieren.
                                        Iobroker läuft auf mein PI, ich kriege den Sonnen Adapter nicht installiert... 😞

                                        Ich installiere über dem Webinterface, und kriege diesen Error:

                                        $ ./iobroker add sonnen --host raspberrypi
                                        host.raspberrypi install adapter sonnen
                                        npm install --production (System call) in "/opt/iobroker/node_modules/iobroker.sonnen"
                                        npm
                                        WARN checkPermissions Missing write access to /opt/iobroker/node_modules/iobroker.sonnen
                                        npm

                                        ERR! path /opt/iobroker/node_modules/iobroker.sonnennpm ERR! code EACCES

                                        npm ERR! errno -13npm ERR! syscall access

                                        npm
                                        ERR! Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.sonnen'npm ERR! { [Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.sonnen']
                                        npm ERR! stack:
                                        npm ERR! 'Error: EACCES: permission denied, access '/opt/iobroker/node_modules/iobroker.sonnen'',
                                        npm ERR! errno: -13,
                                        npm ERR!
                                        code: 'EACCES',npm ERR! syscall: 'access',
                                        npm ERR! path: '/opt/iobroker/node_modules/iobroker.sonnen' }

                                        npm ERR! npm ERR! The operation was rejected by your operating system.
                                        npm ERR! It is likely you do not have the permissions to access this file as the current user
                                        npm ERR!
                                        npm
                                        ERR! If you believe this might be a permissions issue, please double-check thenpm ERR! permissions of the file and its containing directories, or try running
                                        npm ERR! the command again as root/Administrator (though this is not recommended).

                                        npm
                                        ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2019-08-03T06_41_59_023Z-debug.log

                                        Cannot install iobroker.sonnen: 243
                                        ERROR: process exited with code 25

                                        Was ist da falsch?

                                        1 Reply Last reply Reply Quote 0
                                        • J
                                          Jopie last edited by

                                          hmm, ich habe iobroker als root gestartet.. nach eine Youtube Anleitung..
                                          2479 error The operation was rejected by your operating system.
                                          2479 error It is likely you do not have the permissions to access this file as the current user
                                          2479 error
                                          2479 error If you believe this might be a permissions issue, please double-check the
                                          2479 error permissions of the file and its containing directories, or try running
                                          2479 error the command again as root/Administrator (though this is not recommended).
                                          2480 verbose exit [ -13, true ]

                                          ich versuche mal mit ein shell command..

                                          1 Reply Last reply Reply Quote 0
                                          • J
                                            Jopie last edited by

                                            ich glaube es hat mit sudo npm i iobroker.sonnen geklappt.

                                            Aber jetzt muss ich eine Instance machen:

                                            $ ./iobroker add sonnen --host raspberrypi
                                            ERROR: events.js:174 throw er; // Unhandled 'error' event
                                            ^

                                            Error: listen EADDRINUSE: address already in use 127.0.0.1:9000
                                            at Server.setupListenHandle [as _listen2] (net.js:1279:14)
                                            at listenInCluster (net.js:1327:12)
                                            at doListen (net.js:1460:7)
                                            at process._tickCallback (internal/process/next_tick.js:63:19)
                                            Emitted 'error' event at:
                                            at emitErrorNT (net.js:1306:8)
                                            at process._tickCallback (internal/process/next_tick.js:63:19)

                                            ERROR: process exited with code 1

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            838
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            46
                                            5841
                                            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