Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. Sonoff Geräte als HTML Tabelle - Vis

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Sonoff Geräte als HTML Tabelle - Vis

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

      @liv-in-sky Danke Dir 🙂 Klappt alles jetzt was ich so sehe. Und das mit den Sensordaten haben wir ja besprochen. 🙂

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

        @liv-in-sky sagte in Sonoff Geräte als HTML Tabelle - Vis - Iqontrol:

        sonoff th mit temp

        Genial! Danke 👏

        winziger Schönheitsfehler: Bei den 2 Sonoff mit Temp/Luftfeuchte-Soensor stimmt die Einheit nicht (g/m3; sollte % sein) - stört mich persönlich nicht wirklich

        31363dad-fddb-440b-b275-659225a5153b-grafik.png

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

          ..........

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

            @Latzi geändert - im ersten post

            Latzi Chaot 2 Replies Last reply Reply Quote 1
            • Latzi
              Latzi @liv-in-sky last edited by

              @liv-in-sky
              Perfekt! Ich bin begeistert und beeindruckt von deiner Geschwindigkeit 👍 🚀

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

                @liv-in-sky
                Ich war ein paar Tage nicht bei der Sache.
                Was läuft hier verkehrt:

                
                javascript.0	2020-01-30 22:28:40.025	warn	(530) at Timer.processTimers (timers.js:223:10)
                javascript.0	2020-01-30 22:28:40.025	warn	(530) at listOnTimeout (timers.js:263:5)
                javascript.0	2020-01-30 22:28:40.025	warn	(530) at tryOnTimeout (timers.js:300:5)
                javascript.0	2020-01-30 22:28:40.025	warn	(530) at ontimeout (timers.js:436:11)
                javascript.0	2020-01-30 22:28:40.024	warn	(530) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
                javascript.0	2020-01-30 22:28:40.024	warn	(530) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
                javascript.0	2020-01-30 22:28:40.024	warn	(530) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
                javascript.0	2020-01-30 22:28:40.024	warn	(530) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1319:34)
                javascript.0	2020-01-30 22:28:40.024	warn	(530) at Object.<anonymous> (script.js.Systeminfo.Tasmota2:1513:3)
                javascript.0	2020-01-30 22:28:40.024	warn	(530) at writeHTML (script.js.Systeminfo.Tasmota2:445:31)
                javascript.0	2020-01-30 22:28:40.023	warn	(530) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:846:29)
                javascript.0	2020-01-30 22:28:40.023	warn	(530) at script.js.Systeminfo.Tasmota2:460:23
                javascript.0	2020-01-30 22:28:40.022	warn	(530) getState "sonoff.0.Sender.POWER" not found (3) states[id]=null
                javascript.0	2020-01-30 22:28:32.530	warn	(530) at script.js.Systeminfo.Tasmota2:1516:3
                javascript.0	2020-01-30 22:28:32.529	warn	(530) at writeHTML (script.js.Systeminfo.Tasmota2:445:31)
                javascript.0	2020-01-30 22:28:32.529	warn	(530) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:846:29)
                javascript.0	2020-01-30 22:28:32.529	warn	(530) at script.js.Systeminfo.Tasmota2:460:23
                javascript.0	2020-01-30 22:28:32.528	warn	(530) getState "sonoff.0.Sender.POWER" not found (3) states[id]=null
                
                liv-in-sky 1 Reply Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @Chaot last edited by

                  @Chaot sieht nach fehlenden datenpunkt aus

                  probieren wir mal das:

                  • script stoppen
                  • sonoff instanzen stoppen
                  • alle sonoff dp löschen - den ganzen sonoff.x ordner oder aber mindestens sonoff.0.Sender
                  • sonoff instanz wieder starten
                  • scipt wieder starten
                  Chaot 1 Reply Last reply Reply Quote 0
                  • chucky666
                    chucky666 last edited by

                    Hallo
                    danke für das script, leider bekomme ich es nicht ans laufen

                    javascript.0	2020-01-31 04:25:07.237	error	(937) at Script.runInContext (vm.js:133:20)
                    javascript.0	2020-01-31 04:25:07.237	error	(937) at script.js.Sonoffliste:1407:2
                    javascript.0	2020-01-31 04:25:07.237	error	(937) at writeHTML (script.js.Sonoffliste:521:30)
                    javascript.0	2020-01-31 04:25:07.237	error	(937) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:771:29)
                    javascript.0	2020-01-31 04:25:07.237	error	(937) at script.js.Sonoffliste:534:67
                    javascript.0	2020-01-31 04:25:07.236	error	(937) TypeError: Cannot read property 'toString' of null
                    javascript.0	2020-01-31 04:25:07.236	error	(937) ^
                    javascript.0	2020-01-31 04:25:07.236	error	(937) val3=getState(id.replace("INFO.Module","Wifi_RSSI")).val.toString()+" %";
                    javascript.0	2020-01-31 04:25:07.236	error	(937) script.js.Sonoffliste: script.js.Sonoffliste:534
                    
                    liv-in-sky 1 Reply Last reply Reply Quote 0
                    • Chaot
                      Chaot @liv-in-sky last edited by

                      @liv-in-sky Danke für den Tip.

                      Ich habe den Fehler gefunden.
                      Das Modul "Sender" ist generic und hat gar keinen Datenpunkt Power sondern nur Power1 und Power2.
                      Ich muss mir mal überlegen wie ich das löse, da ich ja noch andere Generic habe bei denen das anders ist.

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

                        @Chaot ich habe mir schon gedacht, das generic irgendwann ärger machen wird - ich nehme das power wieder raus - bzw werde bei generic eine existiert-power abfrage reinbasteln

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

                          @chucky666 schau doch mal nach, welcher deiner sonoff's keinen "Wifi_RSSI" datenpunkt hat

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

                            @Chaot teste mal das script im ersten post - ich frage da POWER ab bevor ich es ausgebe

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

                              @liv-in-sky Jup! Schaut besser aus. Keine Fehlermeldung mehr.

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

                                @liv-in-sky
                                Ähem, ich will jetzt nicht nörgeln, aber macht es viel Arbeit die tollen Zeilenfarben auch hier umzusetzen wie du das in der Tabelle für Batteriezustaände gemacht hast.

                                Übrigens: Saugeile Sache was duhier machst! Ganz herzlichen Dank dafür!

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

                                  @Chaot bin gerade dabei meine templates alle umzustellen - dauert ein wenig - werde es aber dann aber auch da rein tun

                                  bei 8 spalten verliert man leicht den überblick, wie das html aufzubauen ist 😞

                                  1 Reply Last reply Reply Quote 1
                                  • M
                                    MyMeyer last edited by

                                    Hallo, ich habe gerade das Problem das ein Sonoff gefunden wird und einer nicht, obwohl alle im Netz sind sich auch schalten lassen. Und auch unter Objekte ist alles normal.

                                    72e90595-8f64-4f2c-8615-f42a5013a2fb-image.png

                                    8a17e72e-ca7c-4f7f-8242-55e83dd1c32a-image.png

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

                                      @MyMeyer rot wird er , wenn das auf false steht

                                      Image 5.png

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

                                        Er steht ja auf True !

                                        fb6520e6-67d9-49bb-90a8-5717e3a8a860-image.png

                                        crunchip 1 Reply Last reply Reply Quote 0
                                        • M
                                          MyMeyer last edited by

                                          Läuft jetzt...habe mal alle Objekte gelöscht und neue eingelesen. Jetzt sind ist alles da.
                                          Danke.

                                          1 Reply Last reply Reply Quote 1
                                          • crunchip
                                            crunchip Forum Testing Most Active @MyMeyer last edited by

                                            @MyMeyer achte mal auf die IP!
                                            dein .92 steht auf true, im script hast du .25

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            807
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript monitoring template
                                            33
                                            629
                                            102635
                                            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