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.
    • liv-in-sky
      liv-in-sky @Meister Mopper last edited by

      @Meister-Mopper

      ok - überschneidung 🙂

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

        @liv-in-sky Es ist der Kaffeeautomat, der nicht auftaucht. Heißt aber gleich, ich habe keine Erklärung. Der SP111 taucht im script auch auf.


        589ddaf4-7e1e-4684-88dc-e140618e196b-grafik.png

        sonoff.0.Kaffeeautomat.json

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

          @Meister-Mopper im Info.Module steht auch Gosund SP111 v1.1 ?

          ist bei mir da

          Image 2.png

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

            @Meister-Mopper

            du kannst auch mal die javascript instanz neustarten - damit sich der cache updatet

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

              @liv-in-sky Sehr eigenartig, bei mir taucht die auch nach Neustart der javascript instanz nicht auf. Das Ding ist baugleich mit dem am Dunstabzug. Es kommen noch 4 von den Dingern.

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

                @Meister-Mopper fehler im log ?

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

                  @liv-in-sky Nö, da ist alles geschmeidig.

                  javascript.0	2020-05-11 13:26:30.704	info	(27297) script.js.java.Sonoff_Geräte: registered 30 subscriptions and 1 schedule
                  javascript.0	2020-05-11 13:26:30.665	info	(27297) Start javascript script.js.java.Sonoff_Geräte
                  javascript.0	2020-05-11 13:26:27.809	info	(27297) Stop script script.js.java.Sonoff_Geräte
                  

                  aber danach kommt das, hat das was zu bedeuten? Es kommt aber viel später:

                  javascript.0	2020-05-11 13:29:59.398	warn	(27297) missing or unrecognized endTime expression: NaN
                  javascript.0	2020-05-11 13:29:54.783	warn	(27297) missing or unrecognized endTime expression: NaN
                  javascript.0	2020-05-11 13:26:30.704	info	(27297) script.js.java.Sonoff_Geräte: registered 30 subscriptions and 1 schedule
                  javascript.0	2020-05-11 13:26:30.665	info	(27297) Start javascript script.js.java.Sonoff_Geräte
                  javascript.0	2020-05-11 13:26:27.809	info	(27297) Stop script script.js.java.Sonoff_Geräte
                  

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

                    @Meister-Mopper

                    probier mal:
                    -script stoppen
                    sonoff instanz stoppen

                    • dann den gesamten sonoff.0.Kaffeeauto... ordner löschen
                    • sonoff instanz starten
                    • script starten , nachdem der ordner des kaffeautomaten im sonoff wieder da sind

                    gehört diese meldung missing or unrecognized endTime expression: NaN zu dem script ? nach 3 minuten ?

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

                      @Meister-Mopper laut dieser (27297) gibt es wohl einen zusammenhang - aber die fehlermeldung habe ich noch nie gesehen

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

                        @liv-in-sky ich dachte bisher, dass dieser logeintrag mit dem dwd-Adapter zusammenhängt. Das Neustarten probier ich gleich - afk

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

                          @Meister-Mopper soweit ich es kapiere ist diese nummer angehörig zu deiner javascript instanz

                          bei mir ist das die PID der javascript instanz - das bedeutet dann nicht zwingend, dass es dieses script ist - könnte auch ein anderes sein - du kannst ja mal ein anderes script aus und einschalten und nachsehen welche nummer dieses script beim starten im log bekommt - sind alle deine laufende scripte grün oder sind auch gelbe dabei mit fehlern/warnungen

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

                            @liv-in-sky So, nach Löschen der Objekte und Neustart habe ich mal wieder das Problem, dass der Info-Ordner nicht erscheint, trotz Neustart und Vomstromnehmen. Ich glaube, das Ding hat 'ne Macke.

                            1 Reply Last reply Reply Quote 0
                            • Gaspode
                              Gaspode last edited by

                              Hi,
                              tolles Projekt, vielen Dank dafür.
                              Allerdings stehe ich etwas auf dem Schlauch.
                              Das Script läuft soweit, und für die angelegte Variable wird auch als Wert die html Tabelle bei Änderungen aktualisiert.
                              Allerdings bekomme ich es nicht angezeigt.
                              Ich habe ein HTML Widget angelegt und im Eingabefeld html meine Variable in geschweiften Klammern angegeben, also
                              {0_userdata.0.SonoffTable}
                              Leider wird in der View nur eben dieser Text angezeigt, und nicht die Tabelle.
                              Was mache ich falsch?

                              Glasfaser 1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Gaspode last edited by

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

                                Leider wird in der View nur eben dieser Text angezeigt, und nicht die Tabelle.

                                Gehe mal im Runtime 😉

                                Gaspode 1 Reply Last reply Reply Quote 1
                                • Gaspode
                                  Gaspode @Glasfaser last edited by

                                  @Glasfaser
                                  Oh Mann, manchmal kann es auch ganz einfach sein.
                                  Vielen Dank. Ich lerne ja noch. 😳

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

                                    Einfach mal eine info - falls es jemand nicht kennt - zu flashfähigen USB Schaltern (sinilink) - dieser usb-schalter kann mit tasmota geflasht werden und dadurch im sonoff adapter integriert werden z.b. für tablets, handys, kleinen lüftern,echo geräte oder alles andere um usb zu schalten - kosten ca. 5 euro bei aliexpress (https://de.aliexpress.com/item/4000791220450.html?spm=a2g0s.9042311.0.0.21554c4dUfqgtQ)

                                    Image 1.png

                                    das flashen ist über kabel möglich - etwas umständlich, da die anschlüsse (rx,tx,gpio0,....) sehr klein sind - aber mit nadeln habe ich es hinbekommen (tasmotizer mit mit tamota-lite.bin)

                                    USBSwitch.png

                                    auf youtube unter: https://www.youtube.com/watch?v=lrHhn2AVzSA&t=459s
                                    zusätzliche info: https://templates.blakadder.com/sinilink_XY-WFUSB.html
                                    oder: https://www.cnx-software.com/2020/03/12/sinilink-wifi-usb-power-switch-works-with-tasmota-firmware-supports-up-to-20v-5a/
                                    wird mit sonoff adapter geschalten:
                                    smart38.gif

                                    Image 2.png

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

                                      @liv-in-sky weißt du wie ich einen Blitzwolf SHP05 angezeigt bekomme?
                                      Helfen dir die Screenshots weiter?

                                      Screenshot_20200603-125601.jpg

                                      b772e8da-247b-4c16-bef8-af8c0645ca7d-image.png

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

                                        @lobomau versuche mal folgendes:

                                        die zeile 480 ändern

                                        Image 1.png

                                        nach:

                                        if (getState(id).val=="BlitzWolf SHP" || getState(id).val=="BlitzWolf SHP8" || getState(id).val=="BlitzWolf SHP6" || getState(id).val=="SHP5") {
                                        

                                        bitte feedback ob geklappt

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

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

                                          || getState(id).val=="SHP5"

                                          Klasse! 👏

                                          34158215-ad86-4a7f-8773-7899a514ede3-image.png

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

                                            @liv-in-sky Hi , ich habe jetzt eine Gosund P1 auf Tasmota gebraucht. Kannst Du diese auch in den Script integrieren ?

                                            6caacdae-8844-461f-944d-4b113222b131-image.png

                                            liv-in-sky 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            937
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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