Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Energieanzeige (kWh) über HTML Tabelle - vis

    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

    Energieanzeige (kWh) über HTML Tabelle - vis

    This topic has been deleted. Only users with topic management privileges can see it.
    • liv-in-sky
      liv-in-sky @klaus88 last edited by

      @klaus88 wenn es funktioniert ist gut aber Sinn ergibt das nicht
      writehtml wird jede Minute ausgeführt, x ein weiteres ausführen erzeugt eine falsche Berechnung

      Welche Version steht in der ersten Zeile

      1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @klaus88 last edited by

        @klaus88

        lief das schon mal oder ist das eine erstinstallation ?

        K 1 Reply Last reply Reply Quote 0
        • K
          klaus88 @liv-in-sky last edited by

          @liv-in-sky
          //@liv-in-sky Januar 2021 Ver. 22.01.-10:00
          es ist eine Erstinstallation

          liv-in-sky 1 Reply Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @klaus88 last edited by

            @klaus88 wieviele zeilen hat das script ?

            K 1 Reply Last reply Reply Quote 0
            • K
              klaus88 @liv-in-sky last edited by

              @liv-in-sky :
              Ich habe es am Wochenende in Betrieb gesetzt und direkt den Link des ersten Posts von dir genommen und dieses File verwendet:
              https://github.com/liv-in-sky/iobroker-energy-script

              liv-in-sky 1 Reply Last reply Reply Quote 0
              • liv-in-sky
                liv-in-sky @klaus88 last edited by

                @klaus88 es gibt einen grund warum ich das frage - wieviel zeilen hat das script - 1691 oder viel mehr ?

                K 1 Reply Last reply Reply Quote 0
                • K
                  klaus88 @liv-in-sky last edited by

                  @liv-in-sky Sorry - 1691

                  liv-in-sky 1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @klaus88 last edited by

                    @klaus88 ist mir schleierhaft - habe das script von git bei mir nochmal reinkopiertu und gestartet - dann die tagänderung auf 9:10 gestellt - anstatt 0:00

                    eine minue später waren die now werte auf 0 und es begann wieder zu zählen

                    wenn es mit deinen änderungen geht - ist dann ok - die doppelte berechnung dieser minute um mitternacht erzeugt einen zu vernachlässigen wert

                    kannst du das auch mal testen

                    K 1 Reply Last reply Reply Quote 0
                    • K
                      klaus88 @liv-in-sky last edited by klaus88

                      @liv-in-sky Erstmal ganz großes Danke für deine Hilfe! Ich habe jetzt alles nochmals gelöscht und alles von neu installiert und gestartet - muss noch testen!

                      Update: Hab den "Fehler" gefunden: Warum auch immer (d.h. ich hab's noch nicht gefunden!) wird mein Javascript - Adapter genau um 0 Uhr neu gestartet und daher konnte der Tagwechsel nicht durchgeführt werden. Habe jetzt diesen Wechsel von 0 Uhr auf 23:58 Uhr verlegt und seit dem funktioniert es. Danke vielmals für deine Hilfe!

                      1 Reply Last reply Reply Quote 0
                      • M
                        mobilee last edited by

                        Hallo könntest du den Gosund SP211 noch mit einbinden in die Tabelle?

                        liv-in-sky 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @mobilee last edited by liv-in-sky

                          @mobilee

                          du kannst das hier einfügen (roter pfeil), wenn dein script das enthält(grüner pfeil)

                          Image 6.png

                          Image 5.png

                          || getState(id).val.includes("SP211")
                          
                          1 Reply Last reply Reply Quote 0
                          • M
                            mobilee last edited by

                            Super, vielen Dank für deine Hilfe, hat auf Anhieb geklappt.

                            1 Reply Last reply Reply Quote 0
                            • I
                              Idefix01 @liv-in-sky last edited by

                              @liv-in-sky

                              Hallöchen, ich finde leider meinen Thread nicht mehr bezüglich der Anfrage wie ich die Werte auf 2 Stellen nach dem Komma runden kann.
                              Bezieht sich auf die kWh von Heute, Monat und Vormonat.

                              liv-in-sky 1 Reply Last reply Reply Quote 0
                              • liv-in-sky
                                liv-in-sky @Idefix01 last edited by

                                @idefix01

                                das ist im script nicht integriert

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

                                  Hi,

                                  gibt's sowas auch für Meross?

                                  VG

                                  liv-in-sky 1 Reply Last reply Reply Quote 0
                                  • liv-in-sky
                                    liv-in-sky @Olli_M last edited by liv-in-sky

                                    @olli_m

                                    Habe schon länger nicht mehr mit diesem Script gearbeitet
                                    Aber soweit ich im ersten Post sehe. Ist meross integriert

                                    du kannst im setting meross aktivieren

                                    Olli_M 1 Reply Last reply Reply Quote 0
                                    • Olli_M
                                      Olli_M @liv-in-sky last edited by Olli_M

                                      @liv-in-sky

                                      japp aber der virtualpower adapter geht ja aktuell nicht 😞

                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Olli_M last edited by

                                        @olli_m

                                        ne - im neuen admin 5 nicht - der adapter läuft, kann aber nicht administriert werden

                                        dann musst du dir eine neue instanz vom admin machen, einen neuen,unbenutzten port eintragen und auf gui 4 aktivieren - dort kann man noch damit arbeiten

                                        Image 4.png

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

                                          @liv-in-sky

                                          ah cool danke für den Tip 🙂

                                          hoffe trotzdem dass es irgendwann im admin 5 geht 🙂

                                          1 Reply Last reply Reply Quote 0
                                          • Olli_M
                                            Olli_M @liv-in-sky last edited by

                                            @liv-in-sky

                                            jetzt hab ich das gemacht und komme mit dem neuen Port rein und der neuen admin Instanz aber jetzt geht der alte nicht mehr..

                                            hab ja sonst nichts geändert 😞

                                            liv-in-sky 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            726
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript template
                                            37
                                            696
                                            130074
                                            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