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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    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 Hat sich erledigt. Ich hatte das Flag nicht auf true gesetzt. 🙂

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

        @liv-in-sky vielen Dank!!!

        f9278484-ea57-43f8-9fa4-f5002d80344b-grafik.png

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

          @liv-in-sky

          wenn ich den Parameter [var ohneInfo=true;] sezte, bekomme ich folgende Fehlermeldungen (bei false läuft´s ohne Meldungen):
          70500280-f114-4688-893d-6aa31911973f-grafik.png
          Woher kommt das [sonoff.0.iobroker]?
          Irgendwas mache ich da falsch?????

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

            @Latzi das sieht aus, als ob es einen datenpunkt sonoff.0.iobroker gibt - ist dem so ? - das script bekommt vom selektor diesen datenpunkt angezeigt -

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

              @Latzi das script durchsucht erst alles im sonoff verzeichnis, das einen info ordner hat und speichert das

              anschliessend durchsucht es den ganzen sonoffordner nochmal und wenn es einen datenpunkt findet der nicht in iden daten der ersten schleife gefunden wird, wird dieseer ausgegeben und dann wird darauf zugegriffen - und bei diesem zugriff wird wohl der fehler sein

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

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

                @liv-in-sky vielen Dank!!!

                f9278484-ea57-43f8-9fa4-f5002d80344b-grafik.png

                im ersten post ist mit th10

                es gibt beim setting einen extrapunktfür die temperatur, wenn der DS18B20 aktiv ist - bitte testen und feedback

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

                  @liv-in-sky super, vielen Dank! Schaut schon mal gut aus 👍

                  54ba06e0-496d-4581-b155-3fad9387c39b-grafik.png

                  Temperatur wird leider noch nicht angezeigt, bitte kannst du dem nachgehen?
                  Eine Bitte hab ich noch, neben dem Temperaturdatenpunkt DS18B20_Temperature hab ich auch noch SI7021_Temperature, geht der auch noch mit?

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

                    @Latzi hast du das setting für die temp aktiviert ?

                    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:

                      als ob es einen datenpunkt sonoff.0.iobroker gibt - ist dem so ?

                      Danke für die Rückmeldung!

                      😲 Tatsächlich, ich hab keine Ahnung woher der kommt, traue mir den aber nicht zu löschen - ich setze den Parameter einfach auf false und belasse es dabei!

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

                        @Latzi
                        am besten stoppe die sonoff-instanz
                        lösche alle datenpunkte dieser instanz (papierkorb auf der rechtenseite vom ganzen sonoff.x ordner
                        instanz wieder starten

                        ist absolut kein problem, da der adapter alles wieder anlegt

                        du kanns auch stoppen und nur den ordner sonoff.0.iobroker löschen und dann wieder starten - mal sehen, ob er wieder kommt

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

                          @Latzi ist blöd gelaufen - hatte ich drin ist aber irgendwie nicht gesichert worden - werde es nochmal reinschreiben - es gibt so tage ....

                          wegen dem anderen temperatur fühler - wenn die datenpunkte dadurch anders heißen - macht es das komplizierter

                          also sonoff th 10 kann verschidene temp fühler anhängen und erzeugt dadurch verschieden datenpunkte - - zeig doch mal die verschieden th10 mit verschiedenen fühlern als bild - alles aufgekplappt

                          Latzi 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:

                            blöd gelaufen - hatte ich drin ist aber irgendwie nicht gesichert worden - werde es nochmal reinschreiben - es gibt so tage

                            soll Schlimmeres passieren ... 😏

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

                            zeig doch mal die verschieden th10 mit verschiedenen fühlern als bild - alles aufgekplappt

                            bitte sehr:
                            PS: Die Luftfeuchtigkeit ist dazugekommen (hier nicht nötig), sonst sind die DP gleich

                            73f78241-a463-4596-b44b-82129652ef35-grafik.png

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

                              @Latzi ne - die datenpunkte sind nicht gleich

                              der temperaturdatenpunkt heißt anders - abhängig vom sensor dauert ein wenig, bis das klappt

                              Latzi 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:

                                du kanns auch stoppen und nur den ordner sonoff.0.iobroker löschen und dann wieder starten - mal sehen, ob er wieder kommt

                                schwups und weg war er (war ein MQTT Fragment)!!!
                                Vielen Dank

                                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:

                                  der temperaturdatenpunkt heißt anders

                                  klar, mach dir keinen Stress - so nebenbei: WELTKLASSE SUPPORT von dir 👍 👍 👍

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    SchindlerErich last edited by

                                    @liv-in-sky

                                    Hallo,

                                    danke für das Super-Skript. Klappt auch alles. Nur taucht bei mir kein "Sonoff TH" auf. Kannst Du mal schauen, ob er noch nicht unterstützt wird.

                                    Hab gesehen, dass du immer die JSON brauchst.

                                    sonoff.0.Sonoff_Klima.json

                                    Danke

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

                                      @SchindlerErich doch ist eigentlich drin - neustes script installiert

                                      steht als INFO.Module Sonoff TH drin ? mein test

                                      Image 5.png

                                      du solltest die variable var mitTemp18B20=false; auf false lassen - ich bin noch nicht dazugekommen, die temp zu integrieren

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

                                        @liv-in-sky
                                        Hallo, sorry, war doch nicht das aktuelle Skript.
                                        Jetzt hat es geklappt. Siehe Bild. Danke !!
                                        Tabelle Sonoff.jpg

                                        1 Reply Last reply Reply Quote 0
                                        • Meister Mopper
                                          Meister Mopper last edited by

                                          @liv-in-sky Moin,

                                          bei mir läuft das aktuelle Skript nicht mehr. Ich bekomme dieses im log:

                                          javascript.0	2020-01-26 10:03:00.155	error	(26285) at tryOnTimeout (timers.js:300:5)
                                          javascript.0	2020-01-26 10:03:00.154	error	(26285) at ontimeout (timers.js:436:11)
                                          javascript.0	2020-01-26 10:03:00.154	error	(26285) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
                                          javascript.0	2020-01-26 10:03:00.153	error	(26285) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
                                          javascript.0	2020-01-26 10:03:00.153	error	(26285) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
                                          javascript.0	2020-01-26 10:03:00.152	error	(26285) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1319:34)
                                          javascript.0	2020-01-26 10:03:00.151	error	(26285) at Object.<anonymous> (script.js.java.sonstige.Sonoff_Tabelle_neueste:2863:2)
                                          javascript.0	2020-01-26 10:03:00.151	error	(26285) at writeHTML (script.js.java.sonstige.Sonoff_Tabelle_neueste:2037:30)
                                          javascript.0	2020-01-26 10:03:00.151	error	(26285) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:846:29)
                                          javascript.0	2020-01-26 10:03:00.149	error	(26285) at script.js.java.sonstige.Sonoff_Tabelle_neueste:2061:60
                                          javascript.0	2020-01-26 10:03:00.149	error	(26285) Error in callback: TypeError: Cannot read property 'replace' of null
                                          javascript.0	2020-01-26 10:03:00.147	warn	(26285) at Timer.processTimers (timers.js:223:10)
                                          javascript.0	2020-01-26 10:03:00.147	warn	(26285) at listOnTimeout (timers.js:263:5)
                                          javascript.0	2020-01-26 10:03:00.146	warn	(26285) at tryOnTimeout (timers.js:300:5)
                                          javascript.0	2020-01-26 10:03:00.146	warn	(26285) at ontimeout (timers.js:436:11)
                                          javascript.0	2020-01-26 10:03:00.146	warn	(26285) at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:501:7)
                                          javascript.0	2020-01-26 10:03:00.145	warn	(26285) at /opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:543:11
                                          javascript.0	2020-01-26 10:03:00.145	warn	(26285) at Job.invoke (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-schedule/lib/schedule.js:173:10)
                                          javascript.0	2020-01-26 10:03:00.145	warn	(26285) at Job.nodeSchedule.scheduleJob [as job] (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1319:34)
                                          javascript.0	2020-01-26 10:03:00.144	warn	(26285) at Object.<anonymous> (script.js.java.sonstige.Sonoff_Tabelle_neueste:2863:2)
                                          javascript.0	2020-01-26 10:03:00.144	warn	(26285) at writeHTML (script.js.java.sonstige.Sonoff_Tabelle_neueste:2037:30)
                                          javascript.0	2020-01-26 10:03:00.144	warn	(26285) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:846:29)
                                          javascript.0	2020-01-26 10:03:00.144	warn	(26285) at script.js.java.sonstige.Sonoff_Tabelle_neueste:2061:16
                                          javascript.0	2020-01-26 10:03:00.142	warn	(26285) getState "sonoff.0.Weihnachtsbaum.INFO.Version" not found (3)
                                          javascript.0	2020-01-26 10:02:46.814	error	(26285) at Script.runInContext (vm.js:133:20)
                                          javascript.0	2020-01-26 10:02:46.814	error	(26285) at script.js.java.sonstige.Sonoff_Tabelle_neueste:2869:2
                                          javascript.0	2020-01-26 10:02:46.814	error	(26285) at writeHTML (script.js.java.sonstige.Sonoff_Tabelle_neueste:2037:30)
                                          javascript.0	2020-01-26 10:02:46.813	error	(26285) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:846:29)
                                          javascript.0	2020-01-26 10:02:46.813	error	(26285) at script.js.java.sonstige.Sonoff_Tabelle_neueste:2061:60
                                          javascript.0	2020-01-26 10:02:46.813	error	(26285) TypeError: Cannot read property 'replace' of null
                                          javascript.0	2020-01-26 10:02:46.813	error	(26285) ^
                                          javascript.0	2020-01-26 10:02:46.813	error	(26285) val2=getState(id.replace("Module","Version")).val.replace(/\(.+\)/g,"") //sonoff.0.SonoffPow1.Wifi_RSSIsonoff.0.SonoffPow1.POWER
                                          javascript.0	2020-01-26 10:02:46.813	error	(26285) script.js.java.sonstige.Sonoff_Tabelle_neueste: script.js.java.sonstige.Sonoff_Tabelle_neueste:2061
                                          javascript.0	2020-01-26 10:02:46.812	warn	(26285) at script.js.java.sonstige.Sonoff_Tabelle_neueste:2869:2
                                          javascript.0	2020-01-26 10:02:46.812	warn	(26285) at writeHTML (script.js.java.sonstige.Sonoff_Tabelle_neueste:2037:30)
                                          javascript.0	2020-01-26 10:02:46.811	warn	(26285) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:846:29)
                                          javascript.0	2020-01-26 10:02:46.811	warn	(26285) at script.js.java.sonstige.Sonoff_Tabelle_neueste:2061:16
                                          javascript.0	2020-01-26 10:02:46.810	warn	(26285) getState "sonoff.0.Weihnachtsbaum.INFO.Version" not found (3)
                                          javascript.0	2020-01-26 10:02:46.759	info	(26285) Start javascript script.js.java.sonstige.Sonoff_Tabelle_neueste
                                          
                                          liv-in-sky 2 Replies Last reply Reply Quote 0
                                          • liv-in-sky
                                            liv-in-sky @Meister Mopper last edited by

                                            @Meister-Mopper zeig mal ein bild - alles aufgeklappt - mit rechter werte seite- vom weihnachtsbaum sonoff - gibt es den ?

                                            hast du evtl beim kopieren etwas ersetzt - die zeileangaben sind so hoch, dass es meist daran liegt

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            940
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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