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 goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Sonoff Geräte als HTML Tabelle - Vis

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

      @liv-in-sky

      teste doch mal das script im ersten post (mit 8 spalten) - im script mußt du auch delock auf true setzen.

      L 1 Reply Last reply Reply Quote 0
      • L
        luft-post @liv-in-sky last edited by

        @liv-in-sky Vielen Dank, werde ich testen und berichten 🙂

        L 1 Reply Last reply Reply Quote 0
        • L
          luft-post @luft-post last edited by

          @luft-post Funktioniert, vielen Dank 🙂

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

            @liv-in-sky Hallo, bräuchte mal deine Hilfe bei Gosund SP111 v1.1.
            Bekomme sie einfach nicht angezeigt. Script aus dem ersten Post. Sonoff und Script angehalten, Sonoff.0 Ordner gelöscht, neu eingelesen, Script neu gestartet, ohne Erfolg. Danke
            sonoff.0.Gosund1.json

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

              @dischro

              was steht den in INFO.Module genau drin - bitte mit bild

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

                @dischro sind die mit energie anzeige ?

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

                  @liv-in-sky gosund.png

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

                    @dischro ja sind mit Energieanzeige

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

                      @dischro

                      kann nicht funktionieren daher

                      füge folgendes in zeile 282 ein:

                      getState(id).val.includes("SP111 v1.1") ||
                      

                      Image 6.png

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

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

                        getState(id).val.includes("SP111 v1.1") ||

                        Herzlichen Dank

                        Stephan Schleich 1 Reply Last reply Reply Quote 0
                        • Stephan Schleich
                          Stephan Schleich @Dischro last edited by Stephan Schleich

                          @liv-in-sky Könnte man das Script auf die neue optimale Sonoff Baumstruktur anpassen?
                          https://user-images.githubusercontent.com/1856906/105459690-f88a7d80-5c8a-11eb-8196-e226f1a59174.png

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

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

                            @liv-in-sky Könnte man das Script auf die neue optimale Sonoff Baumstruktur anpassen?
                            https://user-images.githubusercontent.com/1856906/105459690-f88a7d80-5c8a-11eb-8196-e226f1a59174.png

                            was ist die neue optimale baumstruktur - wo gibt es da infos drüber ?

                            das ist speziell die bridge - zigbee bridge ?

                            gilt das auch für z.b. sonoff basics? bekommen die auch eine neue struktur ?

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

                              @liv-in-sky Noch gibt keine wirklichen Infos, ist erst seit 2 Tagen auf Github, wenn man den Objektbaum anhakt werden einige States in Unterordner gepackt (siehe Bild oben) falls du genauere Infos brauchst einfach bescheid sagen 🙂

                              Edit: gilt dann für alle Devices

                              Normale Geräte
                              1d0b8521-b5f7-4359-a56d-829d90987566-image.png

                              Zigbee Brdige:
                              bfd4b614-16ed-4e41-bb9c-042e1833372a-image.png

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

                                @stephan-schleich

                                wenn das für alle gilt, ist die änderung enorm - jede device art wird individuell ausgelesen - muss dann für alle typen gemacht werden

                                im moment sehe ich darin keinen vorteil - aber das kann ja noch kommen - kann ich auf jeden fall nicht nebenbei machen

                                ein anydesk session wäre cool - dann sehe das ganze mal

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

                                  @liv-in-sky War nur als Infos - Nutzt ja auch noch fast keiner 🙂
                                  Anydesk geht jederzeit, einfach bescheid sagen wenn du's ansehen magst

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

                                    @stephan-schleich jetzt? meine nummer ist ja noch im chat

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

                                      @liv-in-sky Script hatte bisher funktioniert. Dann habe ich paar sonoffs umbenannt. Irgendwo im "Speicher" (?) sitzen wohl noch störende Irformationen fest?
                                      Inzwischen habe ich die beiden Datenpunkte gelöscht und neu angelegt, weil ich dachte, dass es da herkommt.
                                      f1296435-00e1-4bca-a9d5-2381c1314326-image.png
                                      Ist es ein Problem, dass er den "sonoff.0.SHP5-WaschMa.alive" nicht mehr findet? Den gibt es auch nicht mehr, denn er wurde umbenannt. Aber warum sucht er den überhaupt?

                                      javascript.0	2021-03-10 11:28:00.046	error	(21611) at processTimers (internal/timers.js:497:7)
                                      javascript.0	2021-03-10 11:28:00.046	error	(21611) at listOnTimeout (internal/timers.js:554:17)
                                      javascript.0	2021-03-10 11:28:00.045	error	(21611) at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:510:7)
                                      javascript.0	2021-03-10 11:28:00.045	error	(21611) at /opt/iobroker/node_modules/node-schedule/lib/schedule.js:552:11
                                      javascript.0	2021-03-10 11:28:00.045	error	(21611) at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:173:10)
                                      javascript.0	2021-03-10 11:28:00.044	error	(21611) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1296:34)
                                      javascript.0	2021-03-10 11:28:00.044	error	(21611) at Object.<anonymous> (script.js.common.Tabellen.Sonoffs:1412:2)
                                      javascript.0	2021-03-10 11:28:00.044	error	(21611) at writeHTML (script.js.common.Tabellen.Sonoffs:458:30)
                                      javascript.0	2021-03-10 11:28:00.043	error	(21611) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:800:29)
                                      javascript.0	2021-03-10 11:28:00.043	error	(21611) at script.js.common.Tabellen.Sonoffs:468:55
                                      javascript.0	2021-03-10 11:28:00.042	error	(21611) Error in callback: TypeError: Cannot read property 'common' of null
                                      javascript.0	2021-03-10 11:28:00.040	warn	(21611) Object "sonoff.0.SHP5-WaschMa" does not exist
                                      javascript.0	2021-03-10 11:28:00.040	warn	(21611) at processTimers (internal/timers.js:497:7)
                                      javascript.0	2021-03-10 11:28:00.040	warn	(21611) at listOnTimeout (internal/timers.js:554:17)
                                      javascript.0	2021-03-10 11:28:00.040	warn	(21611) at Timeout._onTimeout (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:510:7)
                                      javascript.0	2021-03-10 11:28:00.040	warn	(21611) at /opt/iobroker/node_modules/node-schedule/lib/schedule.js:552:11
                                      javascript.0	2021-03-10 11:28:00.039	warn	(21611) at Job.invoke (/opt/iobroker/node_modules/node-schedule/lib/schedule.js:173:10)
                                      javascript.0	2021-03-10 11:28:00.039	warn	(21611) at Job.job (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1296:34)
                                      javascript.0	2021-03-10 11:28:00.039	warn	(21611) at Object.<anonymous> (script.js.common.Tabellen.Sonoffs:1412:2)
                                      javascript.0	2021-03-10 11:28:00.039	warn	(21611) at writeHTML (script.js.common.Tabellen.Sonoffs:458:30)
                                      javascript.0	2021-03-10 11:28:00.038	warn	(21611) at Object.result.each (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:800:29)
                                      javascript.0	2021-03-10 11:28:00.038	warn	(21611) at script.js.common.Tabellen.Sonoffs:467:16
                                      javascript.0	2021-03-10 11:28:00.035	warn	(21611) getState "sonoff.0.SHP5-WaschMa.alive" not found (3)
                                      
                                      liv-in-sky 1 Reply Last reply Reply Quote 0
                                      • liv-in-sky
                                        liv-in-sky @lobomau last edited by

                                        @lobomau hast du das script neugestartet ? und auch den oder die javascript instanzen - es kann sein, dass noch etwas im cache vom javascript adapter ist

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

                                          @liv-in-sky Scripte hatte ich neugestartet - ohne Erfolg.
                                          Javascript Adapter neustarten war erfolgreich! 🙂

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

                                            suche tester für neue sonoff tabelle - die neue baum- struktur des adapters wird noch nicht unterstützt - kommt später
                                            bitte das log checken - ich habe nicht alle möglichen tasmota geflashten devices - daher kann ich nicht sagen, ob meine abfragen 100%ig funktionieren

                                            AApossis (29).gif

                                            • setting muss einzeln kopiert werden, die setting blöcke sind unterschiedlich zum alten script
                                            • es müssen keine dp angelegt werden - alles unter: javascript.x.Tabellen@Liv.SONOFFTabelleVIS. altes script stoppen für test
                                            • verschiedene bereiche - tabelle oder flexbox - umgeschaltet wird durch doppel-klick im tabellenbereich - grüner kasten - für tablet-user: dpklick geht in android nicht - man kann einen button dafür in der seitenleiste aktivieren (gelber pfeil)
                                            • refresh - neues einlesen der tabelle - oranger pfeil - es gibt kein schedule - das script reagiert auf veränderungen, der POWERx dp
                                            • sortieren durch klick auf text in spalte - blaue pfeile
                                            • suche : lila pfeil - 2tes bild oben
                                            • klick auf ip adresse, öffnet web interface des sonoffs
                                            • klick auf schalter unter POWER , schaltet den datenpunkt

                                            Image 4.png


                                            https://github.com/liv-in-sky/sonoff-iobroker-script

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            966
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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