Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Problem bei Blockly und Shelly

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Problem bei Blockly und Shelly

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Ronnyempire @paul53 last edited by

      @paul53 Leider passiert immer noch nichtsblockly7.jpg

      paul53 1 Reply Last reply Reply Quote 0
      • paul53
        paul53 @Ronnyempire last edited by paul53

        @ronnyempire sagte: Leider passiert immer noch nichts

        Normalerweise erscheinen schon Log-Einträge unten beim Skriptstart. Schau mal in den Tab "Protokolle".
        ... und Browser-Refresh.

        R 1 Reply Last reply Reply Quote 0
        • R
          Ronnyempire @paul53 last edited by

          @paul53 Wenn du mit Protokolle Tab das Feld unten meinst, dann ist dieses weiterhin leer. Browserrefresh habe ich mehrfach gemacht und auch die Instand neu gestartet.

          R 1 Reply Last reply Reply Quote 0
          • R
            Ronnyempire @Ronnyempire last edited by

            @ronnyempire blockly9.jpg

            paul53 1 Reply Last reply Reply Quote 0
            • paul53
              paul53 @Ronnyempire last edited by paul53

              @ronnyempire
              Diese Log-Ausgaben bitte in Code tags posten!
              Was steht in Zeile 8 des erzeugten Javascript-Codes?
              Unter "global" sind alle Skripte gelöscht oder zumindest deaktiviert?

              R 1 Reply Last reply Reply Quote 0
              • R
                Ronnyempire @paul53 last edited by

                @paul53 Gibt es dazu eine Anleitung, ich habe leider nichts gefunden?

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @Ronnyempire last edited by paul53

                  @ronnyempire sagte: Gibt es dazu eine Anleitung, ich habe leider nichts gefunden?

                  Wozu? Text (Logs) fügt man per Copy & Paste ein. Code Tags: oben </>.
                  Beispiel:

                  16:11:05.088	info	javascript.1 (1977) Start javascript script.js.blockly.Test6_Blockly
                  16:11:05.090	info	javascript.1 (1977) script.js.blockly.Test6_Blockly: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
                  16:11:19.317	info	javascript.1 (1977) script.js.blockly.Test6_Blockly: Triggerwert: 0, Schalter: false
                  

                  So sieht es bei mir unter dem Skript aus, wenn ich es starte und anschließend den Zeitstempel aktualisiere.

                  R 2 Replies Last reply Reply Quote 0
                  • R
                    Ronnyempire @paul53 last edited by

                    @paul53 Wie ich das in Code Tags umwandle

                    1 Reply Last reply Reply Quote 0
                    • R
                      Ronnyempire @paul53 last edited by

                      @paul53 ```

                      2023-05-11 16:19:01.354 - error: javascript.0 (29878) script.js.common.Pool: ReferenceError: unbenannt is not defined
                      2023-05-11 16:19:01.355 - error: javascript.0 (29878) at script.js.common.Pool:8:19
                      2023-05-11 16:19:01.355 - error: javascript.0 (29878) at Object. (script.js.common.Pool:8:80)
                      2023-05-11 16:19:01.355 - error: javascript.0 (29878) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1244:38)
                      2023-05-11 16:19:01.355 - error: javascript.0 (29878) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:593:29)
                      2023-05-11 16:19:01.355 - error: javascript.0 (29878) at Immediate. (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.js:5916:56)
                      2023-05-11 16:19:01.355 - error: javascript.0 (29878) at processImmediate (node:internal/timers:466:21)
                      2023-05-11 16:19:01.369 - info: powerfox2.0 (30069) Terminated (NO_ERROR): Without reason
                      2023-05-11 16:19:01.885 - info: host.iobroker-1 instance system.adapter.powerfox2.0 terminated with code 0 (NO_ERROR)
                      
                      paul53 1 Reply Last reply Reply Quote 0
                      • paul53
                        paul53 @Ronnyempire last edited by

                        @ronnyempire
                        Schalte in die Javascript-Ansicht um: Was steht in Zeile 8?

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          Ronnyempire @paul53 last edited by

                          @paul53 Wie schalte ich in die Java Ansicht um?

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @Ronnyempire last edited by

                            @ronnyempire sagte: Wie schalte ich in die Java Ansicht um?

                            Rechts oben:

                            Blockly_JS.JPG

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              Ronnyempire @paul53 last edited by

                              @paul53 Alles klar, ich denke ich habe den Fehler jetzt auch gefunden. Der erste Timer war als Unbenannt drin. Ich habe jetzt nchmal "delayon" überall ausgewählt und das unbenannt ist raus. Jetzt hat es endlich funktioniert.

                              Sorry für die Umstände und die Mühe mit mir aber ich danke dir vielmals, dass du die Geduld aufgebracht hast.

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

                              Support us

                              ioBroker
                              Community Adapters
                              Donate

                              925
                              Online

                              31.7k
                              Users

                              79.8k
                              Topics

                              1.3m
                              Posts

                              8
                              55
                              2248
                              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