Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. TIBBER Pulse Livedaten mit NodeRed abholen

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    TIBBER Pulse Livedaten mit NodeRed abholen

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

      @thomkast Perfekt, das hat mir schon mal sehr geholfen und ich habe die ID herausbekommen

      Nun komme ich allerdings an einer anderen Stelle nicht weiter.
      In den den Eigenschaften des Nodes "ioBroker out" unter "Topic" finde ich nicht den Unterordner, den du in deinem Tutorial zeigst. Bei mir ist dort nur ein Beispielordner angelegt.
      Habe nun noch mal in die "node-red" Eigenschaften geschaut, ob dort irgendetwas offensichtliches nicht angeklickt/ausgefüllt ist - kann aber nichts entdecken. Hast du eine Idee woran es liegt?

      71fc16c7-d27d-4c8d-8265-aecb50c154e7-grafik.png

      T 1 Reply Last reply Reply Quote 0
      • T
        ThomKast @milan912 last edited by

        @michel-andré-adam Die ioBroker-out Node möchte eine Ausgabe an einen Datenpunkt im ioB durchführen. Gewünschte Datenpunkte sind natürlich anzulegen.

        Ich kann Dir gerne die Tutorials von @haus-automatisierung empfehlen.
        https://haus-automatisierung.com/nodered-tutorial-reihe/
        Matthias hat dort ein zielgerichtetes und umfangreiches Wissen veröffentlicht und die Kosten für den Masterkurs sind jeden Cent wert.

        mickym 1 Reply Last reply Reply Quote 1
        • mickym
          mickym Most Active @ThomKast last edited by

          @thomkast
          @milan912
          Man kann auch nicht erstellte Datenpunkte von der iobroker-OUT Node selbst erstellen lassen.

          Im Adapter muss man die Option Fremdobjekte anlegen erlauben

          98d3a18f-555b-4711-9a5a-dce2ac982d92-image.png

          und dann halt die Nachrichten nicht ignorieren, wenn Datenpunkt nicht existiert:

          18bad437-664a-4bcd-bf49-f53e17c06777-image.png

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

            @ThomKast: Vielen Dank für den Hinweis. Sicherlich macht es Sinn es diese Tutorials durchzuarbeiten. Allerdings habe ich nicht die Zeit um mich dort tief einzuarbeiten und dann genau zu dem spezifischen Problem eine Lösung zu finden. Dachte der Austausch hier könnte mir weiterhelfen...

            @mickym: Danke für den Tipp, ich habe es jetzt gemäß deines Vorschlags die Einstellungen vorgenommen. Leider ändert es nichts an der Problematik, dass ich eine andere Ordnerstuktur (unter "0_userdata.0") habe.

            Im Debugger sehe ich, dass die angeforderten Werte alle zyklisch kommen, die Verbindung ist ja sauber aufgesetzt.
            Jetzt benötige ich nur noch eine Werteausgabe die es mir in eine *.csv oder andere Datei schreibt, um die Werte extern auswerten und Analysen betreiben zu können. Mit dem "ioBroker out" erreiche ich das gerade nicht, auch wenn ich glaube, dass es dort irgendwo bei mir an den Einstellungen hapert.

            Wenn also noch eine Idee vorliegt, gerne um Rückmeldung. Danke!

            mickym 1 Reply Last reply Reply Quote 0
            • mickym
              mickym Most Active @milan912 last edited by

              @milan912 dann musst halt genauer werden. Stelle mal die Daten, die aus dem debug kommen hier in code Tags rein. Beschreibe wie es unter userdata aussehen soll- es gibt keinen Grund warum das nicht gehen soll. Das schreiben in csv ist auch möglich aber das würde ich zurück stellen. Zeige Screenshots und beschreibe was nicht geht. Ggf. Exportiere Teile Deines Flows.

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

                Hi @mickym , gerne hier ein paar mehr Daten.
                Mein Flow sieht der Anleitung gemäß wie folgt aus:

                43221824-efd7-4932-bf52-3cc59e5468be-grafik.png

                Im debugger kommen folgende Daten an:

                
                Node-RED
                
                    Übernahme (deploy)
                
                25.9.2023, 08:36:47node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:36:46.000+02:00", power: 41, lastMeterConsumption: 882.024, accumulatedConsumption: 0.6161, accumulatedProduction: 0 … }
                25.9.2023, 08:36:50node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:36:48.000+02:00", power: 42, lastMeterConsumption: 882.0241, accumulatedConsumption: 0.6162, accumulatedProduction: 0 … }
                25.9.2023, 08:36:53node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:36:52.000+02:00", power: 42, lastMeterConsumption: 882.0241, accumulatedConsumption: 0.6162, accumulatedProduction: 0 … }
                25.9.2023, 08:36:57node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:36:55.000+02:00", power: 42, lastMeterConsumption: 882.0241, accumulatedConsumption: 0.6162, accumulatedProduction: 0 … }
                25.9.2023, 08:36:59node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:36:58.000+02:00", power: 42, lastMeterConsumption: 882.0242, accumulatedConsumption: 0.6163, accumulatedProduction: 0 … }
                25.9.2023, 08:37:02node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:01.000+02:00", power: 43, lastMeterConsumption: 882.0242, accumulatedConsumption: 0.6163, accumulatedProduction: 0 … }
                25.9.2023, 08:37:05node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:04.000+02:00", power: 41, lastMeterConsumption: 882.0243, accumulatedConsumption: 0.6164, accumulatedProduction: 0 … }
                25.9.2023, 08:37:08node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:07.000+02:00", power: 42, lastMeterConsumption: 882.0243, accumulatedConsumption: 0.6164, accumulatedProduction: 0 … }
                25.9.2023, 08:37:12node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:10.000+02:00", power: 42, lastMeterConsumption: 882.0243, accumulatedConsumption: 0.6164, accumulatedProduction: 0 … }
                25.9.2023, 08:37:16node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:13.000+02:00", power: 42, lastMeterConsumption: 882.0244, accumulatedConsumption: 0.6165, accumulatedProduction: 0 … }
                25.9.2023, 08:37:17node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:16.000+02:00", power: 41, lastMeterConsumption: 882.0244, accumulatedConsumption: 0.6165, accumulatedProduction: 0 … }
                25.9.2023, 08:37:20node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:19.000+02:00", power: 42, lastMeterConsumption: 882.0244, accumulatedConsumption: 0.6165, accumulatedProduction: 0 … }
                25.9.2023, 08:37:24node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:22.000+02:00", power: 42, lastMeterConsumption: 882.0245, accumulatedConsumption: 0.6166, accumulatedProduction: 0 … }
                25.9.2023, 08:37:27node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:25.000+02:00", power: 42, lastMeterConsumption: 882.0245, accumulatedConsumption: 0.6166, accumulatedProduction: 0 … }
                25.9.2023, 08:37:29node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:28.000+02:00", power: 42, lastMeterConsumption: 882.0245, accumulatedConsumption: 0.6166, accumulatedProduction: 0 … }
                25.9.2023, 08:37:33node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:31.000+02:00", power: 42, lastMeterConsumption: 882.0246, accumulatedConsumption: 0.6167, accumulatedProduction: 0 … }
                25.9.2023, 08:37:36node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:34.000+02:00", power: 42, lastMeterConsumption: 882.0246, accumulatedConsumption: 0.6167, accumulatedProduction: 0 … }
                25.9.2023, 08:37:39node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:37.000+02:00", power: 42, lastMeterConsumption: 882.0246, accumulatedConsumption: 0.6167, accumulatedProduction: 0 … }
                25.9.2023, 08:37:41node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:40.000+02:00", power: 42, lastMeterConsumption: 882.0247, accumulatedConsumption: 0.6168, accumulatedProduction: 0 … }
                25.9.2023, 08:37:48node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:46.000+02:00", power: 42, lastMeterConsumption: 882.0248, accumulatedConsumption: 0.6169, accumulatedProduction: 0 … }
                25.9.2023, 08:37:51node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:49.000+02:00", power: 41, lastMeterConsumption: 882.0248, accumulatedConsumption: 0.6169, accumulatedProduction: 0 … }
                25.9.2023, 08:37:55node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:52.000+02:00", power: 42, lastMeterConsumption: 882.0248, accumulatedConsumption: 0.6169, accumulatedProduction: 0 … }
                25.9.2023, 08:38:00node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:37:58.000+02:00", power: 41, lastMeterConsumption: 882.0249, accumulatedConsumption: 0.617, accumulatedProduction: 0 … }
                25.9.2023, 08:38:03node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:01.000+02:00", power: 43, lastMeterConsumption: 882.0249, accumulatedConsumption: 0.617, accumulatedProduction: 0 … }
                25.9.2023, 08:38:06node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:04.000+02:00", power: 42, lastMeterConsumption: 882.025, accumulatedConsumption: 0.6171, accumulatedProduction: 0 … }
                25.9.2023, 08:38:12node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:10.000+02:00", power: 41, lastMeterConsumption: 882.025, accumulatedConsumption: 0.6171, accumulatedProduction: 0 … }
                25.9.2023, 08:38:18node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:16.000+02:00", power: 42, lastMeterConsumption: 882.0251, accumulatedConsumption: 0.6172, accumulatedProduction: 0 … }
                25.9.2023, 08:38:24node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:22.000+02:00", power: 41, lastMeterConsumption: 882.0252, accumulatedConsumption: 0.6173, accumulatedProduction: 0 … }
                25.9.2023, 08:38:30node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:28.000+02:00", power: 42, lastMeterConsumption: 882.0252, accumulatedConsumption: 0.6173, accumulatedProduction: 0 … }
                25.9.2023, 08:38:36node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:34.000+02:00", power: 42, lastMeterConsumption: 882.0253, accumulatedConsumption: 0.6174, accumulatedProduction: 0 … }
                25.9.2023, 08:38:42node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:40.000+02:00", power: 42, lastMeterConsumption: 882.0254, accumulatedConsumption: 0.6175, accumulatedProduction: 0 … }
                25.9.2023, 08:38:45node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:43.000+02:00", power: 42, lastMeterConsumption: 882.0254, accumulatedConsumption: 0.6175, accumulatedProduction: 0 … }
                25.9.2023, 08:38:48node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:46.000+02:00", power: 41, lastMeterConsumption: 882.0255, accumulatedConsumption: 0.6176, accumulatedProduction: 0 … }
                25.9.2023, 08:38:52node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:49.000+02:00", power: 41, lastMeterConsumption: 882.0255, accumulatedConsumption: 0.6176, accumulatedProduction: 0 … }
                25.9.2023, 08:38:54node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:52.000+02:00", power: 41, lastMeterConsumption: 882.0255, accumulatedConsumption: 0.6176, accumulatedProduction: 0 … }
                25.9.2023, 08:38:57node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:56.000+02:00", power: 41, lastMeterConsumption: 882.0256, accumulatedConsumption: 0.6177, accumulatedProduction: 0 … }
                25.9.2023, 08:39:00node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:38:58.000+02:00", power: 41, lastMeterConsumption: 882.0256, accumulatedConsumption: 0.6177, accumulatedProduction: 0 … }
                25.9.2023, 08:39:03node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:01.000+02:00", power: 42, lastMeterConsumption: 882.0256, accumulatedConsumption: 0.6177, accumulatedProduction: 0 … }
                25.9.2023, 08:39:06node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:04.000+02:00", power: 42, lastMeterConsumption: 882.0257, accumulatedConsumption: 0.6178, accumulatedProduction: 0 … }
                25.9.2023, 08:39:12node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:09.000+02:00", power: 41, lastMeterConsumption: 882.0257, accumulatedConsumption: 0.6178, accumulatedProduction: 0 … }
                25.9.2023, 08:39:14node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:12.000+02:00", power: 41, lastMeterConsumption: 882.0258, accumulatedConsumption: 0.6179, accumulatedProduction: 0 … }
                25.9.2023, 08:39:17node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:15.000+02:00", power: 42, lastMeterConsumption: 882.0258, accumulatedConsumption: 0.6179, accumulatedProduction: 0 … }
                25.9.2023, 08:39:19node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:18.000+02:00", power: 42, lastMeterConsumption: 882.0258, accumulatedConsumption: 0.6179, accumulatedProduction: 0 … }
                25.9.2023, 08:39:22node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:21.000+02:00", power: 42, lastMeterConsumption: 882.0259, accumulatedConsumption: 0.618, accumulatedProduction: 0 … }
                25.9.2023, 08:39:25node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:24.000+02:00", power: 41, lastMeterConsumption: 882.0259, accumulatedConsumption: 0.618, accumulatedProduction: 0 … }
                25.9.2023, 08:39:28node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:27.000+02:00", power: 42, lastMeterConsumption: 882.0259, accumulatedConsumption: 0.618, accumulatedProduction: 0 … }
                25.9.2023, 08:39:32node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:30.000+02:00", power: 41, lastMeterConsumption: 882.026, accumulatedConsumption: 0.6181, accumulatedProduction: 0 … }
                25.9.2023, 08:39:35node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:33.000+02:00", power: 42, lastMeterConsumption: 882.026, accumulatedConsumption: 0.6181, accumulatedProduction: 0 … }
                25.9.2023, 08:39:37node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:36.000+02:00", power: 42, lastMeterConsumption: 882.026, accumulatedConsumption: 0.6181, accumulatedProduction: 0 … }
                25.9.2023, 08:39:43node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:42.000+02:00", power: 41, lastMeterConsumption: 882.0261, accumulatedConsumption: 0.6182, accumulatedProduction: 0 … }
                25.9.2023, 08:39:47node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:45.000+02:00", power: 43, lastMeterConsumption: 882.0261, accumulatedConsumption: 0.6182, accumulatedProduction: 0 … }
                25.9.2023, 08:39:51node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:48.000+02:00", power: 41, lastMeterConsumption: 882.0262, accumulatedConsumption: 0.6183, accumulatedProduction: 0 … }
                25.9.2023, 08:39:56node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:39:54.000+02:00", power: 42, lastMeterConsumption: 882.0262, accumulatedConsumption: 0.6183, accumulatedProduction: 0 … }
                25.9.2023, 08:40:01node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:00.000+02:00", power: 42, lastMeterConsumption: 882.0263, accumulatedConsumption: 0.6184, accumulatedProduction: 0 … }
                25.9.2023, 08:40:09node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:06.000+02:00", power: 42, lastMeterConsumption: 882.0264, accumulatedConsumption: 0.6185, accumulatedProduction: 0 … }
                25.9.2023, 08:40:14node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:12.000+02:00", power: 42, lastMeterConsumption: 882.0265, accumulatedConsumption: 0.6186, accumulatedProduction: 0 … }
                25.9.2023, 08:40:20node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:18.000+02:00", power: 42, lastMeterConsumption: 882.0265, accumulatedConsumption: 0.6186, accumulatedProduction: 0 … }
                25.9.2023, 08:40:25node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:24.000+02:00", power: 42, lastMeterConsumption: 882.0266, accumulatedConsumption: 0.6187, accumulatedProduction: 0 … }
                25.9.2023, 08:40:32node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:30.000+02:00", power: 43, lastMeterConsumption: 882.0267, accumulatedConsumption: 0.6188, accumulatedProduction: 0 … }
                25.9.2023, 08:40:38node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:36.000+02:00", power: 42, lastMeterConsumption: 882.0267, accumulatedConsumption: 0.6188, accumulatedProduction: 0 … }
                25.9.2023, 08:40:44node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:42.000+02:00", power: 42, lastMeterConsumption: 882.0268, accumulatedConsumption: 0.6189, accumulatedProduction: 0 … }
                25.9.2023, 08:40:49node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:45.000+02:00", power: 42, lastMeterConsumption: 882.0269, accumulatedConsumption: 0.619, accumulatedProduction: 0 … }
                25.9.2023, 08:40:50node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:48.000+02:00", power: 42, lastMeterConsumption: 882.0269, accumulatedConsumption: 0.619, accumulatedProduction: 0 … }
                25.9.2023, 08:40:53node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:51.000+02:00", power: 42, lastMeterConsumption: 882.0269, accumulatedConsumption: 0.619, accumulatedProduction: 0 … }
                25.9.2023, 08:40:56node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:54.000+02:00", power: 42, lastMeterConsumption: 882.027, accumulatedConsumption: 0.6191, accumulatedProduction: 0 … }
                25.9.2023, 08:40:59node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:40:57.000+02:00", power: 42, lastMeterConsumption: 882.027, accumulatedConsumption: 0.6191, accumulatedProduction: 0 … }
                25.9.2023, 08:41:02node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:01.000+02:00", power: 43, lastMeterConsumption: 882.027, accumulatedConsumption: 0.6191, accumulatedProduction: 0 … }
                25.9.2023, 08:41:05node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:03.000+02:00", power: 43, lastMeterConsumption: 882.0271, accumulatedConsumption: 0.6192, accumulatedProduction: 0 … }
                25.9.2023, 08:41:08node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:06.000+02:00", power: 42, lastMeterConsumption: 882.0271, accumulatedConsumption: 0.6192, accumulatedProduction: 0 … }
                25.9.2023, 08:41:11node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:09.000+02:00", power: 43, lastMeterConsumption: 882.0272, accumulatedConsumption: 0.6193, accumulatedProduction: 0 … }
                25.9.2023, 08:41:14node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:12.000+02:00", power: 43, lastMeterConsumption: 882.0272, accumulatedConsumption: 0.6193, accumulatedProduction: 0 … }
                25.9.2023, 08:41:17node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:16.000+02:00", power: 43, lastMeterConsumption: 882.0272, accumulatedConsumption: 0.6193, accumulatedProduction: 0 … }
                25.9.2023, 08:41:20node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:19.000+02:00", power: 42, lastMeterConsumption: 882.0272, accumulatedConsumption: 0.6193, accumulatedProduction: 0 … }
                25.9.2023, 08:41:24node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:22.000+02:00", power: 42, lastMeterConsumption: 882.0273, accumulatedConsumption: 0.6194, accumulatedProduction: 0 … }
                25.9.2023, 08:41:27node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:25.000+02:00", power: 43, lastMeterConsumption: 882.0273, accumulatedConsumption: 0.6194, accumulatedProduction: 0 … }
                25.9.2023, 08:41:29node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:28.000+02:00", power: 42, lastMeterConsumption: 882.0274, accumulatedConsumption: 0.6195, accumulatedProduction: 0 … }
                25.9.2023, 08:41:32node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:31.000+02:00", power: 42, lastMeterConsumption: 882.0274, accumulatedConsumption: 0.6195, accumulatedProduction: 0 … }
                25.9.2023, 08:41:35node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:34.000+02:00", power: 42, lastMeterConsumption: 882.0274, accumulatedConsumption: 0.6195, accumulatedProduction: 0 … }
                25.9.2023, 08:41:38node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:37.000+02:00", power: 42, lastMeterConsumption: 882.0275, accumulatedConsumption: 0.6196, accumulatedProduction: 0 … }
                25.9.2023, 08:41:42node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:40.000+02:00", power: 42, lastMeterConsumption: 882.0275, accumulatedConsumption: 0.6196, accumulatedProduction: 0 … }
                25.9.2023, 08:41:46node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:43.000+02:00", power: 42, lastMeterConsumption: 882.0275, accumulatedConsumption: 0.6196, accumulatedProduction: 0 … }
                25.9.2023, 08:41:48node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:46.000+02:00", power: 43, lastMeterConsumption: 882.0276, accumulatedConsumption: 0.6197, accumulatedProduction: 0 … }
                25.9.2023, 08:41:50node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:49.000+02:00", power: 42, lastMeterConsumption: 882.0276, accumulatedConsumption: 0.6197, accumulatedProduction: 0 … }
                25.9.2023, 08:41:53node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:52.000+02:00", power: 42, lastMeterConsumption: 882.0277, accumulatedConsumption: 0.6198, accumulatedProduction: 0 … }
                25.9.2023, 08:41:57node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:55.000+02:00", power: 42, lastMeterConsumption: 882.0277, accumulatedConsumption: 0.6198, accumulatedProduction: 0 … }
                25.9.2023, 08:41:59node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:41:58.000+02:00", power: 43, lastMeterConsumption: 882.0277, accumulatedConsumption: 0.6198, accumulatedProduction: 0 … }
                25.9.2023, 08:42:03node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:01.000+02:00", power: 43, lastMeterConsumption: 882.0277, accumulatedConsumption: 0.6198, accumulatedProduction: 0 … }
                25.9.2023, 08:42:06node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:04.000+02:00", power: 43, lastMeterConsumption: 882.0278, accumulatedConsumption: 0.6199, accumulatedProduction: 0 … }
                25.9.2023, 08:42:09node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:07.000+02:00", power: 42, lastMeterConsumption: 882.0278, accumulatedConsumption: 0.6199, accumulatedProduction: 0 … }
                25.9.2023, 08:42:11node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:10.000+02:00", power: 43, lastMeterConsumption: 882.0279, accumulatedConsumption: 0.62, accumulatedProduction: 0 … }
                25.9.2023, 08:42:18node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:16.000+02:00", power: 42, lastMeterConsumption: 882.0279, accumulatedConsumption: 0.62, accumulatedProduction: 0 … }
                25.9.2023, 08:42:20node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:19.000+02:00", power: 43, lastMeterConsumption: 882.028, accumulatedConsumption: 0.6201, accumulatedProduction: 0 … }
                25.9.2023, 08:42:25node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:22.000+02:00", power: 43, lastMeterConsumption: 882.028, accumulatedConsumption: 0.6201, accumulatedProduction: 0 … }
                25.9.2023, 08:42:30node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:28.000+02:00", power: 43, lastMeterConsumption: 882.0281, accumulatedConsumption: 0.6202, accumulatedProduction: 0 … }
                25.9.2023, 08:42:33node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:31.000+02:00", power: 42, lastMeterConsumption: 882.0281, accumulatedConsumption: 0.6202, accumulatedProduction: 0 … }
                25.9.2023, 08:42:36node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:34.000+02:00", power: 42, lastMeterConsumption: 882.0282, accumulatedConsumption: 0.6203, accumulatedProduction: 0 … }
                25.9.2023, 08:42:42node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:40.000+02:00", power: 42, lastMeterConsumption: 882.0282, accumulatedConsumption: 0.6203, accumulatedProduction: 0 … }
                25.9.2023, 08:42:48node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:46.000+02:00", power: 42, lastMeterConsumption: 882.0283, accumulatedConsumption: 0.6204, accumulatedProduction: 0 … }
                25.9.2023, 08:42:54node: debug 1msg.payload : Object
                { timestamp: "2023-09-25T08:42:52.000+02:00", power: 43, lastMeterConsumption: 882.0284, accumulatedConsumption: 0.6205, accumulatedProduction: 0 … }
                
                

                Sobald ich allerdings in den Eigenschaften des "ioBroker out" unter Topic die Ordnerstruktur sehen möchte wie gaz oben gezeigt, dann sehe ich als ID nur einen "example_state"
                60e08404-6553-40e6-8d8b-7c3902b4e673-grafik.png
                4a838e8f-2aa1-466b-af5c-4a583bd35581-grafik.png

                Und dies schaut anders aus als ganz oben in dem Tutorial gezeigt (TIBBER_JSON) sehe ich nicht. Und das ist der Schritt an dem ich nicht weiterkomme.

                T mickym 2 Replies Last reply Reply Quote 0
                • T
                  ThomKast @milan912 last edited by

                  @milan912 Guten Morgen. Wie sieht das bei Euch aus... Beim imr kommen seit gestern 24.09. gegen 14:10 keine Live-Subscription-Daten mehr an. Die Verbindung zeigt time-outs. Auch mit neuem Token lässt sich keine Verbindung herstellen. Die normalen Queries funktionieren, aber die subscription nicht.

                  T 1 Reply Last reply Reply Quote 0
                  • T
                    ThomKast @ThomKast last edited by

                    @thomkast OK, meine Anfrage ist bereits erledigt. Der Pulse hatte leere Batterien...

                    1 Reply Last reply Reply Quote 0
                    • mickym
                      mickym Most Active @milan912 last edited by mickym

                      @milan912 Hier zeigen sich haufenweise Missverständnisse oder Fehler. Ich werde mal anfangen:

                      Aus der Anleitung:

                      2aca20a1-7cd1-47cb-8047-52066768224c-image.png

                      32c1621d-1c75-4341-bfe6-b1c684fa55f1-image.png

                      Du hast aber versucht in 0_userdata.0 zu schreiben - DAS GEHT NATÜRLICH NICHT.
                      Über die 3 Punkte rechts und wie es in der Beschreibung steht kannst Du nur existierende Datenpunkte auswählen bei Dir existiert er aber noch nicht.
                      Du hast auch ausser example_state gar keinen Datenpunkt angelegt - zur Verfügung.

                      0626ac74-dd34-4f2a-9c85-a77f6ef1b435-image.png

                      den hättest Du allerdings auswählen können und die Daten da rein schreiben können.

                      Der Node-Red Adapter hat aber auch einen Bug - sprich mit den 3 Punkten werden nur die Datenpunkte angezeigt, die zum Zeitpunkt des Adapterstarts existierten. Sprich, das über die Liste aktualisieren, wie in der Anleitung im 1. Post beschrieben - FUNKTIONIERT NICHT.
                      c40407dc-5731-4b4b-abb1-3936621cf6e0-image.png

                      Den Datenpunkt musst Du also VORHER entweder SELBST anlegen oder wie ich Dir unten beschrieben habe, über Fremdobjekte anlegen lassen:

                      1. Selbst angelegter Datenpunkt:

                      Du gehst in die Objektansicht im iobroker und markierst den Ordner unter dem Du einen Datenpunkt anlegen willst und drückst dann auf das Plus (+ Zeichen).

                      767f4f4e-d10c-4e12-b67d-7030df881a25-image.png

                      dann erstellst Du einen Datenpunkt zum Beispiel Tibber_JSON

                      3062bea3-4c5f-4c15-b31a-be6590a0f4f6-image.png

                      Wie gesagt in der iobroker-Out Node wird der Dir aber erst über die 3 Punkte angeboten, nachdem der Adapter neu gestartet wurde. Deswegen kopiert man das Topic direkt als Pfad aus der Objektansicht.

                      Man geht in die erste Spalte des Objektdatenpunktes und klickt auf die Schaltfläche kopieren und kopiert den Pfad in die Zwischenablage und von dort in das topic Feld der iobroker-Out Node.

                      f6bedbe9-ea78-47f8-aaf4-34129ff941b3-image.png

                      Im Übrigen siehst Du hier, dass der Datenpunkt "Manuell erzeugt" wurde. (Grün markiert)

                      48fde936-6e66-498b-9dbe-fc00f301f58f-image.png

                      1. Möglichkeit ist, dass Du wie gesagt Node-Red das selbst erstellen lässt und in der Adapterkonfiguration Fremdobjekte zulassen eingestellt hast. Alles wie ich es in https://forum.iobroker.net/post/1048767 beschrieben habe.

                      Aber auch hier musst Du natürlich SELBST den vollständigen Pfad eingeben, wo der Datenpunkt erstellt werden soll und nicht über die 3 Punkte rechts (da der Datenpunkt ja noch gar nicht existiert). Hier kannst Du auch Hierarchien mitgeben.

                      Aber auch hier MUSST DU natürlich einen richtigen Pfad mitgeben
                      f78e883d-f475-446d-ab0f-090fbf7c2d0c-image.png

                      dann siehst Du auch den vollständigen Pfad in Deiner iobroker-out Node - falls Du keinen Namen vergibst:

                      31fd01c1-89b8-475f-b0d9-604655a4ea7d-image.png

                      und im Status siehst Du das es richtig geschrieben ist.

                      Nun siehst Du dass dieser Datenpunkt von NodeRed geschrieben wurde.

                      532bbe89-9633-428f-aba5-821462684f0c-image.png

                      Für einzelne Datenpunkte langt es den Datenpunkt in der Objektansicht selbst anzulegen!!!

                      So nun wie Du in Zukunft Werte hier im Thread zur Verfügung stellst:

                      32364bbb-04ae-40bb-9425-6fbe8c8d1789-image.png

                      So ist das nicht hilfreich, da

                      1. mit den ... Punkten siehst Du, dass die Objekte nicht vollständig sind
                      2. das keine JSON Strings sind.

                      Um Daten zur Verfügung zu stellen gehst Du in das Node-Red Debug Fenster gehst mit der Maus rechts neben die Eigenschaft des Objektes oder auf das Objekt selbst und kopierst das in die Zwischenablage:

                      a801baec-9d6b-4764-9ec0-a18422eca271-image.png

                      Dann stellst Du es hier in Codetags ein:

                      {"timestamp":"2023-09-25T08:36:46.000+02:00","power":41,"lastMeterConsumption":882.024,"accumulatedConsumption":0.6161}
                      

                      Nun sind keine ... mehr da und die Eigenschaften sind auch in Anführungszeichen. So kann man mit Daten etwas anfangen.

                      Weitere Analysemöglichkeiten:

                      1. Falls Du den JSON in einzelne Datenpunkte aufgeschlüsselt haben willst, dann kannst Du meinen Subflow verwenden:
                        https://forum.iobroker.net/topic/43856/json-oder-javascript-objekt-in-iobroker-datenpunkte-zerlegen
                        oder
                      2. Du wählst einzelne Eigenschaften aus und schreibst sie dann weg (mit Change Nodes). Kann ich Dir gerne hier noch zeigen, wenn Du Deine Objekte wie eben beschrieben hier richtig zur Verfügung stellst.

                      Wenn Du dann skalare Werte hast - kannst du die über History-Adapter oder einem Datenbank Adapter in eine Datenbank schreiben und dort analysieren. Das ist der übliche Weg.

                      1. Wenn Du das ganze als CSV Datei haben willst - dann musst Du den Flow ändern und in eine Datei schreiben - dann solltest Du aber einen eigenen Thread aufmachen. Im Prinzip halt einfach eine CSV Node und eine WriteFile Node verwenden.
                      1 Reply Last reply Reply Quote 0
                      • V
                        vb24 @theGrinch last edited by vb24

                        @thegrinch @ThomKast Hallo und super Anleitung. Ich habe auch das Problem, dass der Tibber Feed irgendwann auf connecting status geht. Könnte das an der Einführung der max 100 Requests pro 5 Min liegen, zum Schutz der API? Nach Änderung des Tokens geht es wieder eine weile und bleibt dann wieder stehen.
                        Im API Explorer kommen die Daten ohne Probleme.

                        Ich habe zumindest nicht gesehen, dass ich dem API Endpoint irgendwo die Frequenz des Abrufs mitgeben kann.

                        Danke

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        520
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        live measurement node-red nodered pulse tibber websocket
                        19
                        64
                        23368
                        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