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 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
                                • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            538
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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