Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Fehler bei Trigger mit mehreren Objekten

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Fehler bei Trigger mit mehreren Objekten

    This topic has been deleted. Only users with topic management privileges can see it.
    • wendy2702
      wendy2702 @falke69 last edited by

      @falke69 Ist ein Bug in 5.11

      Bitte Version 5.10 nutzen

      falke69 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @falke69 last edited by

        @falke69

        Siehe bitte auch: https://forum.iobroker.net/topic/42991/fehler-in-blocky-und-keine-ahnung-warum/7?_=1615115930885

        Bitte mal von Blockly- auf js-Ansicht umstellen und die entsprechende Zeile on({id: new RegExp... suchen

        1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 @falke69 last edited by

          @falke69 sagte in Fehler bei Trigger mit mehreren Objekten:

          on({id: new RegExp('tr-064\.0\.devices\.Benutzer1-Handy\.active' + "$|" + 'tr-064\.0\.devices\.Benutzer2-Handy\.active' + "$|" + 'tr-064\.0\.devices\.Benutzer2-Handy\.active'$), change: "ne"}, a

          @Homoran steht im LOG

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @wendy2702 last edited by Homoran

            @wendy2702 da steht sogar noch extra ein + davor 😱

            1 Reply Last reply Reply Quote 0
            • falke69
              falke69 @wendy2702 last edited by

              @wendy2702

              also ich bin jetzt wieder auf die 5.10

              leider bekomme ich weiterhin den selben Fehler.

              hier mal die js-Ansicht

              on({id: new RegExp('default' + "$|" + 'radar2\\.0\\.Benutzer1_Handy\\._here' + "$|" + 'radar2\\.0\\.Benutzer2_Handy\\._here'$), change: "ne"}, async function (obj) {
                });
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MlMkZ2YWx1ZSUzRSUzQ3ZhbHVlJTIwbmFtZSUzRCUyMk9JRDIlMjIlM0UlM0NzaGFkb3clMjB0eXBlJTNEJTIyZmllbGRfb2lkJTIyJTIwaWQlM0QlMjJ6JTQwJTJCek0lMkNtWGd6NVpkZCUyNU4obDklNUIlMjIlM0UlM0NmaWVsZCUyMG5hbWUlM0QlMjJvaWQlMjIlM0VyYWRhcjIuMC5BbGVuYV9IYW5keS5faGVyZSUzQyUyRmZpZWxkJTNFJTNDJTJGc2hhZG93JTNFJTNDJTJGdmFsdWUlM0UlM0MlMkZibG9jayUzRSUzQyUyRnhtbCUzRQ==
              

              Ich bin vorher sogar bis zur 4.8.4 gegangen. Aber der Fehler bleibt bestehen.
              So wie es aussieht bin ich nicht der Einzige und wenn der Fehler bekannt ist, dann ist das mal ein gutes Zeichen, das ich mich nicht zu doof anstelle.😁

              Dann werde ich abwarten und Tee trinken.

              Danke für Eure Hilfe.

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @falke69 last edited by

                @falke69 welche Version läuft aktuell?

                iobroker list adapters |grep javascript
                
                falke69 1 Reply Last reply Reply Quote 0
                • falke69
                  falke69 @wendy2702 last edited by

                  @wendy2702

                  aktuell die 5.0.11🙄

                  Na brat mir einer einen Storch.
                  Habe doch vorhin auf die 5.10 gewechselt.

                  pi@iobroker:~ $ iobroker list adapters |grep javascript
                  system.adapter.javascript              : javascript     - v5.0.11
                  pi@iobroker:~ $
                  

                  Also nochmal:

                  2021-03-07_132719.jpg

                  Es bleibt dabei. Die 5.0.11 bleibt vorhanden.

                  $ ./iobroker upgrade javascript@5.0.10
                  Update javascript from @5.0.11 to @5.0.10
                  NPM version: 6.14.11
                  npm install iobroker.javascript@5.0.10 --loglevel error --prefix "/opt/iobroker" (System call)
                  npm ERR! code ETARGET
                  npm ERR! notarget No matching version found for iobroker.javascript@5.0.10.npm ERR! notarget In most cases you or one of your dependencies are requestingnpm ERR! notarget a package version that doesn't exist.
                  npm ERR! A complete log of this run can be found in:npm ERR!     /home/iobroker/.npm/_logs/2021-03-07T12_26_32_523Z-debug.log
                  Update "system.adapter.javascript.0"
                  upload [100] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/language/css/cssWorker.js vs/language/css/cssWorker.js application/javascript
                  upload [90] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/editor/editor.main.nls.fr.js vs/editor/editor.main.nls.fr.js application/javascript
                  upload [80] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/vs/basic-languages/html/html.js vs/basic-languages/html/html.js application/javascript
                  upload [70] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/static/js/main.a51876f8.chunk.js static/js/main.a51876f8.chunk.js application/javascript
                  upload [60] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/index_m.html index_m.html text/html
                  upload [50] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/msg/de.js google-blockly/own/msg/de.js application/javascript
                  upload [40] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/own/blocks_sendto.js google-blockly/own/blocks_sendto.js application/javascript
                  upload [30] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/msg/js/it.js google-blockly/msg/js/it.js application/javascript
                  upload [20] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handopen.cur google-blockly/media/handopen.cur null
                  upload [19] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handdelete.cur google-blockly/media/handdelete.cur null
                  upload [18] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/handclosed.cur google-blockly/media/handclosed.cur null
                  upload [17] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/dropdown-arrow.svg google-blockly/media/dropdown-arrow.svg image/svg+xml
                  upload [16] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.wav google-blockly/media/disconnect.wav audio/wav
                  upload [15] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.ogg google-blockly/media/disconnect.ogg audio/ogg
                  upload [14] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/disconnect.mp3 google-blockly/media/disconnect.mp3 audio/mpeg
                  upload [13] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.wav google-blockly/media/delete.wav audio/wav
                  upload [12] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.ogg google-blockly/media/delete.ogg audio/ogg
                  upload [11] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/delete.mp3 google-blockly/media/delete.mp3 audio/mpeg
                  upload [10] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.wav google-blockly/media/click.wav audio/wav
                  upload [9] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.ogg google-blockly/media/click.ogg audio/ogg
                  upload [8] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/click.mp3 google-blockly/media/click.mp3 audio/mpeg
                  upload [7] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/media/1x1.gif google-blockly/media/1x1.gif image/gif
                  upload [6] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/javascript_compressed.js google-blockly/javascript_compressed.js application/javascript
                  upload [5] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blocks_compressed.js google-blockly/blocks_compressed.js application/javascript
                  upload [4] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/blockly_compressed.js google-blockly/blockly_compressed.js application/javascript
                  upload [3] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/google-blockly/LICENSE google-blockly/LICENSE null
                  upload [2] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                  upload [1] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/asset-manifest.json asset-manifest.json application/json
                  upload [0] javascript.admin /opt/iobroker/node_modules/iobroker.javascript/admin/adminWords.js adminWords.js application/javascript
                  Adapter "javascript" updated
                  process exited with code 0
                  

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @falke69 last edited by

                    @falke69 Bitte auf 5.09 gehen

                    falke69 1 Reply Last reply Reply Quote 0
                    • falke69
                      falke69 @wendy2702 last edited by

                      @wendy2702

                      so das hat funktioniert.
                      Aber die Fehler bleiben bestehen. 😢

                      system.adapter.javascript              : javascript     - v5.0.9
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @falke69 last edited by

                        @falke69 sagte in Fehler bei Trigger mit mehreren Objekten:

                        Aber die Fehler bleiben bestehen.

                        klar!

                        Es hieß ja, dass das Blockly mit der alten Version angelegt werden muss

                        falke69 1 Reply Last reply Reply Quote 0
                        • falke69
                          falke69 @Homoran last edited by

                          @homoran

                          ..... ups.😇

                          jetzt geht es.

                          DANKE Euch beiden!!! 👍 👍 👍

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          883
                          Online

                          32.0k
                          Users

                          80.5k
                          Topics

                          1.3m
                          Posts

                          blockly javascript
                          3
                          12
                          416
                          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