Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Frage]Adapter: iobroker.statistics

    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

    [Frage]Adapter: iobroker.statistics

    This topic has been deleted. Only users with topic management privileges can see it.
    • Lenny.CB
      Lenny.CB Most Active last edited by

      ich versuche es mal mit einem separaten topic.

      Adapter liegt hier: https://github.com/GermanBluefox/ioBroker.statistics

      Bluefox hatte hier schon eine Idee zur Lösung, daran lag es aber nicht.

      hier nochmal mein Problem:

      #################

      kann es sein, dass hierfür nicht alle Datenpunkte genommen werden können?

      Ich habe das mit Geräten aus der zwave-Struktur versucht, klappt. 983_stat_1.png
      Mit Datenpunkten aus der javascript-Struktur geht´s nicht. 983_stat_2.png
      ist die ggf. zu lang?

      hier noch der DP wo die Statistik her kommt:

      {
        "from": "system.adapter.javascript.1",
        "ts": 1535704007535,
        "common": {
          "name": "Zählerstand - in kWh",
          "unit": "kWh",
          "type": "number",
          "role": "javascript",
          "def": 0,
          "min": 0,
          "custom": {
            "history.0": {
              "enabled": true,
              "changesOnly": true,
              "debounce": "1000",
              "maxLength": "960",
              "retention": "31536000",
              "changesRelogInterval": 0,
              "changesMinDelta": 0,
              "aliasId": ""
            },
            "statistics.0": {
              "enabled": true,
              "logName": "Strom Pool",
              "count": false,
              "sumCount": false,
              "timeCount": false,
              "fiveMin": false,
              "groupFactor": "",
              "impUnit": "",
              "impUnitPerImpulse": "",
              "sumIgnoreMinus": true,
              "sumDelta": true,
              "avg": true,
              "sumGroup": ""
            }
          }
        },
        "native": {},
        "acl": {
          "object": 1636,
          "owner": "system.user.admin",
          "ownerGroup": "system.group.administrator",
          "state": 1636
        },
        "_id": "javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh",
        "type": "state"
      }
      
      1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 last edited by

        Das offizielle Repo ost übrigens https://github.com/foxthefox/ioBroker.statistics … Bluefox hat da mitgemacht und das ist sein Fork ... also alles noch eher experimentell

        Was genau geht denn nicht?

        1 Reply Last reply Reply Quote 0
        • Lenny.CB
          Lenny.CB Most Active last edited by

          Die Datenpunkte die unter den javascript-Objekten liegen, werden micht berücksichtigt.

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

            heisst? Kannst Du keine EiInstellungen dafür machen? oder werden Sie nicht bearbeitet?

            Debug log?

            🙂

            1 Reply Last reply Reply Quote 0
            • Lenny.CB
              Lenny.CB Most Active last edited by

              ich kann ganz normal die Statistik aktivieren aber es werden keine Werte (15min, 1h, 1d…) gespeichert.

              das Gleich habe ich mit einem zwave-Datenpunkt gemacht, da geht es.

              hier das log:

              statistics.0	2018-09-20 13:31:22.644	debug	[STATE CHANGE] ======================= zwave.0.NODE2.METER.Energy_1 =======================
              statistics.0	2018-09-20 13:31:20.132	debug	[STATE CHANGE] stateChange => 461.935 [false]
              statistics.0	2018-09-20 13:31:20.132	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Haupt.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:30:31.023	debug	[STATE CHANGE] stateChange => 0.055 [false]
              statistics.0	2018-09-20 13:30:31.022	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Pool.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:30:29.878	debug	[STATE CHANGE] stateChange => 2968.135 [false]
              statistics.0	2018-09-20 13:30:29.878	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh =======================
              statistics.0	2018-09-20 13:30:20.073	debug	[STATE CHANGE] stateChange => 461.935 [false]
              statistics.0	2018-09-20 13:30:20.072	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Haupt.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:30:00.577	debug	[SAVE VALUES] Process temp.sumDelta.javascript.1.Verbrauch.Wasser.Zaehler_Pool.Wasser_Zaehlerstand_m³.15Min => no value found
              statistics.0	2018-09-20 13:30:00.024	debug	[SAVE VALUES] Process temp.sumDelta.zwave.0.NODE2.METER.Energy_1.15Min = 0.6099999999999994
              statistics.0	2018-09-20 13:30:00.023	debug	[SAVE VALUES] Process temp.sumDelta.javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh.15Min => no value found
              statistics.0	2018-09-20 13:30:00.023	debug	[SAVE VALUES] Process temp.sumDelta.javascript.1.Verbrauch.Gas.Zaehler_2.Gas_Zaehlerstand_m³.15Min => no value found
              statistics.0	2018-09-20 13:30:00.021	debug	[SAVE VALUES] Process temp.sumDelta.javascript.1.Verbrauch.Gas.Zaehler_1.Gas_Zaehlerstand_m³.15Min => no value found
              statistics.0	2018-09-20 13:30:00.020	debug	[5 MINUTES] evaluation
              statistics.0	2018-09-20 13:30:00.010	debug	[SAVE VALUES] Process temp.sumDelta.javascript.1.Verbrauch.Wasser.Zaehler_Haupt.Wasser_Zaehlerstand_m³.15Min => no value found
              statistics.0	2018-09-20 13:30:00.009	debug	[SAVE VALUES] saving 15Min values
              statistics.0	2018-09-20 13:29:30.686	debug	[STATE CHANGE] stateChange => 0.055 [false]
              statistics.0	2018-09-20 13:29:30.685	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Pool.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:29:29.634	debug	[STATE CHANGE] stateChange => 2968.123 [false]
              statistics.0	2018-09-20 13:29:29.633	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh =======================
              statistics.0	2018-09-20 13:29:23.707	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.year on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.700	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.quarter on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.693	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.month on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.687	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.week on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.680	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.day on 0 to 2147337.738
              statistics.0	2018-09-20 13:29:23.673	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.hour on 0 to 1.1950000000000074
              statistics.0	2018-09-20 13:29:23.667	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.15Min on 0 to 0.6099999999999994
              statistics.0	2018-09-20 13:29:23.649	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.year on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.643	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.quarter on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.636	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.month on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.629	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.week on 0 to 2293561.548
              statistics.0	2018-09-20 13:29:23.623	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.day on 0 to 2147337.738
              statistics.0	2018-09-20 13:29:23.618	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.hour on 0 to 1.1950000000000074
              statistics.0	2018-09-20 13:29:23.611	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.15Min on 0 to 0.6099999999999994
              statistics.0	2018-09-20 13:29:23.595	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.year on 0.0660000000000025 to 2293561.548
              statistics.0	2018-09-20 13:29:23.589	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.quarter on 0.0660000000000025 to 2293561.548
              statistics.0	2018-09-20 13:29:23.584	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.month on 0.0660000000000025 to 2293561.548
              statistics.0	2018-09-20 13:29:23.577	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.week on 0.0660000000000025 to 2293561.548
              statistics.0	2018-09-20 13:29:23.571	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.day on 0.0660000000000025 to 2147337.738
              statistics.0	2018-09-20 13:29:23.551	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.hour on 0.0660000000000025 to 1.1950000000000074
              statistics.0	2018-09-20 13:29:23.518	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.15Min on 0.0660000000000025 to 0.6099999999999994
              statistics.0	2018-09-20 13:29:23.511	debug	[STATE CHANGE] stateChange => 74.155 [true]
              statistics.0	2018-09-20 13:29:23.510	debug	[STATE CHANGE] ======================= zwave.0.NODE2.METER.Energy_1 =======================
              statistics.0	2018-09-20 13:29:23.408	debug	[STATE CHANGE] stateChange => 74.155 [true]
              statistics.0	2018-09-20 13:29:23.408	debug	[STATE CHANGE] ======================= zwave.0.NODE2.METER.Energy_1 =======================
              statistics.0	2018-09-20 13:29:23.365	debug	[STATE CHANGE] stateChange => 74.155 [true]
              statistics.0	2018-09-20 13:29:23.363	debug	[STATE CHANGE] ======================= zwave.0.NODE2.METER.Energy_1 =======================
              statistics.0	2018-09-20 13:29:20.012	debug	[STATE CHANGE] stateChange => 461.935 [false]
              statistics.0	2018-09-20 13:29:20.012	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Haupt.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:28:30.497	debug	[STATE CHANGE] stateChange => 0.055 [false]
              statistics.0	2018-09-20 13:28:30.496	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Pool.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:28:29.434	debug	[STATE CHANGE] stateChange => 2968.111 [false]
              statistics.0	2018-09-20 13:28:29.434	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh =======================
              statistics.0	2018-09-20 13:28:19.954	debug	[STATE CHANGE] stateChange => 461.935 [false]
              statistics.0	2018-09-20 13:28:19.953	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Haupt.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:27:30.290	debug	[STATE CHANGE] stateChange => 0.055 [false]
              statistics.0	2018-09-20 13:27:30.289	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Wasser.Zaehler_Pool.Wasser_Zaehlerstand_m³ =======================
              statistics.0	2018-09-20 13:27:29.227	debug	[STATE CHANGE] stateChange => 2968.099 [false]
              statistics.0	2018-09-20 13:27:29.226	debug	[STATE CHANGE] ======================= javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh =======================
              statistics.0	2018-09-20 13:27:23.586	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.year on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.581	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.quarter on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.577	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.month on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.572	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.week on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.568	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.day on 0 to 2147337.672
              statistics.0	2018-09-20 13:27:23.563	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.hour on 0 to 1.1290000000000049
              statistics.0	2018-09-20 13:27:23.559	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.15Min on 0 to 0.5439999999999969
              statistics.0	2018-09-20 13:27:23.546	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.year on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.541	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.quarter on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.536	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.month on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.531	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.week on 0 to 2293561.482
              statistics.0	2018-09-20 13:27:23.526	debug	[STATE CHANGE] Increase temp.sumDelta.zwave.0.NODE2.METER.Energy_1.day on 0 to 2147337.672
              statistics.0	2018-09-20 13:27:23.521	debug	[STATE CHANGE] stateChange => 74.089 [true]
              

              recht weit oben im log sind solche Einträge:

              statistics.0	2018-09-20 13:30:00.021	debug	[SAVE VALUES] Process temp.sumDelta.javascript.1.Verbrauch.Gas.Zaehler_1.Gas_Zaehlerstand_m³.15Min => no value found
              ````findet nicht, aber warum? komme da nicht drauf…
              1 Reply Last reply Reply Quote 0
              • apollon77
                apollon77 last edited by

                an der "hoch3" liegt es nicht?

                1 Reply Last reply Reply Quote 0
                • Lenny.CB
                  Lenny.CB Most Active last edited by

                  glaube nicht. habe das auch schon mit einem anderen DP aus dem JS-Baum versucht.

                  javascript.1.Verbrauch.Strom.Zaehler_Pool.Strom_Zaehlerstand_kWh
                  ````m.W. ist hier kein "verbotenes Zeichen" drin.
                  
                  ich habe jetzt mal den Adapter aus dem org. Repo installiert. Ob der richtig arbeitet, werde ich nach Mitternacht sehen.
                  
                  Bluefox hat ganz schön in seinem Fork geschraubt. Da gefällt mir das der "Stundenwerte" hat.
                  
                  Im Org.Repo finde ich gut, dass der Impulse und Betriebsstunden zählt…
                  
                  Bin gespannt auf morgen...
                  1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 last edited by

                    Die Herausforderung ist das wieder zusammenzubringen 🙂

                    1 Reply Last reply Reply Quote 0
                    • Lenny.CB
                      Lenny.CB Most Active last edited by

                      @apollon77:

                      Die Herausforderung ist das wieder zusammenzubringen 🙂 ` ja genau… 🙂 wolltest du damit eine Aufgabe übernehmen...? :lol: :lol: :lol:

                      ich mache mir grad keine Hoffnung, dass nach Mitternacht was passiert. hab grad ins log geschaut.

                      host.rockpro64	2018-09-20 14:55:24.609	error	instance system.adapter.statistics.0 terminated with code 6 (uncaught exception)
                      Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:322:16)
                      Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
                      Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                      Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
                      Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
                      Caught	2018-09-20 14:55:24.606	error	by controller[0]: at Socket. <anonymous>(/opt/iobroker/node_modules/iobroker.statistics/main.js:449:26)
                      Caught	2018-09-20 14:55:24.605	error	by controller[0]: TypeError: Cannot read property 'length' of null
                      statistics.0	2018-09-20 14:55:23.487	error	at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:322:16)
                      statistics.0	2018-09-20 14:55:23.487	error	at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                      statistics.0	2018-09-20 14:55:23.487	error	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                      statistics.0	2018-09-20 14:55:23.487	error	at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      statistics.0	2018-09-20 14:55:23.487	error	at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
                      statistics.0	2018-09-20 14:55:23.487	error	at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                      statistics.0	2018-09-20 14:55:23.487	error	at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                      statistics.0	2018-09-20 14:55:23.487	error	at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
                      statistics.0	2018-09-20 14:55:23.487	error	at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
                      statistics.0	2018-09-20 14:55:23.487	error	at Socket. <anonymous>(/opt/iobroker/node_modules/iobroker.statistics/main.js:449:26)
                      statistics.0	2018-09-20 14:55:23.487	error	TypeError: Cannot read property 'length' of null
                      statistics.0	2018-09-20 14:55:23.486	error	uncaught exception: Cannot read property 'length' of null</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
                      
                      1 Reply Last reply Reply Quote 0
                      • Lenny.CB
                        Lenny.CB Most Active last edited by

                        Moin zusammen,

                        hier meine Rückmeldung.

                        Beim Tageswechsel wurden keine Daten zur Statistik geschrieben: 983_stat_3.png
                        wird wohl mit der Fehlermeldung zu tun haben: 983_stat_4.png

                        1 Reply Last reply Reply Quote 0
                        • J
                          jeti last edited by

                          bei mir wurde zum Tageswechsel auch keine Daten geschrieben. Gibts hier schon eine Abstellmassnahme?

                          Danke und Gruß

                          1 Reply Last reply Reply Quote 0
                          • Bluefox
                            Bluefox last edited by

                            Bitte hier Issues erzeugen: https://github.com/GermanBluefox/ioBrok … ics/issues

                            Ich kann physikalisch nicht alle Posts hier im Forum lesen.

                            1 Reply Last reply Reply Quote 0
                            • F
                              foxthefox Developer last edited by

                              @apollon77:

                              Die Herausforderung ist das wieder zusammenzubringen 🙂 `
                              Hab mich auch schon mit dem Fork beschäftigt, komme aber immer noch zu Problemen überhaupt etwas aktivieren zu können.

                              Ja, das zu mergen bleibt eine Herausforderung.

                              Gesendet von iPhone mit Tapatalk

                              1 Reply Last reply Reply Quote 0
                              • Bluefox
                                Bluefox last edited by

                                es werden nur````
                                type: "number"

                                1 Reply Last reply Reply Quote 0
                                • Bluefox
                                  Bluefox last edited by

                                  @Lenny.CB:

                                  @apollon77:

                                  Die Herausforderung ist das wieder zusammenzubringen 🙂 ` ja genau… 🙂 wolltest du damit eine Aufgabe übernehmen...? :lol: :lol: :lol:

                                  ich mache mir grad keine Hoffnung, dass nach Mitternacht was passiert. hab grad ins log geschaut.

                                  host.rockpro64	2018-09-20 14:55:24.609	error	instance system.adapter.statistics.0 terminated with code 6 (uncaught exception)
                                  Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:322:16)
                                  Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                                  Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                                  Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                  Caught	2018-09-20 14:55:24.608	error	by controller[0]: at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
                                  Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                                  Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                  Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
                                  Caught	2018-09-20 14:55:24.607	error	by controller[0]: at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
                                  Caught	2018-09-20 14:55:24.606	error	by controller[0]: at Socket. <anonymous>(/opt/iobroker/node_modules/iobroker.statistics/main.js:449:26)
                                  Caught	2018-09-20 14:55:24.605	error	by controller[0]: TypeError: Cannot read property 'length' of null
                                  statistics.0	2018-09-20 14:55:23.487	error	at Manager.ondata (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:322:16)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Decoder.add (/opt/iobroker/node_modules/socket.io-parser/index.js:246:12)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Decoder.Emitter.emit (/opt/iobroker/node_modules/component-emitter/index.js:134:20)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Decoder. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Manager.ondecoded (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/manager.js:332:8)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Manager.Emitter.emit (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/component-emitter/index.js:133:20)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Manager. <anonymous>(/opt/iobroker/node_modules/component-bind/index.js:21:15)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Socket.onpacket (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:236:12)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Socket.onack (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/socket.io-client/lib/socket.js:312:9)
                                  statistics.0	2018-09-20 14:55:23.487	error	at Socket. <anonymous>(/opt/iobroker/node_modules/iobroker.statistics/main.js:449:26)
                                  statistics.0	2018-09-20 14:55:23.487	error	TypeError: Cannot read property 'length' of null
                                  statistics.0	2018-09-20 14:55:23.486	error	uncaught exception: Cannot read property 'length' of null</anonymous></anonymous></anonymous></anonymous></anonymous></anonymous>
                                  ```` `  
                                  

                                  Es gibt kein length in the line 449: https://github.com/GermanBluefox/ioBrok … in.js#L449

                                  Woher hast du den Adapter installiert?

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    foxthefox Developer last edited by

                                    erste version ist nun offiziell bei ppm eingecheckt.

                                    Der thread dazu ist dieser:

                                    viewtopic.php?f=36&t=20529

                                    habe boolean und number als javascript Objekte erfolgreich in statistics am Laufen.

                                    Gruß

                                    Klaus

                                    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

                                    966
                                    Online

                                    31.9k
                                    Users

                                    80.1k
                                    Topics

                                    1.3m
                                    Posts

                                    5
                                    16
                                    2076
                                    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