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.
    • P
      PatrickFro last edited by

      shelly.0.json

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

        @PatrickFro danke - werd es mal analysieren

        1 Reply Last reply Reply Quote 0
        • P
          PatrickFro last edited by

          vielen Dank, bin gespannt!

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

            @PatrickFro der fehler ist klar - daa letztlich die namen gleich sind, werden auch keine unterschiedlichen kwh gezählt - ich kuck mal, wie ich das machen kann

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

              UPDATE - vorsicht neue settings sind dazu gekommen - daher vorsicht beim zurückkopieren der settings (die html settings wurden nicht geändert, die geräte freischaltung auch nicht- die kann man kopieren)

              • shelly 2.5 integriert ( 2 mal power werte)
              • sonderfall einspeisung - einzelne devices können angegeben werden und werden seperat angezeigt (filterArrAusnahme) - zeile 46
              • scaleWebseite - ermöglicht ein skalieren der webseite (iqontrol) - vis ist nicht betroffen - zeile 48

              @PatrickFro im ersten post ist ein update

              Image 4.png

              1 Reply Last reply Reply Quote 1
              • P
                PatrickFro last edited by

                Das ging ja schnell...

                Klappt alles, vielen Dank!

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

                  Bildschirmfoto vom 2020-03-04 15-31-55.png

                  Irgendetwas stimmt nicht mehr in Bezug auf den Shelly 1PM .. der wird jetzt hochgezählt (letzte Zeile im Log) und das Script läuft in nen Error.

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

                    @harrym das device hat aber nur einen Power datenpunkt ?

                    mit zuleitung hab eich nicht getestet .- hole ich nach

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

                      @liv-in-sky jup. der hat nur einen.

                      Achja .... die Gosund SP112 werden auch nicht erkannt. Ist der Stecker mit 2 USB ports zusätzlich.

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

                        @harrym bitte export vom datenordner mit dem gosund - ich kenne die geräte ja nicht alle

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

                          @liv-in-sky sonoff.0.Gosund-SP112-1.json SP112

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

                            @harrym hast du den zuleitungs shelly nachträglich installiert und das script danach nicht neugestartet ?

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

                              @liv-in-sky nö. der war immer schon da und script wurde neu gestartet.

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

                                @harrym tu mir mal den gefallen

                                schreib mal lastID=""; in die zeile 613 und probier es nochmal

                                Image 2.png

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

                                  @liv-in-sky schaut gut aus 😉

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

                                    @harrym ok - dann der gosund

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

                                      @harrym

                                      ändere mal diese zeile - da wurde jetzt der 112 mit dazu genommen

                                      Image 3.png

                                      mit diesem wert:

                                            if (getState(id).val.includes("Gosund SP1") || getState(id).val.includes("SP11") || getState(id).val.includes("Gosund SP111") || getState(id).val.includes("Gosund SP112")) {
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @harrym last edited by liv-in-sky

                                        @harrym funktioniert aber nur, wenn im datenpunkt INFO.Module unter der sonoff instanz auch "Gosund SP112" steht

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

                                          @liv-in-sky alles klar! das ändere ich gleich ab.

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

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

                                            Gosund SP112

                                            Funktioniert !

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            914
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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