Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. HTML Tabelle für Shelly Device Übersicht

    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

    HTML Tabelle für Shelly Device Übersicht

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

      @da_woody

      werde nur grobe bzw einheitliche sachen angehen - allein die switches unterzubringen nervt schon ein wenig

      im hinterkopf habe ich auch meine neu installierten zigbee geräte (habe erst vor kurzen damit angefangen) - die wollte ich auch mal in eine tab bringen - dann geht der spaß wieder von vorne los 🙂

      da_Woody 1 Reply Last reply Reply Quote 0
      • G
        gerty @liv-in-sky last edited by

        @liv-in-sky said in HTML Tabelle für Shelly Device Übersicht:

        BA7D2F

        SHBLB = link text Lampe mit RGBW
        SHBDUO = link text Lampe ohne RGBW
        SHBTN =‘ link text Drücker zum Schalten
        SHDW-2 = link text ´Fensterschalter
        SHEM-3 = link text mit Relais Option zum Schalten
        SHHT = link text Sensor Temperatur und Feuchte
        SHIIX3 = das gleiche wie SHBTN nur mit 3 Knöpfen
        SHPLG = Steckdosenadapter
        ShRGBW2 = Dimmerrelais
        SHSW-1 = link textRelais
        SHSW-25 = analog SQHSW1 nur mit 2 Relais
        SHVIN = link text Birne
        SHWT = link textWasserwächter

        Alles was mit switch zu tun hat, aktiviert etwas

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

          @liv-in-sky sagte in HTML Tabelle für Shelly Device Übersicht:

          allein die switches unterzubringen nervt schon ein wenig

          da bin ich ja schon gespannt, wie du das bei den 2.5ern lösen willst... peitsche.gif

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

            @da_woody

            ganz einfach: ausfiltern

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

              @liv-in-sky

              .......... wenn du besondere Sensoren..............
              ??
              blöde Zwischenfrage:
              so wie ich das lese seid ihr beide am arbeiten, aber was genau ist jetzt euer Ziel,
              mich und meine Shelly mit in euer script zu involvieren, oder das script für alle Werte darzustellen die möglich sind und vom Anwender zugeordnet werden, Stichwort Individualgesamtliste.

              und was sieht man bei da_woody seinem Video?

              da_Woody liv-in-sky 3 Replies Last reply Reply Quote 0
              • da_Woody
                da_Woody @gerty last edited by

                @gerty sagte in HTML Tabelle für Shelly Device Übersicht:

                blöde Zwischenfrage:

                irgendwo berechtigt. da gehts um die shelly, nicht die sonoff liste...
                welches video meinst du jetzt? bin nun auch verwirrt... 🙂

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

                  @gerty

                  wie schon erwähnt, werde ich nicht alles integrieren und def nicht auswählbar

                  aber zb die switches schon - dann kann man direkt in der tab schalten

                  AApossis (162).gif

                  mit sensoren ist die anzeige von z.b temperatur und lux oder sowas gemeint - ist aber noch nicht integriert - die bilder sind von der sonoff tabelle -da bekommt man die temps angezeigt, wenn man sensoren an den tasmota geräten hat

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

                    @gerty
                    @da_Woody

                    ist das wichtig - hat der soviele sensoren

                    Image 7.png

                    Image 8.png

                    es gibt welche, die haben keinen online datenpunkt - ist das so ok, oder fehlt mir da was ??

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

                      @liv-in-sky nein! das ist nur wenn das addon draufgetackert ist. das es im shop nichtmal mehr gibt... 😄
                      das extern vergiss mal.

                      1 Reply Last reply Reply Quote 0
                      • G
                        gerty @da_Woody last edited by

                        @da_woody
                        ich meinte das da
                        d757cb99-0af0-41db-91be-bf272e14d5af-image.png

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

                          @liv-in-sky

                          wäre es den möglich, alle Werte/Datenpunkte eines Shellys in einer HTML Liste anzuzeigen, ohne vorher zu filtern. Das gibt zwar eine breite Liste, aber ich sehe sie wenigstens und die bei dem ID TYP nicht vorhanden sind halt leer.

                          Das mit dem Switch schalten ist für mich uninteressant.

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

                            @gerty
                            @da_Woody

                            so - fürs neue jahr was zum testen - mehr augen sehen mehr - da könnten noch fehler drin sein - für heute habe ich aber genug getestet

                            altes script stoppen - dieses in ein neues leeres script kopieren (nur mit chrome, edge - kein firefox !!!) UND alle datenpunkte löschen ( den ordner javascript.x.Tabellen@Liv.ShellyTabelleVIS ) - da hat sich was geändert - sonst errors

                            https://github.com/liv-in-sky/html-script-shelly---iobroker/blob/main/README.md

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

                              @gerty

                              man kann das schon machen - aber nicht mit so einer tabelle, sondern mit einem json-output und dann einem json-widget

                              dieses device hat 79 unterpunkte shelly.0.SHSW-25#98F4ABF2DCE1#1 - das hier 81 spalten shelly.3.SHSW-25#BA7652#1 -das macht für mich wenig sinn und ist im moment zu aufwendig - vielleicht gibt es sowas schon im forum ???

                              dann exportiere dir den shelly.0 ordner und nutze notepad++ mit json erweiterung - dann siehst du alle datenpunkte - leider ohne states

                              Image 9.png

                              was genau fehlt dir in der tabelle

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

                                @liv-in-sky sagte in HTML Tabelle für Shelly Device Übersicht:

                                (nur mit chrome, edge - kein firefox !!!)

                                ja, ne, is klar... banane2.gif davon bin ich geheilt...
                                zieh ich mir morgen mal rein, als katerfrühstück... droelf.gif
                                ansonsten noch: sekt.gif

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

                                  @da_woody

                                  dir auch ein gutes rüberrutschen

                                  bis 2022

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

                                    @liv-in-sky proshit!
                                    sieht nicht so gut aus...

                                    00:25:45.529	error	javascript.0 (567) script.js.common.Diverses.shelly-table: TypeError: Cannot read property 'toString' of null
                                    00:25:45.529	error	javascript.0 (567) at script.js.common.Diverses.shelly-table:432:212
                                    00:25:45.529	error	javascript.0 (567) at writeHTML (script.js.common.Diverses.shelly-table:348:23)
                                    00:25:45.529	error	javascript.0 (567) at script.js.common.Diverses.shelly-table:740:5
                                    00:25:45.529	error	javascript.0 (567) at script.js.common.Diverses.shelly-table:1388:3
                                    00:25:46.205	warn	javascript.0 (567) at Object.<anonymous> (script.js.common.Diverses.shelly-table:990:124)
                                    00:26:03.736	error	javascript.0 (567) script.js.common.Diverses.shelly-table: TypeError: Cannot read property 'toString' of null
                                    00:26:03.736	error	javascript.0 (567) at script.js.common.Diverses.shelly-table:432:212
                                    00:26:03.736	error	javascript.0 (567) at writeHTML (script.js.common.Diverses.shelly-table:348:23)
                                    00:26:03.736	error	javascript.0 (567) at Object.<anonymous> (script.js.common.Diverses.shelly-table:993:44)
                                    00:26:09.377	error	javascript.0 (567) script.js.common.Diverses.shelly-table: TypeError: Cannot read property 'toString' of null
                                    00:26:09.377	error	javascript.0 (567) at script.js.common.Diverses.shelly-table:432:212
                                    00:26:09.378	error	javascript.0 (567) at writeHTML (script.js.common.Diverses.shelly-table:348:23)
                                    00:26:09.378	error	javascript.0 (567) at Object.<anonymous> (script.js.common.Diverses.shelly-table:995:88)
                                    

                                    und es geht immer weiter mit errors... 😞
                                    1d3be07a-1716-4636-a24a-32d2ec7d6dc0-grafik.png

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

                                      @da_woody

                                      moin -gutes neues -bei was für einer uhrzeit hast du getestet? 🙂

                                      habe neues script in github - dp mußt du nicht löschen

                                      du kannst auch einfach diesen teil austauschen zeile429 bis einschl 433

                                              if(energyArr.length>0 ) {for (let pp=0;pp<energyArr.length;pp++){   if(existsState(ida[0]+'.'+ ida[1]+'.'+ida[2]+'.'+"online") ) {
                                                                                                                 if(energyArr[pp].includes(ida[2]) && getState(ida[0]+'.'+ ida[1]+'.'+ida[2]+'.'+"online").val ) { //log(val[1])
                                                                                                                                             let idc = energyArr[pp].split('.');
                                                                                                                                             if( existsState(energyArr[pp]) && ida[2]==idc[2] && getState(energyArr[pp]).val!=null  ) {thisSensors.push("Power: "+getState(energyArr[pp]).val.toString()+" W") }  else{
                                                                                                                                                   thisSensors.push("Power"+": "+"na"+" W")  } } } else{ if(energyArr[pp].includes(ida[2])) thisSensors.push("Offline"+": "+"na"+" W")}
                                      

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

                                        @liv-in-sky sagte in HTML Tabelle für Shelly Device Übersicht:

                                        bei was für einer uhrzeit hast du getestet?

                                        moinmoin! hatte das eigentlich schon um 00:30 getestet und getextet, aber vergessen auf absenden zu klicken. Cheerlie.gif
                                        bin dann um 03:00 nochmal munter geworden und hab am tablet gesehn, daß der server abgekackt ist. also nackt rauf in die werkstatt ins büro, server neu gestartet, zurück in die männerhöhle und gesehn, daß ich noch nicht abgeschickt hab... fool.gif
                                        anyway. nach austausch kommt noch:

                                        09:02:34.314	warn	javascript.0 (455) at Object.<anonymous> (script.js.common.Diverses.shelly-table:996:124)
                                        

                                        außerdem kommts zu reloads...
                                        sonofftable1.gif
                                        musst du dir selber anschauen am nachmittag, wenn du zeit hast... banane2.gif

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

                                          @da_woody

                                          habe heute den ganzen tag zeit - meld dich einfach, wenn es paßt

                                          zum reload:

                                          der reload kommt in dieser version nur, wenn sich ein switch ändert - kann es sein, dass es da einen dp gibt, der dauernd ein und aus schaltet

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

                                            @da_woody

                                            damit kannst du loggen, welche id auslöst

                                            Image 1.png

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            853
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            13
                                            261
                                            30889
                                            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