Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. GoodWe Wechselrichter und ioBroker

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    GoodWe Wechselrichter und ioBroker

    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      Nr5lebt @JB1985 last edited by

      @jb1985 Screenshot_20210810_112409.png
      hab noch einen Fehler gefunden aber mit python3 bekomm ich Werte.

      JB1985 1 Reply Last reply Reply Quote 0
      • JB1985
        JB1985 @Nr5lebt last edited by

        @nr5lebt klappt doch!

        Du musst dein python richtig konfigurieren. Setzte /usr/bin/python auf /usr/bin/python3, dann sollte es auch mit ./allinone.py klappen.

        N 1 Reply Last reply Reply Quote 0
        • N
          Nr5lebt @JB1985 last edited by

          @jb1985 sorry, bevor ich mich jetzt im netz schlau machen muss: wie mach ich das?

          JB1985 1 Reply Last reply Reply Quote 0
          • JB1985
            JB1985 @Nr5lebt last edited by

            @nr5lebt wenn es ein Debian System ist, dann einfach:

            update-alternatives --install /usr/bin/python python /usr/bin/python3.7
            

            python3.7 muss du ggf. ändern in der Version die bei dir installiert ist. Mit

            whereis python
            

            Kannst du sehen welche Python Pfade du alle hast.

            N 1 Reply Last reply Reply Quote 0
            • N
              Nr5lebt @JB1985 last edited by

              @jb1985 sorry das hat nicht geklappt, es fehlte ein argument. hab dann selber nachgesehen aber das war dann ja nicht mehr so schwierig.Screenshot_20210810_120237.png

              N 1 Reply Last reply Reply Quote 0
              • N
                Nr5lebt @Nr5lebt last edited by

                @nr5lebt jetzt hab ich das hier
                Screenshot_20210810_120519.png

                JB1985 1 Reply Last reply Reply Quote 0
                • JB1985
                  JB1985 @Nr5lebt last edited by

                  @nr5lebt steht im Script auch wirklich am Anfang

                  #!/usr/bin/env python3
                  

                  Ohne irgendwelche Leerzeichen am Anfang?

                  Ansonsten keine Idee, warum dein System das Script nicht als Python Script erkennt.

                  N 2 Replies Last reply Reply Quote 0
                  • N
                    Nr5lebt @JB1985 last edited by

                    @jb1985 Das wars, habs abgeändert und jetzt klappts. Hatte das weggelassen weil ich dachte die Zeile wird durch das # auskommentiert

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Nr5lebt @Nr5lebt last edited by

                      @nr5lebt Sorry, jetzt hab ich in iobroker Problem
                      Screenshot_20210810_123945.png

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Nr5lebt @Nr5lebt last edited by

                        @nr5lebt said in GoodWe Wechselrichter und ioBroker:

                        @nr5lebt Sorry, jetzt hab ich in iobroker Problem
                        Screenshot_20210810_123945.png

                        auf der konsole klappt allinone.py jetzt
                        Screenshot_20210810_124121.png

                        JB1985 1 Reply Last reply Reply Quote 0
                        • JB1985
                          JB1985 @Nr5lebt last edited by

                          @nr5lebt hilft das?

                          apt-get install python-requests
                          
                          JB1985 1 Reply Last reply Reply Quote 0
                          • N
                            Nr5lebt @JB1985 last edited by

                            @jb1985 allinone.py kann ich jetzt werte herausziehen
                            Screenshot_20210810_124121.png
                            aber jetzt hab ich problem mit iobroker
                            Screenshot_20210810_123945.png
                            das ist meine js-datei
                            Screenshot_20210810_125906.png

                            1 Reply Last reply Reply Quote 0
                            • JB1985
                              JB1985 @JB1985 last edited by

                              @jb1985 sagte in GoodWe Wechselrichter und ioBroker:

                              @nr5lebt hilft das?

                              apt-get install python-requests
                              
                              N 1 Reply Last reply Reply Quote 0
                              • N
                                Nr5lebt @JB1985 last edited by

                                @jb1985 installiert, aber gleiche meldung in iobroker
                                muss ich iobroker mal neu starten?

                                JB1985 1 Reply Last reply Reply Quote 0
                                • JB1985
                                  JB1985 @Nr5lebt last edited by

                                  @nr5lebt eigentlich ist die Fehlermeldung eindeutig, dass das requests Modul von Python fehlt.

                                  Versuch mal ein:

                                  pip3 install requests
                                  
                                  N 1 Reply Last reply Reply Quote 0
                                  • N
                                    Nr5lebt @JB1985 last edited by

                                    @jb1985 Screenshot_20210810_131956.png

                                    JB1985 1 Reply Last reply Reply Quote 0
                                    • JB1985
                                      JB1985 @Nr5lebt last edited by

                                      @nr5lebt hast du im js Script auch den Pfad angepasst?

                                      In deinem JS Script ist /opt/iobroker/pygoodwe-master/allinone.py eingetragen. In deiner Shell aber /raid1/docker/iobrokerdata/pygoodwe-master/

                                      Das sollte schon der gleiche Pfad jeweils sein.

                                      N 2 Replies Last reply Reply Quote 0
                                      • N
                                        Nr5lebt @JB1985 last edited by

                                        @jb1985 iobroker läuft unter docker aber ich kontrollier das im container noch mal nach

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          Nr5lebt @JB1985 last edited by

                                          @jb1985 das ist der pfad im container, also stimmt
                                          Screenshot_20210810_132927.png

                                          JB1985 1 Reply Last reply Reply Quote 0
                                          • JB1985
                                            JB1985 @Nr5lebt last edited by

                                            @nr5lebt ja, dann gib mal direkt an:

                                            /opt/iobroker/pygoodwe-master/allinone.py
                                            

                                            Da wirst du die gleiche Fehlermeldung wie bei iobroker bekommen. Das Problem wird sein, dass du im Container das Python Modul requests installieren musst.

                                            Bin kein Freund von Docker. Habe auch kein Plan davon, wie man da Pakete installiert.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            87
                                            16055
                                            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