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.
    • 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
                    • J
                      Jopie last edited by

                      manuell geht auch nicht 😞

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

                      Error: listen EADDRINUSE: address already in use 127.0.0.1:9001
                      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)
                      pi@raspberrypi:/home/iobroker $

                      I need help...

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

                        ich weiss nicht auf da was doppelt läuft?

                        pi@raspberrypi:/home/iobroker $ ps -aux | grep iobroker
                        iobroker 311 7.4 11.4 143276 50524 ? Ssl 08:26 3:37 iobroker.js-controller
                        iobroker 618 4.3 11.4 147136 50948 ? Sl 08:27 2:06 io.admin.0
                        iobroker 657 9.7 12.3 139844 54576 ? Sl 08:27 4:42 io.info.0
                        pi 11231 0.0 0.4 7464 1936 pts/0 S+ 09:15 0:00 grep --color=auto iobroker
                        iobroker 28538 1.6 8.0 126596 35848 ? Sl 08:59 0:16 io.discovery.0
                        pi@raspberrypi:/home/iobroker $ sudo lsof -i -P | grep -i LISTEN
                        iobroker. 311 iobroker 19u IPv4 15092 0t0 TCP localhost:9000 (LISTEN)
                        iobroker. 311 iobroker 20u IPv4 15093 0t0 TCP localhost:9001 (LISTEN)
                        sshd 323 root 3u IPv4 12769 0t0 TCP *:22 (LISTEN)
                        sshd 323 root 4u IPv6 12777 0t0 TCP *:22 (LISTEN)
                        io.admin. 618 iobroker 24u IPv6 19622 0t0 TCP *:8081 (LISTEN)
                        sshd 1310 pi 10u IPv6 18754 0t0 TCP localhost:6010 (LISTEN)
                        sshd 1310 pi 11u IPv4 18755 0t0 TCP localhost:6010 (LISTEN)
                        pi@raspberrypi:/home/iobroker

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

                          @Jopie denke das ist kein Adapter Problem. Du solltest mal den Installationsfixer laufen lassen, suche mal in Forum oder eröffne ein speziellen Thread für dein Problem.

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

                            @foxriver76 ok, hab mal gestopt geupdated, gestartet nichts... dann wieder gestoppt:
                            curl -sL https://iobroker.net/fix.sh | bash - gemacht
                            wieder gestartet... eh voila kein Fehler mehr! Ich kann die Daten sehen! 🙂
                            Danke Foxriver76! Jetzt mal sehen was man alles damit machen kann!

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            809
                            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