Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. History Adapter - exportieren / migrieren nach InfluxDB

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    History Adapter - exportieren / migrieren nach InfluxDB

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

      @bambulko am besten poste mal die ganze Ausgabe und Aufruf in eine GitHub issue. Kann ich mir nach dem Urlaub ansehen

      W 1 Reply Last reply Reply Quote 0
      • W
        wde @Guest last edited by

        @dp20eic
        da habe ich auch ein Problem:
        root@server2:/opt/iobroker# node analyzeinflux.js influxdb.0 info --deepAnalyze
        Do deep analysis to find holes in data
        InfluxDB-Configuration: {"debounce":1000,"retention":7948800,"dbname":"smarthome","host":"85.215.52.227","protocol":"http","path":"","port":8086,"user":"","organization":"Softwerk","round":4,"seriesBufferMax":0,"seriesBufferFlushInterval":600,"changesRelogInterval":0,"changesMinDelta":0,"reconnectInterval":10000,"pingInterval":15000,"requestTimeout":30000,"validateSSL":true,"dbversion":"2.x","usetags":true,"pingserver":true,"blockTime":0,"debounceTime":0,"disableSkippedValueLogging":false,"enableLogging":false,"customRetentionDuration":365,"relogLastValueOnStart":true}
        Query Data from instance "influxdb.0" (Version 2, Bucket smarthome)
        Datapoints found: 4
        This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
        TypeError: Cannot read properties of undefined (reading 'ts')
        at Object.cb (/opt/iobroker/analyzeinflux.js:143:73)
        at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11102:45)
        at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:379:37)
        at processImmediate (node:internal/timers:476:21)

        Thomas Braun ? 2 Replies Last reply Reply Quote 0
        • W
          wde @apollon77 last edited by

          @apollon77
          da habe ich auch ein Problem:
          root@server2:/opt/iobroker# node analyzeinflux.js influxdb.0 info --deepAnalyze
          Do deep analysis to find holes in data
          InfluxDB-Configuration: {"debounce":1000,"retention":7948800,"dbname":"smarthome","host":"85.215.52.227","protocol":"http","path":"","port":8086,"user":"","organization":"Softwerk","round":4,"seriesBufferMax":0,"seriesBufferFlushInterval":600,"changesRelogInterval":0,"changesMinDelta":0,"reconnectInterval":10000,"pingInterval":15000,"requestTimeout":30000,"validateSSL":true,"dbversion":"2.x","usetags":true,"pingserver":true,"blockTime":0,"debounceTime":0,"disableSkippedValueLogging":false,"enableLogging":false,"customRetentionDuration":365,"relogLastValueOnStart":true}
          Query Data from instance "influxdb.0" (Version 2, Bucket smarthome)
          Datapoints found: 4
          This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
          TypeError: Cannot read properties of undefined (reading 'ts')
          at Object.cb (/opt/iobroker/analyzeinflux.js:143:73)
          at change (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:11102:45)
          at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:379:37)
          at processImmediate (node:internal/timers:476:21)

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

            @wde sagte in History Adapter - exportieren / migrieren nach InfluxDB:

            da habe ich auch ein Problem:
            root@server2

            Richtig. Warum machst du es denn dann?
            Nie als root herumhampeln, immer mit einem User.

            W 1 Reply Last reply Reply Quote 0
            • W
              wde @Thomas Braun last edited by

              @thomas-braun
              Danke für die Unterstützung

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 @wde last edited by

                @wde Puuh ... scheinbar kommen da die daten nicht so wie erwartet ...

                Da müsste man mal über https://github.com/ioBroker/ioBroker.history/blob/master/converter/analyzeinflux.js#L143C33-L143C33 ein console.log einbauen um zu schauen was da genau zurückkommt. Das mit issue im history Adapter dann im GitHub melden

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

                  @wde sagte in History Adapter - exportieren / migrieren nach InfluxDB:

                  Danke für die Unterstützung

                  Kein Problem, gerne.

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @wde last edited by

                    @wde sagte in History Adapter - exportieren / migrieren nach InfluxDB:

                    da habe ich auch ein Problem:

                    Moin,

                    ich hätte da zwei wünsche,

                    1. setz Log Output bitte in Code Tags </>, es liest sich besser
                    2. dann hast Du eine PN von mir, da ich das hier nicht breit treten will.

                    VG
                    Bernd

                    1 Reply Last reply Reply Quote 0
                    • W
                      wde @apollon77 last edited by

                      @apollon77 said in History Adapter - exportieren / migrieren nach InfluxDB:

                      @wde Puuh ... scheinbar kommen da die daten nicht so wie erwartet ...

                      Da müsste man mal über https://github.com/ioBroker/ioBroker.history/blob/master/converter/analyzeinflux.js#L143C33-L143C33 ein console.log einbauen um zu schauen was da genau zurückkommt. Das mit issue im history Adapter dann im GitHub melden

                      das habe ich vor 2 Wochen gemacht, aber leider nichts weiteres erfahren.

                      apollon77 1 Reply Last reply Reply Quote 0
                      • apollon77
                        apollon77 @wde last edited by

                        @wde Ja, weil scheinbar noch keiner Zeit hatte sich das anzusehen ... Bitte Geduld haben. Wenn du es jetzt geclosed hast machs bitte wieder auf. Closed issues heissen für mich das es erledigt ist.

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        472
                        Online

                        31.9k
                        Users

                        80.1k
                        Topics

                        1.3m
                        Posts

                        exportieren history influxdb migrieren
                        15
                        52
                        5940
                        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