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.
    • 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
                        • liv-in-sky
                          liv-in-sky @harrym last edited by

                          @harrym ok - dann schmeiß ich das update in den ersten post - mußt du ja nicht mehr machen 🙂

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

                            @liv-in-sky wart! "getState "sonoff.0.Gosund-SP112-2.POWER" not found (3) states[id]=null" ... da wird kein Wert geschrieben. Nur bei Power1 und Power2
                            Bildschirmfoto vom 2020-03-04 16-12-39.png

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

                              @harrym

                              oh blöd - habe nur im internet geschaut und da sah ich nur einzel steckdosen unter sp112 - bei 2er dosen muss das anderss gelöst werden

                              das muss ganz anders gelöst werden - dann muss ich deinen datenpunkt doch in mein system integrieren

                              meld mich wieder

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

                                @harrym hast du mal ein bild bzw link mit bild

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

                                  @liv-in-sky gosund_sp112.jpg

                                  Ist wie die SP1 nur eben mit 2 USB Ports zusätzlich.

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

                                    @harrym was machen dann power, power1 und power2

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

                                      @harrym ok - teste mal die ver im ersten post

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

                                        @liv-in-sky gerade heimgekommen. teste ich dann und gebe Bescheid.

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

                                          Bildschirmfoto vom 2020-03-04 21-22-09.png

                                          es kommen aber noch immer warnings im log ....

                                          Bildschirmfoto vom 2020-03-04 21-21-38.png

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

                                            das komische .... beide Gosund sind mit dem gleichen Template "befeuert" ... die SP112-1 ändert den POWER wert ... die -2 nicht ..... eben NUR diesen einen. Muss ich mal genau guggen.

                                            Lass Du es jetzt mal gut sein. Ich melde mich, wenn ich was rausgefunden habe.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            567
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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