Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. HTML-Tabelle für Time-Switch Adapter

    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 Time-Switch Adapter

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

      @stephan-schleich

      der fehler kommt bei mir, wenn ein datenpunkt definiert ist, der nicht existiert.

      füge mal das

         log(val1help.onAction.idsOfStatesToSet[0])
      

      hier ein:

      Image 2.png

      bei mir sieht man dann im log, bei welchen dp das cript stehen bleibt

      beispiel bei mir: der dp (fritzdect.2.Comet_099950280789.targettemp) existiert nicht mehr

      Image 3.png

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

        @liv-in-sky nach einfügen der Zeile kommt folgendes, die DP's existieren:

        a1f1883a-fcf2-4afc-8d9f-051a0484da37-image.png

        d8a7ffae-a71c-468f-beef-829a0a22b6ec-image.png

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

          @stephan-schleich

          bin verwiirt .- da steht doch , dass ein dp nicht existiert (als warning) - wenn der doch existiert, bitte zeige mal den raw wert, des dp's

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

            @liv-in-sky Achso, der Gelbe Wert ist eine Leiche von was anderem, welche ich nicht weg krieg, hat mit deinem Script nix zu tun - sorry 🙂

            {
              "_id": "0_userdata.0.Tabellen.Time-Switch.View",
              "type": "state",
              "common": {
                "name": "View",
                "role": "",
                "type": "string",
                "read": true,
                "write": true,
                "desc": "Manuell erzeugt",
                "def": ""
              },
              "native": {},
              "from": "system.adapter.admin.0",
              "user": "system.user.admin",
              "ts": 1602614190414,
              "acl": {
                "object": 1636,
                "state": 1636,
                "owner": "system.user.admin",
                "ownerGroup": "system.group.administrator"
              }
            }
            
            liv-in-sky 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @Stephan Schleich last edited by

              @stephan-schleich

              dieser "alias.0.....klimaautomatik.set" ist doch im log auagegeben worden und dann macht das script "die biege" - diesen datenpunkt als raw bitte

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

                @liv-in-sky sagte in HTML-Tabelle für Time-Switch Adapter:

                klimaautomatik.set

                aaah, fehler gefunden, in der Time-Switch config selbst war der Fehler, mit dem nicht existierenden DP, danke

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

                  @stephan-schleich genau das meinte ich

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

                    Re: HTML-Tabelle für Time-Switch Adapter
                    Hallo liv-in-sky,
                    bin sehr an der Tabelle interessiert, bekomme sie aber nicht in die Vis!?
                    Script habe ich unter dem Ordner "Java.time-switch" abgelegt und gestartet.
                    Die HTML-Datei hab ich "t-switch" genannt und das vorgegebene Verz (Vis.0) gelassen.
                    Meine Frage nun: mit welchem Widget bekomme ich die HTML-Seite in der VIS angezeigt?
                    Habe es mit dem HTML-Widget probiert, hat nur tlw geklappt, Anzeige der Tabelle war oben links, obwohl da gar kein Widget war!?

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

                      @mconno

                      das standard html widget ist das richtige - erscheint das dann in der linken oberen ecke, läuft was falsch - dann wurde falscher html code generiert

                      @mconno sagte in HTML-Tabelle für Time-Switch Adapter:

                      Die HTML-Datei hab ich "t-switch" genannt und das vorgegebene Verz (Vis.0) gelassen.

                      das braucht man eigentlich nicht mehr - wurde früher für iqontrol gebraucht

                      hast du einen datenpunkt angelegt unter =_userdata.0....... - vom typ zeichenkette (du kannst da irgendeinen namen nehmen ? hast du diesen datenpunkt dann in dem widget in geschweifter klammer angegeben (nennt sich binding) ? hast du den datenpunkt auch im script bei der variablen dpVIS angegeben (zeile 9)

                      ich nutze den adapter nicht mehr - daher kann ich dir nicht mal sagen, ob das script noch richtig läuft - evtl hat sich am adapter irgendwann mal was geändert

                      M Q 2 Replies Last reply Reply Quote 1
                      • M
                        McOnno @liv-in-sky last edited by

                        @liv-in-sky sagte in HTML-Tabelle für Time-Switch Adapter:

                        @mconno

                        das standard html widget ist das richtige - erscheint das dann in der linken oberen ecke, läuft was falsch - dann wurde falscher html code generiert

                        @mconno sagte in HTML-Tabelle für Time-Switch Adapter:

                        Die HTML-Datei hab ich "t-switch" genannt und das vorgegebene Verz (Vis.0) gelassen.

                        das braucht man eigentlich nicht mehr - wurde früher für iqontrol gebraucht

                        hast du einen datenpunkt angelegt unter =_userdata.0....... - vom typ zeichenkette (du kannst da irgendeinen namen nehmen ? hast du diesen datenpunkt dann in dem widget in geschweifter klammer angegeben (nennt sich binding) ? hast du den datenpunkt auch im script bei der variablen dpVIS angegeben (zeile 9)

                        ich nutze den adapter nicht mehr - daher kann ich dir nicht mal sagen, ob das script noch richtig läuft - evtl hat sich am adapter irgendwann mal was geändert

                        Vielen Dank für die Antwort, habe es mit allen "HTML"-Widges probiert, immer dasselbe, angezeigt wurde es entweder links oben in der Ecke oder gar nichts!
                        Im Thread des Adapters selbst bekam ich den Hinweis, das Basic-String Wdg zu nehmen, damit klappte es auf Anhieb!!

                        LG Onno

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

                          @liv-in-sky

                          Was benutzt du denn momentan so?
                          hab den Time-Switch Adapter auch am laufen, jedoch kommt es ein paar mal im Jahr vor, dass er sich "aufhängt" und nichts mehr macht. Ein Neustart hilft hier.

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

                            @quorle ich habe nicht so viel, was zeitabhängig zu schalten wäre - mache ich mit blockly

                            @McOnno - poste mal den inhalt des datenpuntes (der unter dpVIS definiert ist) mit der tabelle ( kopiere den inhalt in eine textdatei und poste/ziehe dann diese datei hier in einen post)

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

                              @liv-in-sky Hat sich alles erledigt! Bekomme nun die Tabelle so angezeigt, wie es sein soll!

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

                                @mconno auch im html standard widget ?

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

                                  @liv-in-sky Nein, nur im String widget!

                                  Oh, ich sehe gerade, dass der DP "dppVIS" gar nicht da ist, müsste ich den extra anlegen?
                                  Bin jetzt bei der Freundin und kann erst am Dienstag weitermachen, melde mich dann...
                                  Bestimmt bekommen wir das dann auch so hin, wie es sein soll!

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

                                    @mconno ja - der muss angelegt werden - siehe ersten post - erster punkt in der auflistung - typ zeichenkette

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      buchner51 last edited by

                                      Hallo,

                                      ich habe auch interesse diese Tabele in IQontrol darzustellen.
                                      Oder gibt es einen ganz anderen Weg?

                                      Leider nur mit mäßigem Erfolg.

                                      Hat das jemand am laufen und könnte mal ein paar Bilder von den Einstellungen der Kachel schicken, Danke.

                                      Das Script hab ich angelegt, auch den einen Datenpunkt als Zeichenkette.
                                      Da bin ich mir aber nicht so sicher ob der Rest passt.

                                      Gruß
                                      und schonmal Danke

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

                                        @buchner51

                                        erzeugt das script eine tabelle ?

                                        • steht was im log - fehler oder warnng ?
                                        • was steht im datenpunkt, nachdem das scipt lief - kannst du den inhalt des dp-tes mal in code tags hier posten ?

                                        wie man das in iqontrol einbindet weiß ich nicht - nutze ich schon lange nicht mehr - aber erstmal muss du sicherstellen, dass da eine tabelle im dp ist

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

                                          @liv-in-sky
                                          Hier mal meinen angelegten Datenpunkt:

                                          {
                                            "common": {
                                              "name": "Datenpunkte.VIS/Blockly.TimeSwitch",
                                              "desc": "Manuell erzeugt",
                                              "role": "",
                                              "type": "string",
                                              "read": true,
                                              "write": true
                                            },
                                            "type": "state",
                                            "native": {},
                                            "_id": "0_userdata.0.Datenpunkte.VIS/Blockly.TimeSwitch",
                                            "acl": {
                                              "object": 1636,
                                              "state": 1636,
                                              "owner": "system.user.admin",
                                              "ownerGroup": "system.group.administrator"
                                            },
                                            "binary": true,
                                            "from": "system.adapter.admin.0",
                                            "user": "system.user.admin",
                                            "ts": 1710259641380
                                          }
                                          

                                          Im Script laufen folgende Fehler auf:

                                          12.3.2024, 17:09:41.018	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:09:41.127	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:09:41.170	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:09:41.171	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:09:41.173	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:09:41.173	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:09:41.173	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:09:41.173	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:09:41.174	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:10:00.017	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:10:00.020	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:10:00.020	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:10:00.020	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:10:09.318	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:10:09.424	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:10:09.471	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:10:09.472	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:10:09.474	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:10:09.475	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:10:09.475	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:10:09.475	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:10:09.476	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:10:10.643	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:10:10.715	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:10:10.739	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:10:10.740	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:10:10.741	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:10:10.741	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:10:10.742	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:10:10.742	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:10:10.742	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:11:00.014	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:11:00.017	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:11:00.017	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:11:00.017	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:12:00.012	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:12:00.016	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:12:00.017	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:12:00.018	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:13:00.027	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:13:00.033	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:13:00.034	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:13:00.034	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:14:00.010	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:14:00.012	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:14:00.012	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:14:00.012	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:15:00.050	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:15:00.056	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:15:00.056	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:15:00.057	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:16:00.026	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:16:00.034	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:16:00.035	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:16:00.035	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:17:00.024	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:17:00.028	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:17:00.028	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:17:00.029	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:18:00.034	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:18:00.039	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:18:00.041	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:18:00.041	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:19:00.024	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:19:00.029	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:19:00.030	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:19:00.030	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:19:29.723	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:19:29.827	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:19:29.845	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:19:29.845	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:19:29.847	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:19:29.847	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:19:29.847	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:19:29.849	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:19:29.849	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:20:00.028	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:20:00.031	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:20:00.032	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:20:00.032	[error]: javascript.0 (186897)     at Object.<anonymous> (script.js.iqontroll.Uhr_Time-Switch:261:2)
                                          12.3.2024, 17:20:20.179	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:20.299	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:20.325	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:20:20.327	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:20:20.328	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:20:20.329	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:20:20.329	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:20:20.329	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:20:20.329	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:20:27.264	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:27.374	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:27.393	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:20:27.394	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:20:27.396	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:20:27.396	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:20:27.397	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:20:27.397	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:20:27.397	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:20:39.972	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:40.036	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:40.052	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:20:40.053	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:20:40.054	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:20:40.054	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:20:40.054	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:20:40.055	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:20:40.055	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          12.3.2024, 17:20:41.044	[info ]: javascript.0 (186897) Stop script script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:41.141	[info ]: javascript.0 (186897) Start javascript script.js.iqontroll.Uhr_Time-Switch
                                          12.3.2024, 17:20:41.157	[warn ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: Object "default.state" does not exist
                                          12.3.2024, 17:20:41.158	[info ]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: registered 0 subscriptions, 1 schedule, 0 messages, 0 logs and 0 file subscriptions
                                          12.3.2024, 17:20:41.161	[error]: javascript.0 (186897) script.js.iqontroll.Uhr_Time-Switch: TypeError: Cannot read properties of null (reading 'common')
                                          12.3.2024, 17:20:41.162	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:161:64
                                          12.3.2024, 17:20:41.162	[error]: javascript.0 (186897)     at writeHTML (script.js.iqontroll.Uhr_Time-Switch:148:33)
                                          12.3.2024, 17:20:41.162	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:264:2
                                          12.3.2024, 17:20:41.162	[error]: javascript.0 (186897)     at script.js.iqontroll.Uhr_Time-Switch:377:3
                                          

                                          Ich sehe leider den Fehler nicht.

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

                                            @buchner51 wieviele zeilen hat das script im editor ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            442
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            javascript
                                            7
                                            49
                                            4075
                                            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