Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. JavaScript
  5. HowTo: Zusatz-Programme fuer jarvis v3

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    483

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

HowTo: Zusatz-Programme fuer jarvis v3

Scheduled Pinned Locked Moved JavaScript
javascript
894 Posts 33 Posters 230.8k Views 37 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M MCU

    @wolfi913 Passe ich an. Danke.

    W Offline
    W Offline
    wolfi913
    wrote on last edited by
    #580

    @mcu
    Hätte in einem früheren Post im Forum zwecks der Einschränkung auf 500 Datensätze bei der influxDB gefunden, falls Du's noch brauchen kannst. Kann aber nicht sagen, ob das noch aktuell ist.
    https://forum.iobroker.net/post/568705

    1 Reply Last reply
    0
    • M Online
      M Online
      MCU
      wrote on last edited by
      #581

      @wolfi913 Hab gerade kein InfluxDB integriert. Kannst du es mal testen.

      javascript-echartshistorygetdata-v1.0.4

      a5ab9232-2f7a-4c0c-976c-1d2aa4b14963-image.png

                  limit: dataLimitValue,
                  //aggregate: 'max', //onchange
                  ignoreNull: true,
                  count : dataLimitValue
      

      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

      W 1 Reply Last reply
      0
      • M MCU

        @wolfi913 Hab gerade kein InfluxDB integriert. Kannst du es mal testen.

        javascript-echartshistorygetdata-v1.0.4

        a5ab9232-2f7a-4c0c-976c-1d2aa4b14963-image.png

                    limit: dataLimitValue,
                    //aggregate: 'max', //onchange
                    ignoreNull: true,
                    count : dataLimitValue
        
        W Offline
        W Offline
        wolfi913
        wrote on last edited by wolfi913
        #582

        @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

        @wolfi913 Hab gerade kein InfluxDB integriert. Kannst du es mal testen.

        Funktioniert auf Anhieb :blush: :+1:
        Influxdb
        Screenshot 2024-05-07 163830.png
        History
        Screenshot 2024-05-07 164437.png
        Ganz passt's bei mir noch nicht. Aber die Werte sind jetzt bei 5000.
        Ich probier mal die Abweichung im blauen Bereich durch Hochsetzen vom limit noch zu verbessern.

        M 1 Reply Last reply
        1
        • W wolfi913

          @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

          @wolfi913 Hab gerade kein InfluxDB integriert. Kannst du es mal testen.

          Funktioniert auf Anhieb :blush: :+1:
          Influxdb
          Screenshot 2024-05-07 163830.png
          History
          Screenshot 2024-05-07 164437.png
          Ganz passt's bei mir noch nicht. Aber die Werte sind jetzt bei 5000.
          Ich probier mal die Abweichung im blauen Bereich durch Hochsetzen vom limit noch zu verbessern.

          M Online
          M Online
          MCU
          wrote on last edited by MCU
          #583

          @wolfi913 Da scheint es ein Problem bei influxDB zu geben? Normalerweise sollten die DB's alle gleiche Werte rückmelden.

          Sind die Einstellungen für history und influxDB gleich? Oder loggt influxDB mehr Werte als history?

          Vielleicht muss man bei influxDB count nutzen und bei history limit?
          Einfach limit ausblenden mit

          //  limit: dataLimitValue,
          

          -> history evtl falsch, aber wie sieht es bei influxDB aus?

          NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
          Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

          W 2 Replies Last reply
          0
          • M MCU

            @wolfi913 Da scheint es ein Problem bei influxDB zu geben? Normalerweise sollten die DB's alle gleiche Werte rückmelden.

            Sind die Einstellungen für history und influxDB gleich? Oder loggt influxDB mehr Werte als history?

            Vielleicht muss man bei influxDB count nutzen und bei history limit?
            Einfach limit ausblenden mit

            //  limit: dataLimitValue,
            

            -> history evtl falsch, aber wie sieht es bei influxDB aus?

            W Offline
            W Offline
            wolfi913
            wrote on last edited by
            #584

            @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

            Sind die Einstellungen für history und influxDB gleich? Oder loggt influxDB mehr Werte als history?

            Eigentlich nicht, bei history ist zwar eine Entprellzeit von 1000ms drin. Sollte aber nicht's ausmachen da die Werte in der Regel alle 10sec kommen.

            1 Reply Last reply
            0
            • M MCU

              @wolfi913 Da scheint es ein Problem bei influxDB zu geben? Normalerweise sollten die DB's alle gleiche Werte rückmelden.

              Sind die Einstellungen für history und influxDB gleich? Oder loggt influxDB mehr Werte als history?

              Vielleicht muss man bei influxDB count nutzen und bei history limit?
              Einfach limit ausblenden mit

              //  limit: dataLimitValue,
              

              -> history evtl falsch, aber wie sieht es bei influxDB aus?

              W Offline
              W Offline
              wolfi913
              wrote on last edited by
              #585

              @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

              //  limit: dataLimitValue,
              

              Mach keinen Unterschied. Irgendwie sind in der influxDB mehr Werte drin. Mit 7000 funktionierts.
              Screenshot 2024-05-07 170256.png

              M 1 Reply Last reply
              0
              • W wolfi913

                @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                //  limit: dataLimitValue,
                

                Mach keinen Unterschied. Irgendwie sind in der influxDB mehr Werte drin. Mit 7000 funktionierts.
                Screenshot 2024-05-07 170256.png

                M Online
                M Online
                MCU
                wrote on last edited by MCU
                #586

                @wolfi913
                Das ist ja nicht zielführend, da, wenn du 2 Tage wählst, wieder nicht alles angezeigt wird?

                EDIT: Du kannst mal die influxDB-Instanz auf debug stellen, und dann bei jarvis ein Refresh durchführen.
                -> LOG query Aufruf zu DB wird angezeigt.

                // Es kommen Einträge mit 
                History-Queries to execute:
                

                @apollon77 limit zieht nicht für influxDB? (Bei historyDB ist alles ok)

                0_userdata.0.PV.SignedBat17150970902550.21461031104686312 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715010686903,"end":1715097086903,"aggregate":"onchange","limit":5000,"ignoreNull":true}}
                

                Es werden bei limit: 5000, nur 502 angzeigt. Setzt man zusätzlich count: 5000, werden auch aus influxDB 5000 geholt, aber wenn mehr vorhanden sind wird die Kurve abgebrochen.
                -> limit scheint fest im Adapter definiert zu sein bei influxDB.

                Issue aufmachen?

                // Hiernach sollte es egal sein, ob limit oder count gesetzt wird 
                
                limit:      parseInt(msg.message.options.limit, 10) || parseInt(msg.message.options.count, 10) || adapter.config.limit || 2000,
                
                // hiernach sollte er bei onchange limit nutzen, wenn count nicht gesetzt
                
                if (!options.count || isNaN(options.count)) {
                        if (options.aggregate === 'none' || options.aggregate === 'onchange') {
                            options.count = options.limit;
                        } else {
                            options.count = 500;
                        }
                    }
                

                NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                W apollon77A 2 Replies Last reply
                0
                • M MCU

                  @wolfi913
                  Das ist ja nicht zielführend, da, wenn du 2 Tage wählst, wieder nicht alles angezeigt wird?

                  EDIT: Du kannst mal die influxDB-Instanz auf debug stellen, und dann bei jarvis ein Refresh durchführen.
                  -> LOG query Aufruf zu DB wird angezeigt.

                  // Es kommen Einträge mit 
                  History-Queries to execute:
                  

                  @apollon77 limit zieht nicht für influxDB? (Bei historyDB ist alles ok)

                  0_userdata.0.PV.SignedBat17150970902550.21461031104686312 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715010686903,"end":1715097086903,"aggregate":"onchange","limit":5000,"ignoreNull":true}}
                  

                  Es werden bei limit: 5000, nur 502 angzeigt. Setzt man zusätzlich count: 5000, werden auch aus influxDB 5000 geholt, aber wenn mehr vorhanden sind wird die Kurve abgebrochen.
                  -> limit scheint fest im Adapter definiert zu sein bei influxDB.

                  Issue aufmachen?

                  // Hiernach sollte es egal sein, ob limit oder count gesetzt wird 
                  
                  limit:      parseInt(msg.message.options.limit, 10) || parseInt(msg.message.options.count, 10) || adapter.config.limit || 2000,
                  
                  // hiernach sollte er bei onchange limit nutzen, wenn count nicht gesetzt
                  
                  if (!options.count || isNaN(options.count)) {
                          if (options.aggregate === 'none' || options.aggregate === 'onchange') {
                              options.count = options.limit;
                          } else {
                              options.count = 500;
                          }
                      }
                  
                  W Offline
                  W Offline
                  wolfi913
                  wrote on last edited by wolfi913
                  #587

                  @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                  @wolfi913
                  Das ist ja nicht zielführend, da, wenn du 2 Tage wählst, wieder nicht alles angezeigt wird?

                  EDIT: Du kannst mal die influxDB-Instanz auf debug stellen, und dann bei jarvis ein Refresh durchführen.
                  -> LOG query Aufruf zu DB wird angezeigt.

                  // Es kommen Einträge mit 
                  History-Queries to execute:
                  

                  Ich hab's mal bei 5000 im Script eingestellt. Im Log (Debug) stehen:

                  Incoming message getHistory from system.adapter.javascript.0
                  0_userdata.0.PV.SignedBat17150961902120.559960672577708 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715009786818,"end":1715096186818,"aggregate":"onchange","limit":5000,"ignoreNull":true,"count":5000}}
                  Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:36:26.818Z, stop: 2024-05-07T15:36:26.818Z) |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat" and contains(value: r._value, set: [true, false])) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group()
                  Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-02-04T15:36:26.818Z, stop: 2024-05-06T15:36:26.817Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> last() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                  Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:36:26.818Z, stop: 2024-05-07T15:36:26.818Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group() |> sort(columns:["_time"], desc: false) |> limit(n: 5000)
                  Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-07T15:36:26.819Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> first() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                  Send: 5002 of: 5001 in: 130ms
                  
                  M 1 Reply Last reply
                  0
                  • W wolfi913

                    @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                    @wolfi913
                    Das ist ja nicht zielführend, da, wenn du 2 Tage wählst, wieder nicht alles angezeigt wird?

                    EDIT: Du kannst mal die influxDB-Instanz auf debug stellen, und dann bei jarvis ein Refresh durchführen.
                    -> LOG query Aufruf zu DB wird angezeigt.

                    // Es kommen Einträge mit 
                    History-Queries to execute:
                    

                    Ich hab's mal bei 5000 im Script eingestellt. Im Log (Debug) stehen:

                    Incoming message getHistory from system.adapter.javascript.0
                    0_userdata.0.PV.SignedBat17150961902120.559960672577708 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715009786818,"end":1715096186818,"aggregate":"onchange","limit":5000,"ignoreNull":true,"count":5000}}
                    Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:36:26.818Z, stop: 2024-05-07T15:36:26.818Z) |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat" and contains(value: r._value, set: [true, false])) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group()
                    Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-02-04T15:36:26.818Z, stop: 2024-05-06T15:36:26.817Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> last() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                    Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:36:26.818Z, stop: 2024-05-07T15:36:26.818Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group() |> sort(columns:["_time"], desc: false) |> limit(n: 5000)
                    Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-07T15:36:26.819Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> first() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                    Send: 5002 of: 5001 in: 130ms
                    
                    M Online
                    M Online
                    MCU
                    wrote on last edited by MCU
                    #588

                    @wolfi913 Und jetzt mal ohne count (bzw. null), da war das Problem aufgetaucht.

                    NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                    Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                    W 1 Reply Last reply
                    0
                    • M MCU

                      @wolfi913 Und jetzt mal ohne count (bzw. null), da war das Problem aufgetaucht.

                      W Offline
                      W Offline
                      wolfi913
                      wrote on last edited by
                      #589

                      @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                      @wolfi913 Und jetzt mal ohne count (bzw. null), da war das Problem aufgetaucht.

                      Incoming message getHistory from system.adapter.javascript.0
                      0_userdata.0.PV.SignedBat17150967602230.6250690538939112 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715010356877,"end":1715096756877,"aggregate":"onchange","limit":5000,"ignoreNull":true,"count":null}}
                      Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:45:56.877Z, stop: 2024-05-07T15:45:56.877Z) |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat" and contains(value: r._value, set: [true, false])) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group()
                      Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-02-04T15:45:56.877Z, stop: 2024-05-06T15:45:56.876Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> last() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                      Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:45:56.877Z, stop: 2024-05-07T15:45:56.877Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group() |> sort(columns:["_time"], desc: false) |> limit(n: 500)
                      Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-07T15:45:56.878Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> first() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                      Send: 502 of: 501 in: 70ms
                      
                      M 1 Reply Last reply
                      0
                      • W wolfi913

                        @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                        @wolfi913 Und jetzt mal ohne count (bzw. null), da war das Problem aufgetaucht.

                        Incoming message getHistory from system.adapter.javascript.0
                        0_userdata.0.PV.SignedBat17150967602230.6250690538939112 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715010356877,"end":1715096756877,"aggregate":"onchange","limit":5000,"ignoreNull":true,"count":null}}
                        Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:45:56.877Z, stop: 2024-05-07T15:45:56.877Z) |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat" and contains(value: r._value, set: [true, false])) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group()
                        Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-02-04T15:45:56.877Z, stop: 2024-05-06T15:45:56.876Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> last() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                        Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:45:56.877Z, stop: 2024-05-07T15:45:56.877Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group() |> sort(columns:["_time"], desc: false) |> limit(n: 500)
                        Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-07T15:45:56.878Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> first() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                        Send: 502 of: 501 in: 70ms
                        
                        M Online
                        M Online
                        MCU
                        wrote on last edited by MCU
                        #590

                        @wolfi913 Genau.
                        762b182b-5fdc-4956-b431-bef658ddf256-image.png
                        Nimm mal bitte count raus:

                        // count: dataLimitValue
                        

                        NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                        Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                        W 1 Reply Last reply
                        0
                        • M MCU

                          @wolfi913 Genau.
                          762b182b-5fdc-4956-b431-bef658ddf256-image.png
                          Nimm mal bitte count raus:

                          // count: dataLimitValue
                          
                          W Offline
                          W Offline
                          wolfi913
                          wrote on last edited by
                          #591

                          @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                          @wolfi913 Genau.
                          762b182b-5fdc-4956-b431-bef658ddf256-image.png
                          Nimm mal bitte count raus:

                          // count: dataLimitValue
                          
                          Send: 502 of: 501 in: 70ms
                          0_userdata.0.PV.SignedBat17150970902550.21461031104686312 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715010686903,"end":1715097086903,"aggregate":"onchange","limit":5000,"ignoreNull":true}}
                          Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:51:26.903Z, stop: 2024-05-07T15:51:26.903Z) |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat" and contains(value: r._value, set: [true, false])) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group()
                          Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-02-04T15:51:26.903Z, stop: 2024-05-06T15:51:26.902Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> last() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                          Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:51:26.903Z, stop: 2024-05-07T15:51:26.903Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group() |> sort(columns:["_time"], desc: false) |> limit(n: 500)
                          Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-07T15:51:26.904Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> first() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                          Send: 502 of: 501 in: 64ms
                          
                          M 1 Reply Last reply
                          0
                          • W wolfi913

                            @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                            @wolfi913 Genau.
                            762b182b-5fdc-4956-b431-bef658ddf256-image.png
                            Nimm mal bitte count raus:

                            // count: dataLimitValue
                            
                            Send: 502 of: 501 in: 70ms
                            0_userdata.0.PV.SignedBat17150970902550.21461031104686312 getHistory message: {"id":"0_userdata.0.PV.SignedBat","options":{"start":1715010686903,"end":1715097086903,"aggregate":"onchange","limit":5000,"ignoreNull":true}}
                            Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:51:26.903Z, stop: 2024-05-07T15:51:26.903Z) |> filter(fn: (r) => r["_field"] == "value") |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat" and contains(value: r._value, set: [true, false])) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group()
                            Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-02-04T15:51:26.903Z, stop: 2024-05-06T15:51:26.902Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> last() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                            Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-06T15:51:26.903Z, stop: 2024-05-07T15:51:26.903Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value") |> group() |> sort(columns:["_time"], desc: false) |> limit(n: 500)
                            Query to execute: from(bucket: "iobroker_short") |> range(start: 2024-05-07T15:51:26.904Z) |> filter(fn: (r) => r["_measurement"] == "0_userdata.0.PV.SignedBat") |> first() |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
                            Send: 502 of: 501 in: 64ms
                            
                            M Online
                            M Online
                            MCU
                            wrote on last edited by
                            #592

                            @wolfi913 Ja und das darf laut Programm (main.js iobroker.influxDB) gar nicht passieren.

                            https://github.com/ioBroker/ioBroker.influxdb/blob/a7214d819f29556d8f1b3e7cf5b4c1d506a1ff1f/main.js#L1964

                            NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                            Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                            W 1 Reply Last reply
                            0
                            • M MCU

                              @wolfi913 Ja und das darf laut Programm (main.js iobroker.influxDB) gar nicht passieren.

                              https://github.com/ioBroker/ioBroker.influxdb/blob/a7214d819f29556d8f1b3e7cf5b4c1d506a1ff1f/main.js#L1964

                              W Offline
                              W Offline
                              wolfi913
                              wrote on last edited by
                              #593

                              @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                              @wolfi913 Ja und das darf laut Programm (main.js iobroker.influxDB) gar nicht passieren.

                              https://github.com/ioBroker/ioBroker.influxdb/blob/a7214d819f29556d8f1b3e7cf5b4c1d506a1ff1f/main.js#L1964

                              Scheint also so, dass der Bug im influx-Adapter liegt? Ich stellt auf alle Fälle bei mir momentan mal den Chart auf history um.

                              M 1 Reply Last reply
                              0
                              • W wolfi913

                                @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                                @wolfi913 Ja und das darf laut Programm (main.js iobroker.influxDB) gar nicht passieren.

                                https://github.com/ioBroker/ioBroker.influxdb/blob/a7214d819f29556d8f1b3e7cf5b4c1d506a1ff1f/main.js#L1964

                                Scheint also so, dass der Bug im influx-Adapter liegt? Ich stellt auf alle Fälle bei mir momentan mal den Chart auf history um.

                                M Online
                                M Online
                                MCU
                                wrote on last edited by
                                #594

                                @wolfi913 Du könntest nochmal ein Upload für die influxDB versuchen und wieder umstellen auf info, sonst haut es dir das LOG voll.

                                NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                W 2 Replies Last reply
                                0
                                • M MCU

                                  @wolfi913 Du könntest nochmal ein Upload für die influxDB versuchen und wieder umstellen auf info, sonst haut es dir das LOG voll.

                                  W Offline
                                  W Offline
                                  wolfi913
                                  wrote on last edited by
                                  #595

                                  @mcu sagte in HowTo: Zusatz-Programme fuer jarvis v3:

                                  sonst haut es dir das LOG voll.

                                  Hab ich schon umgestellt

                                  1 Reply Last reply
                                  0
                                  • M MCU

                                    @wolfi913 Du könntest nochmal ein Upload für die influxDB versuchen und wieder umstellen auf info, sonst haut es dir das LOG voll.

                                    W Offline
                                    W Offline
                                    wolfi913
                                    wrote on last edited by wolfi913
                                    #596

                                    @mcu
                                    Mir ist gerade zwischendrin im Log noch was aufgefallen. Hatte ich vorher nie gesehen. Denke ein warn wär mir normalerweise aufgefallen

                                    warn	script.js.jarvis.eChartsHistoryGetData: Timeout -> DP 0_userdata.0.PV.SignedBat nicht vorhanden in DB: influxdb.1
                                    

                                    Ziemlich sonderbar. Es werden ja scheinbar trotzdem Daten geliefert und der DP ist definitiv in der InfluxDB da.

                                    Ergänzung:
                                    Hab jetzt kurz nochmal auf influx zurückgestellt. Die warn ist nicht nochmal aufgetaucht. Trotz mehrmaligem F5.
                                    Möglicherweise tatsächlich nur einmalig vorgekommen.

                                    M 1 Reply Last reply
                                    0
                                    • W wolfi913

                                      @mcu
                                      Mir ist gerade zwischendrin im Log noch was aufgefallen. Hatte ich vorher nie gesehen. Denke ein warn wär mir normalerweise aufgefallen

                                      warn	script.js.jarvis.eChartsHistoryGetData: Timeout -> DP 0_userdata.0.PV.SignedBat nicht vorhanden in DB: influxdb.1
                                      

                                      Ziemlich sonderbar. Es werden ja scheinbar trotzdem Daten geliefert und der DP ist definitiv in der InfluxDB da.

                                      Ergänzung:
                                      Hab jetzt kurz nochmal auf influx zurückgestellt. Die warn ist nicht nochmal aufgetaucht. Trotz mehrmaligem F5.
                                      Möglicherweise tatsächlich nur einmalig vorgekommen.

                                      M Online
                                      M Online
                                      MCU
                                      wrote on last edited by MCU
                                      #597

                                      @wolfi913 Taucht auch nur als "Hinweis" auf, wenn history-Abfrage einen timeout produziert. Kann auch evtl mit der Anzahl der Werte zusammenhängen?

                                      Hattest du mal ein Upload gemacht um danach nochmal die nur limit für influx zu testen?

                                      iob upload influxdb
                                      

                                      NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                      Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                      W 1 Reply Last reply
                                      0
                                      • M MCU

                                        @wolfi913 Taucht auch nur als "Hinweis" auf, wenn history-Abfrage einen timeout produziert. Kann auch evtl mit der Anzahl der Werte zusammenhängen?

                                        Hattest du mal ein Upload gemacht um danach nochmal die nur limit für influx zu testen?

                                        iob upload influxdb
                                        
                                        W Offline
                                        W Offline
                                        wolfi913
                                        wrote on last edited by wolfi913
                                        #598

                                        @mcu
                                        ok :+1:

                                        Hattest du mal ein Upload gemacht um danach nochmal die nur limit für influx zu testen?

                                        Mach ich gleich noch, bin nur zwischendrin aufgehalten worden
                                        Upload gemacht und nochmal mit Limit: 5000 ohne Count getestet. Weiterhin nur 502 Werte

                                        M 1 Reply Last reply
                                        0
                                        • W wolfi913

                                          @mcu
                                          ok :+1:

                                          Hattest du mal ein Upload gemacht um danach nochmal die nur limit für influx zu testen?

                                          Mach ich gleich noch, bin nur zwischendrin aufgehalten worden
                                          Upload gemacht und nochmal mit Limit: 5000 ohne Count getestet. Weiterhin nur 502 Werte

                                          M Online
                                          M Online
                                          MCU
                                          wrote on last edited by MCU
                                          #599

                                          @wolfi913 Problem erkannt. Der Adapter setzt schon selbst count auf 500
                                          https://github.com/ioBroker/ioBroker.influxdb/blob/a7214d819f29556d8f1b3e7cf5b4c1d506a1ff1f/main.js#L1978
                                          und fragt noch ab, ob options.count gesetzt wurde.
                                          https://github.com/ioBroker/ioBroker.influxdb/blob/a7214d819f29556d8f1b3e7cf5b4c1d506a1ff1f/main.js#L1995
                                          Ist es damit aber schon und somit geht er gar nicht in die entscheidende Abfrage.

                                          Issue aufgemacht:
                                          https://github.com/ioBroker/ioBroker.influxdb/issues/391

                                          NUC i7 64GB mit Proxmox ---- Jarvis Infos Aktualisierungen der Doku auf Instagram verfolgen -> mcuiobroker Instagram
                                          Wenn Euch mein Vorschlag geholfen hat, bitte rechts "^" klicken.

                                          W 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          437

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe