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.
    • ?
      A Former User @sigi234 last edited by

      @sigi234

      Sehr. Hier mein Einstellungen. Ich habe für jeden meiner Gerätegruppe auch den SourceAnalytix aktiviert, um so an die Monatssumme zu kommen

      Bildschirmfoto 2020-01-24 um 14.41.16.JPG

      24.1.2020, 14:40:20.320	[info ]: javascript.0 (4044) Stop script script.js.Stromgeräte_Tabelle
      24.1.2020, 14:40:20.347	[info ]: javascript.0 (4044) Start javascript script.js.Stromgeräte_Tabelle
      24.1.2020, 14:40:20.388	[warn ]: javascript.0 (4044)     at writeHTML (script.js.Stromgeräte_Tabelle:302:17)
      24.1.2020, 14:40:20.388	[warn ]: javascript.0 (4044)     at script.js.Stromgeräte_Tabelle:1343:2
      24.1.2020, 14:40:20.390	[error]: javascript.0 (4044) script.js.Stromgeräte_Tabelle: script.js.Stromgeräte_Tabelle:302
      24.1.2020, 14:40:20.391	[error]: javascript.0 (4044)     at writeHTML (script.js.Stromgeräte_Tabelle:302:148)
      24.1.2020, 14:40:20.391	[error]: javascript.0 (4044)     at script.js.Stromgeräte_Tabelle:1343:2
      24.1.2020, 14:40:40.504	[info ]: javascript.0 (4044) Stop script script.js.Stromgeräte_Tabelle
      
      liv-in-sky 1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @sigi234 last edited by liv-in-sky

        @sigi234 sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

        existiert dieser datenpunkt

        sourceanalytix.0.virtualpowermeter__0__group_script__Virtual_Energy_Total_group_script.consumption.01_current_day
        
        sigi234 1 Reply Last reply Reply Quote 0
        • liv-in-sky
          liv-in-sky @Guest last edited by

          @HeinrichB an dich die selbe frage wie an sigi

          im post darüber

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @liv-in-sky last edited by

            @liv-in-sky

            So nicht, das steht bei mir

            Bildschirmfoto 2020-01-24 um 14.50.37.JPG

            liv-in-sky 1 Reply Last reply Reply Quote 0
            • sigi234
              sigi234 Forum Testing Most Active @liv-in-sky last edited by sigi234

              @liv-in-sky sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

              @sigi234 sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

              existiert dieser datenpunkt

              sourceanalytix.0.virtualpowermeter__0__group_script__Virtual_Energy_Total_group_script.consumption.01_current_day
              

              Screenshot (1464).png

              Screenshot (1467).png

              Skript wird kurz Grün und dann Gelb (pause)

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

                @HeinrichB du musst die anleitung genau befolgen - sonst geht das nicht

                https://forum.iobroker.net/post/363097

                wichtig : alle, die in eine gesamtpaket von virtualPowerm. sollen, müssen in der gruppe "script" sein

                Image 6.png

                in source analytics sieht es dann bei mir so aus
                Image 5.png

                ? 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @liv-in-sky last edited by

                  @liv-in-sky Das hatte ich doch schon für das alte Skript gemacht. Aber ich schau nochmals drüber.

                  Ich habe auch nur ein Gerät drin. Siehe Screen. Aber ich werde mal eine Pause jetzt machen; ich habe das Gefühl, dass es mich grade überfordert, was wo genau und dann wird woanders. Ich muss einen Schritt zurück machen.

                  Bildschirmfoto 2020-01-24 um 15.02.29.JPG

                  Bildschirmfoto 2020-01-24 um 15.01.30.JPG

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

                    @sigi234 da fehlt das setting für sourceA. - grüner pfeil

                    Image 6.png

                    sigi234 1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @liv-in-sky last edited by

                      @liv-in-sky

                      Bildschirmfoto 2020-01-24 um 15.06.26.JPG

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

                        @HeinrichB ist kein thema - find ich auch sehr kompliziert

                        die pause war nicht sehr lang - schnell wieder gesammelt 🙂

                        1 Reply Last reply Reply Quote 0
                        • sigi234
                          sigi234 Forum Testing Most Active @liv-in-sky last edited by sigi234

                          @liv-in-sky sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

                          @sigi234 da fehlt das setting für sourceA. - grüner pfeil

                          Image 6.png

                          MINUS bei Gesamt ?

                          Screenshot (1471).png

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

                            @HeinrichB

                            hier der sonoff pow - nur sourceanaly. - hat ja nix mit virtualPower. zu tun

                            die sourcea einstellung - auf power

                            Image 7.png

                            erzeugt in sourceanly.

                            Image 8.png

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

                              @sigi234 passt oder? schalte mal das gesamt ein, ob das auch funktioniert

                              Image 9.png

                              sigi234 1 Reply Last reply Reply Quote 0
                              • sigi234
                                sigi234 Forum Testing Most Active @liv-in-sky last edited by

                                @liv-in-sky

                                Erledigt, leider ein Minus bei Gesamt.

                                liv-in-sky 1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User @liv-in-sky last edited by

                                  @liv-in-sky Sei mir nicht böse, aber ich komme da nicht mehr weiter. Ich bin einfach am anklicken und aktivieren ohne Verstand und erzeuge DP, wo ich nicht mehr weiss, wo sie herkommen und ob durch die Kreuzverbindungen alles am Ende noch stimmt. Ich gehe auf die "alte" von oben, die mir sehr gut gefallen hat und machte, was ich brauchte. Sobald ich nicht mehr weiss, was ich tue, habe ich ein ungutes Gefühl

                                  Habs mit dem POW "Fernsehbereich" noch gemacht, wie du sagtest, und das Ergebnis siehst du unten

                                  Bildschirmfoto 2020-01-24 um 15.21.10.JPG

                                  Als Hinweis: Schau dir mal noch die Virtual an. Da addiert er möglicherweise nicht richtig

                                  Bildschirmfoto 2020-01-24 um 15.20.14.JPG

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

                                    @sigi234 bitte zeigen

                                    das bedeutet, das bei einem deiner geräte tuya, homematic oder hs der wurm drin ist - beziehungsweise im script - vielleicht problem zwischen string und number datenpunkten - da muss ich prüfen

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @liv-in-sky last edited by

                                      @liv-in-sky sagte in Energieanzeige (kWh) über HTML Tabelle - vis:

                                      @sigi234 bitte zeigen

                                      das bedeutet, das bei einem deiner geräte tuya, homematic oder hs der wurm drin ist - beziehungsweise im script - vielleicht problem zwischen string und number datenpunkten - da muss ich prüfen

                                      Screenshot (1474).png

                                      liv-in-sky 2 Replies Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @Guest last edited by

                                        @HeinrichB der addiert schon richtig - gesamt virtualPower soll ja nicht zweimal addiert werden - es ist ja die summe der geräte darüber

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

                                          @sigi234 kenn ich - dann macht das script alles richtig - das ist eine einstellungssache von sourceAnaly - kommt ein negativer wert, dann subtrahiert das script - ich weiß leider zu wenig über sourceAn. - die lösung liegt dort

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

                                            @sigi234 irgendwo in sourceA muss man das auf null setzten können - damit er richtig anfängt

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            947
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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