Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern

    This topic has been deleted. Only users with topic management privileges can see it.
    • Marc Berg
      Marc Berg Most Active @bitwicht last edited by

      @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

      unable to write data - unknown

      Hm, das geht bei mir völlig problemlos.

      e5322e4d-decd-43fd-ad3a-bbdd862c6b8c-grafik.png
      2916bb32-6e30-4c8a-95ef-958fe3f7e853-grafik.png

      Du kannst mal noch versuchen, die Daten aus einer Textdatei herauszukopieren, nicht dass da unsichtbare Steuerzeichen drin stecken.

      1 Reply Last reply Reply Quote 0
      • B
        bitwicht last edited by bitwicht

        @Marc-Berg

        Ich habe mich jetzt mal neu angemeldet.
        Daten aus dem Notepad kopiert:

        PV-SEWeb-Ertrag-Tag value="15.616" 1704376800
        

        Bei mir kommt dieser Fehler:

        IO13.JPG

        Marc Berg 1 Reply Last reply Reply Quote 0
        • Marc Berg
          Marc Berg Most Active @bitwicht last edited by

          @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

          Bei mir kommt dieser Fehler:

          Ich kann den Fehler nur nachstellen, wenn ich die Precision falsch angebe. Die stellt sich immer wieder auf "Nanosekunden" zurück.

          1 Reply Last reply Reply Quote 0
          • B
            bitwicht last edited by bitwicht

            @Marc-Berg

            So stelle ich es ein:

            IO-B16.JPG

            Wenn ich eine Datei Uploade kommt der gleiche Fehler.

            Wenn ich das richtig sehe läuft bei mir:

            X-Influxdb-Build: OSS
            X-Influxdb-Version: v2.5.1
            
            

            Bei mir stellt sich das aber nicht zurück wenn der Fehler kommt und ich auch edit oder clear gehe

            Marc Berg 1 Reply Last reply Reply Quote 0
            • B
              bitwicht last edited by bitwicht

              Es hat eben funktioniert als ich aus versehen auf nonosecounds war.

              Was habe ich denn nun geschrieben ?!?

              1 Reply Last reply Reply Quote 0
              • Marc Berg
                Marc Berg Most Active @bitwicht last edited by

                @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

                X-Influxdb-Version: v2.5.1

                Das kann doch nur ein Bug in deiner Version sein, aktuell ist die InfluxDB v2.7.5

                1 Reply Last reply Reply Quote 0
                • B
                  bitwicht last edited by

                  @Marc-Berg

                  Ich habe jetzt das ```
                  PV-SEWeb-Ertrag-Tag value="15.616" 1704376800

                  
                  Ist das Update einfach über die Shell zu machen oder ?
                  Marc Berg Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Marc Berg
                    Marc Berg Most Active @bitwicht last edited by

                    @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

                    Ist das Update einfach über die Shell zu machen oder ?

                    Ja, das hängt aber auch davon ab, wie du die DB ursprünglich installiert hattest. Wenn du es über den Paket Manager gemacht hast (hier die Anleitung von @Thomas-Braun ), dann kämen die Updates mit einem sudo apt update/sudo apt upgrade mit.

                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @bitwicht last edited by

                      @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

                      Ist das Update einfach über die Shell zu machen oder ?

                      sudo apt update
                      apt policy influxdb*
                      

                      sagt dazu? Grundsätzlich werden Softwarepakete unter 'Linux' immer über den Paketmanager installiert. Da gibt es nur ganz wenige Ausnahmen da anders vorzugehen. Und das machen auch besser nur 'Profis' am vorgesehen Weg vorbei.

                      1 Reply Last reply Reply Quote 1
                      • B
                        bitwicht last edited by

                        @Marc-Berg

                        Das ist ein Problem. Ich hatte da Hilfe und so weit ich mich erinnere wurde entweder iobroker oder die influx nicht über den Paketmanager installiert.

                        Kann ich das irgendwie sehen wie das installiert wurde ?

                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @bitwicht last edited by

                          @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

                          Kann ich das irgendwie sehen wie das installiert wurde ?

                          Siehe vorstehende Antwort.

                          1 Reply Last reply Reply Quote 0
                          • B
                            bitwicht last edited by

                            @Thomas-Braun

                            beim update eine Warnung:

                            W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://apt.grafana.com stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                            W: Failed to fetch https://apt.grafana.com/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545
                            W: Some index files failed to download. They have been ignored, or old ones used instead.
                            

                            und dann:

                            pi@raspberrypi:~ $ apt policy influxdb*
                            N: Unable to locate package influxdb2-2.5.1-arm64.deb
                            N: Couldn't find any package by glob 'influxdb2-2.5.1-arm64.deb'
                            N: Unable to locate package influxdb2-client-2.5.0-linux-arm64
                            N: Couldn't find any package by glob 'influxdb2-client-2.5.0-linux-arm64'
                            N: Unable to locate package influxdb2-client-2.5.0-linux-arm64.tar.gz
                            N: Couldn't find any package by glob 'influxdb2-client-2.5.0-linux-arm64.tar.gz'
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @bitwicht last edited by

                              @bitwicht

                              rm influxdb*
                              

                              Zu grafana:

                              sudo rm /etc/apt/sources.list.d/graf*
                              sudo apt-get install -y apt-transport-https
                              sudo apt-get install -y software-properties-common wget
                              sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                              echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                              

                              Dann nochmal

                              sudo apt update
                              apt policy influx*
                              
                              1 Reply Last reply Reply Quote 0
                              • B
                                bitwicht last edited by

                                @Thomas-Braun

                                das geht schon nicht

                                pi@raspberrypi:~ $ rm influxdb*
                                rm: cannot remove 'influxdb2-client-2.5.0-linux-arm64': Is a directory
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @bitwicht last edited by

                                  @bitwicht

                                  Dann musst du die grobe Drahtbürste verwenden.

                                  rm -rf influxdb*
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    bitwicht last edited by bitwicht

                                    das ging

                                    pi@raspberrypi:~ $ rm -rf influxdb*
                                    
                                    pi@raspberrypi:~ $ apt policy influx*
                                    influxdb2-cli:
                                      Installed: (none)
                                      Candidate: (none)
                                      Version table:
                                    influxdb-client:
                                      Installed: (none)
                                      Candidate: 1.6.7~rc0-1+b5
                                      Version table:
                                         1.6.7~rc0-1+b5 500
                                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                    influxdb-dev:
                                      Installed: (none)
                                      Candidate: (none)
                                      Version table:
                                    influxdb:
                                      Installed: (none)
                                      Candidate: 1.6.7~rc0-1+b5
                                      Version table:
                                         1.6.7~rc0-1+b5 500
                                            500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                            100 /var/lib/dpkg/status
                                    influxdb2:
                                      Installed: 2.5.1-1
                                      Candidate: 2.5.1-1
                                      Version table:
                                     *** 2.5.1-1 100
                                            100 /var/lib/dpkg/status
                                    
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @bitwicht last edited by

                                      @bitwicht

                                      Bitte auch den abschließenden, neuen Prompt zeigen. Dann sehe ich auch das die ganze Sache durchgelaufen ist.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        bitwicht last edited by

                                        da kam sonst nix

                                        pi@raspberrypi:~ $ rm -rf influxdb*
                                        pi@raspberrypi:~ $ 
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @bitwicht last edited by

                                          @bitwicht sagte in Ertrag (Tag, Monat, Jahr) berechnen und in Datei speichern:

                                          da kam sonst nix

                                          Die Info ist wichtig.

                                          wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                                          echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                                          echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                                          rm influxdata-archive_compat.key
                                          

                                          Grafana hast du berichtigt? Siehe oben.

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            bitwicht last edited by bitwicht

                                            Entschuldige, ich dachte wir machen erst influx

                                            hier bitte:

                                            pi@raspberrypi:~ $ sudo rm /etc/apt/sources.list.d/graf*
                                            pi@raspberrypi:~ $ sudo apt-get install -y apt-transport-https
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            apt-transport-https is already the newest version (2.2.4).
                                            0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
                                            pi@raspberrypi:~ $ sudo apt-get install -y software-properties-common wget
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            software-properties-common is already the newest version (0.96.20.2-2.1).
                                            wget is already the newest version (1.21-1+deb11u1).
                                            0 upgraded, 0 newly installed, 0 to remove and 39 not upgraded.
                                            pi@raspberrypi:~ $ sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                                            pi@raspberrypi:~ $ sudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key
                                            echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
                                            deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                                            pi@raspberrypi:~ $
                                            
                                            
                                            pi@raspberrypi:~ $ sudo apt update
                                            apt policy influx*
                                            Hit:1 http://deb.debian.org/debian bullseye InRelease
                                            Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                                            Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                                            Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                            Get:5 https://apt.grafana.com stable InRelease [5,983 B]
                                            Get:6 https://deb.nodesource.com/node_16.x bullseye InRelease [4,586 B]
                                            Get:7 https://dl.cloudsmith.io/public/evcc/stable/deb/debian bullseye InRelease [5,127 B]
                                            Get:8 https://apt.grafana.com stable/main armhf Packages [114 kB]
                                            Get:9 https://apt.grafana.com stable/main arm64 Packages [147 kB]
                                            Fetched 272 kB in 2s (127 kB/s)
                                            Reading package lists... Done
                                            Building dependency tree... Done
                                            Reading state information... Done
                                            40 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                            influxdb2-cli:
                                              Installed: (none)
                                              Candidate: (none)
                                              Version table:
                                            influxdb-client:
                                              Installed: (none)
                                              Candidate: 1.6.7~rc0-1+b5
                                              Version table:
                                                 1.6.7~rc0-1+b5 500
                                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                            influxdb-dev:
                                              Installed: (none)
                                              Candidate: (none)
                                              Version table:
                                            influxdb:
                                              Installed: (none)
                                              Candidate: 1.6.7~rc0-1+b5
                                              Version table:
                                                 1.6.7~rc0-1+b5 500
                                                    500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                                    100 /var/lib/dpkg/status
                                            influxdb2:
                                              Installed: 2.5.1-1
                                              Candidate: 2.5.1-1
                                              Version table:
                                             *** 2.5.1-1 100
                                                    100 /var/lib/dpkg/status
                                            pi@raspberrypi:~ $
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            540
                                            Online

                                            31.6k
                                            Users

                                            79.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            190
                                            12843
                                            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