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 Nr5lebt

      @jb1985 Hallo
      ich versuche mich an deiner Anleitung aber bekomme Fehlermeldungen in IoBroker.
      Screenshot_20210714_223331.png
      Die config hab ich auch geändert.
      in meiner allinone steht folgendes:
      Screenshot_20210714_223832.png
      Der Rest ist nicht angezeigt. Hab das Teil abgetippt aber kann keinen Fehler erkennen. Habe keine Ahnung von Phyton. Wenn ich das richtig deute findet der in Zeile 3 das json nicht? Usw. IoBroker läuft in Docker.
      Vielleicht kannst du mir helfen.
      Danke
      Uwe

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

        @nr5lebt moin!

        Hast du mal ein

        chmod +x allinone.py
        

        probiert? Und dann ./allinone.py versucht?

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

          @jb1985 Du hast die Datenpunkte unter 'Datenpunkte.0' angelegt. Dies sollte man vermeiden, eigene Datenpunkte gehören unter die Javascript Instanz (z.B. 'javascript.0') oder unter '0_userdata.0'

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

            @jb1985 Sorry, hat ein wenig länger gedauert
            Das ist das ergebnis
            Screenshot_20210809_170922.png

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

              @nr5lebt bei dir scheint alles in einem docker Container zu laufen.

              Ist python3 bei dir überhaupt installiert? Was erscheint wenn du

              python3 allinone.py
              

              eingibst?

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

                @jb1985 said in GoodWe Wechselrichter und ioBroker:

                @nr5lebt bei dir scheint alles in einem docker Container zu laufen.

                Ist python3 bei dir überhaupt installiert? Was erscheint wenn du

                python3 allinone.py
                

                eingibst?
                Den Gedanken das Python überhaupt installiert ist hatte ich auch schon
                Screenshot_20210810_104947.png

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

                  @nr5lebt ja, aber bekommst du die gleiche Fehlermeldung bei:

                  ./allinone.py
                  

                  und

                  python3 allinone.py
                  

                  ?

                  N 1 Reply Last reply Reply Quote 0
                  • 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
                                            • 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