Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Stromverbrauch protokollieren

    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

    Stromverbrauch protokollieren

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @special_b last edited by

      @special_b sagte in Stromverbrauch protokollieren:

      Das ist doch wohl nicht normal, oder?

      doch!
      wenn man keine ID zuweist ist das so.

      S 1 Reply Last reply Reply Quote 1
      • S
        special_b @Homoran last edited by

        @homoran

        Welche ID? Wo? Im Datenpunkt? In Blockly? Wo?

        mfg

        Special_B

        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @special_b last edited by

          @special_b sagte in Stromverbrauch protokollieren:

          In Blockly

          da hast du den Baustein aktualisiere ohne Datenpunkt ID

          1 Reply Last reply Reply Quote 0
          • Codierknecht
            Codierknecht Developer Most Active @special_b last edited by

            @special_b
            Ich befürchte, da fehlt noch 'ne ganze Menge grundsätzliches Verständnis. Aber keine Sorge - das kriegen wir schon hin.

            Lösche zunächst mal den ersten „Aktualisiere“ Block.
            Der soll ja einen DP aktualisieren den es gar nicht gibt.

            S 1 Reply Last reply Reply Quote 1
            • S
              special_b @Codierknecht last edited by special_b

              @codierknecht
              Danke. Ja, da fehlt mir eine Menge grundsätzliches. Ich bin kein Programmierer und kenne mich mit dem Zeugs überhaupt nicht aus.

              Ich hab jetzt meinen ersten aktualisiere Block gelöscht, ja der hat keinen Sinn gemacht. Sehe ich jetzt auch. In einer Minute werde ich sehen ob jetzt wieder Fehler kommen.

              Edit: Sieht gut aus. Jetzt muss ich mich mit Flot vertraut machen. Oder doch was anderes? Was würdet ihr mir empfehlen?

              mfg

              Special_B

              1 Reply Last reply Reply Quote 0
              • S
                special_b last edited by

                So,

                nachdem das Skript nun schon einen ganzen Tag lief und funktioniert, habe ich nun das Skript um eine Durchschnittsberechnung erweitert. Ich habe die Auswertung einfach nur jede Stunde laufen lassen. Schaut euch einfach das Skript mal an:

                iobroker4.jpg

                Oder wie würdet ihr das machen?

                mfg

                Special_B

                1 Reply Last reply Reply Quote 0
                • S
                  special_b last edited by

                  Noch was, was mir nicht ganz so gefällt:

                  Das ist mein aktueller Stromverbrauch.
                  IOBroker5.jpg

                  Gibt es eine Möglichkeit, die markierte Linie zu entfernen solange diese Werte noch nicht vorliegen?

                  mfg

                  Special_B

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @special_b last edited by

                    @special_b sagte in Stromverbrauch protokollieren:

                    Gibt es eine Möglichkeit, die markierte Linie zu entfernen solange diese Werte noch nicht vorliegen?

                    Ja!

                    NULL Werte ignorieren

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      special_b @Homoran last edited by special_b

                      @homoran

                      Danke, aber der Strich bleibt. Er geht jetzt nur waagerecht rüber. Oder muss ich da noch wo anders als in History was machen?
                      Die Durchschnittsberechnung hat natürlich auch nicht richtig funktioniert, da hätte ich vorher schon drauf kommen müssen. Jetzt scheint es aber zu funktionieren.

                      mfg

                      Special_B

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @special_b last edited by

                        @special_b sagte in Stromverbrauch protokollieren:

                        Oder muss ich da noch wo anders als in History was machen?

                        wieso History? in flot!

                        @special_b sagte in Stromverbrauch protokollieren:

                        Die Durchschnittsberechnung hat natürlich auch nicht richtig funktioniert,

                        natürlich!
                        hat nix mit Visualisierung zu tun

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          special_b @Homoran last edited by

                          @homoran
                          🙈🙈🙈 Meinte ich doch. Da hab ich das geändert aber die Linie ist nicht weg. Na gut, damit könnte ich eventuell leben.

                          mfg

                          Special_B

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @special_b last edited by Homoran

                            @special_b was hast du denn als Aggregation?
                            hilft bei Änderung?

                            bei mir hört sie brav auf.
                            Screenshot_20230107-220115_Firefox.jpg

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              special_b @Homoran last edited by

                              @homoran
                              Nein, bei Änderung hilft auch nichts.

                              Ich habe bei Art minmax drin (auch die anderen Möglichkeiten bringen keine Änderung), Chart Typ ist Linie. Wenn ich dort Streudiagramm einstelle, sehe ich dass bis Tagesende kein Punkt kommt außer ganz am Rand. Dort ist noch ein Punkt. Dieser Punkt ist auch da, wenn ich beim Liniendiagramm die Punkte aktiviere.

                              Bei Zeit ist eingestellt: Art: relative, Ende ist Tagesende, Umfang ist 1 Tag, Autoupdate alle 5 Minuten (so wie halt die Daten aus dem Blockly Script kommen), Schritttyp ist Sekunden. Wobei Anzahl auch keine Änderung bringt weil im Feld darunter nichts eingegeben ist. Benutze X-Ticks ist auch nichts eingetragen.

                              mfg

                              Special_B

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @special_b last edited by

                                @special_b und welche Datenbank?

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  special_b @Homoran last edited by

                                  @homoran
                                  history.0

                                  mfg

                                  Special_B

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @special_b last edited by

                                    @special_b seltsam!
                                    hab ich auch fast alles.
                                    Wenn in deiner Nacherzählung kein Fehler drin, oder der Fehler nicht übersehen wurde weiß ich auch nichts mehr

                                    S 1 Reply Last reply Reply Quote 0
                                    • S
                                      special_b @Homoran last edited by

                                      @homoran
                                      Ich denke es liegt an dem Punkt am Ende des Diagramms, der immer auf Höhe des letzten Wertes liegt. Woher der allerdings kommt, ist mir ein Rätsel.

                                      Na gut, dann werde ich wohl damit leben müssen. Ist jetzt ja kein Weltuntergang.

                                      Danke.

                                      mfg

                                      Special_B

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      927
                                      Online

                                      31.9k
                                      Users

                                      80.1k
                                      Topics

                                      1.3m
                                      Posts

                                      4
                                      42
                                      4432
                                      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