Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. meto

    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

    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 1
    • Groups 0

    meto

    @meto

    1
    Reputation
    5
    Profile views
    2
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    meto Follow

    Best posts made by meto

    • RE: History2DB converter

      @apollon77 issue ist geöffnet. Hab den Fehler auch bei mir schon gefunden.
      Hab bei mir jetzt Zeile 282 von "const jj = 0" in "let jj = 0" geändert. Läuft jetzt gerade noch. Aber auf jeden Fall nicht gleich in den obigen Fehler. Anmerkung ist auch im Github.

      posted in Tester
      M
      meto

    Latest posts made by meto

    • RE: History2DB converter

      @apollon77 issue ist geöffnet. Hab den Fehler auch bei mir schon gefunden.
      Hab bei mir jetzt Zeile 282 von "const jj = 0" in "let jj = 0" geändert. Läuft jetzt gerade noch. Aber auf jeden Fall nicht gleich in den obigen Fehler. Anmerkung ist auch im Github.

      posted in Tester
      M
      meto
    • RE: History2DB converter

      Hallo,
      ich habe vor einigen Tagen begonnen auf Influx umzustellen. Influx funktioniert augenscheinlich einwandfrei. Die neuen Werte kommen alle an. Leider erhalte ich bei der Konvertierung Fehlermeldungen. Mit History 2.2.0 und Inlux 3.1.7 Ende des ganz kurz nach dem Aufruf mit "warn: influxdb.0 (12548) storeState executed with 3 errors" im iobroker log.

      Ich habe dann von Github History 2.2.1 und Inlux 3.1.8 installiert.

      Nun Endet das Ganz nach dem Aufruf unverrichteter Dinge:

      pi@raspbi4:/opt/iobroker/node_modules/iobroker.history/converter $ node history2db.js influxdb.0 info 20201231 /home/pi/history  --logChangesOnly --processNonExistingValuesOnly
      Send Data to influxdb.0
      Start at 20201231
      Use historyDir /home/pi/history
      earliesDBValues initialized from cache 135
      ExistingDBTypes initialized from cache 135
      Started processFiles with 135 known db values
      We start earliest at 20201231
      Day 20201231 - history.hm-rega.0.51333.json
        datapoints reduced from 345 --> 345
      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: Assignment to constant variable.
          at processFile (/opt/iobroker/node_modules/iobroker.history/converter/history2db.js:282:66)
          at processFiles (/opt/iobroker/node_modules/iobroker.history/converter/history2db.js:185:5)
          at main (/opt/iobroker/node_modules/iobroker.history/converter/history2db.js:148:5)
          at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.history/converter/history2db.js:96:5)
          at Adapter.emit (node:events:513:28)
          at Adapter.emit (node:domain:489:12)
          at /opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:9132:26
      
      

      Hat jemand eine Idee was da falsch läuft und wie ich die Daten von History trotzdem in die Influx-Datenbank bekomme?

      Danke im Voraus.

      Gruß
      meto

      posted in Tester
      M
      meto
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo