Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Grundverständnis Blockly

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    476

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    5.2k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Grundverständnis Blockly

Scheduled Pinned Locked Moved Skripten / Logik
43 Posts 8 Posters 6.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    j.kowi
    wrote on last edited by
    #29

    Also Wenn Das, dann starte Script Sowieso?

    1 Reply Last reply
    0
    • DutchmanD Offline
      DutchmanD Offline
      Dutchman
      Developer Most Active Administrators
      wrote on last edited by
      #30

      @j.kowi:

      Also Wenn Das, dann starte Script Sowieso? `

      Global functions

      You can define the global scripts in the "global" folder. All global scripts are available on all instances. If global script is disabled, it will not be used. Global script will be just prepend to the normal script and compiled, so you cannot share data between scripts via global scrips. Use states for it.

      Lies Mich mal : >>> https://github.com/ioBroker/ioBroker.javascript

      1 Reply Last reply
      0
      • G Offline
        G Offline
        Gürol
        wrote on last edited by
        #31

        @j.kowi:

        Also Wenn Das, dann starte Script Sowieso? `
        Dem Blockly fehlt aber ein Block, um globale Funktionen aufrufen zu können.

        Man kann lediglich in Blockly eine Freitextfunktion definieren und dort eine globale Funktion aufrufen. Das ist aber arg arg umständlich.

        Gesendet von meinem SM-N910F mit Tapatalk

        1 Reply Last reply
        0
        • J Offline
          J Offline
          j.kowi
          wrote on last edited by
          #32

          Das hatte ich auch schon mal gelesen aber nicht begriffen, sorry. Mein Englisch ist nicht das beste.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            j.kowi
            wrote on last edited by
            #33

            Aha, vielen Dank für die Info.

            1 Reply Last reply
            0
            • J Offline
              J Offline
              j.kowi
              wrote on last edited by
              #34

              Sooo, das Zeitglied funktioniert jetzt seit dem ich alle Scripte im common habe.

              Aber ich bekomme jetzt immernoch eine Fehlermeldung im Log:

              javascript.0
              2017-10-16 16:54:00.850
              error
              change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
              cloud.0
              2017-10-16 16:54:00.851
              error
              change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
              history.0
              2017-10-16 16:54:00.851
              error
              change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
              admin.0
              2017-10-16 16:54:00.852
              error
              change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
              

              Was kann das sein?

              1 Reply Last reply
              0
              • DutchmanD Offline
                DutchmanD Offline
                Dutchman
                Developer Most Active Administrators
                wrote on last edited by
                #35

                @j.kowi:

                Sooo, das Zeitglied funktioniert jetzt seit dem ich alle Scripte im common habe.

                Aber ich bekomme jetzt immernoch eine Fehlermeldung im Log:

                javascript.0
                2017-10-16 16:54:00.850
                error
                change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
                cloud.0
                2017-10-16 16:54:00.851
                error
                change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
                history.0
                2017-10-16 16:54:00.851
                error
                change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
                admin.0
                2017-10-16 16:54:00.852
                error
                change ID is empty: {"common":{"enabled":119.6},"_id":null,"acl":{"object":1636}}
                

                Was kann das sein? `

                Poste bitte dein jetziges blockly

                –-----------------------

                Send from mobile device

                1 Reply Last reply
                0
                • J Offline
                  J Offline
                  j.kowi
                  wrote on last edited by
                  #36

                  Egal welchen script ich aktiviere…

                  1 Reply Last reply
                  0
                  • DutchmanD Offline
                    DutchmanD Offline
                    Dutchman
                    Developer Most Active Administrators
                    wrote on last edited by
                    #37

                    @j.kowi:

                    Egal welchen script ich aktiviere… `

                    doch waehre es hilflreich wen du postest was du genau probierst, machst du jetzt blockly oder javascript selber ? (wir haben keine glaskugel)

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      j.kowi
                      wrote on last edited by
                      #38

                      Ich habe jetzt alle Skripte deaktiviert. Und trotzdem kommt der Fehler.

                      1 Reply Last reply
                      0
                      • DutchmanD Offline
                        DutchmanD Offline
                        Dutchman
                        Developer Most Active Administrators
                        wrote on last edited by
                        #39

                        @j.kowi:

                        Ich habe jetzt alle Skripte deaktiviert. Und trotzdem kommt der Fehler. `

                        system mal neu gestartet ?

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          j.kowi
                          wrote on last edited by
                          #40

                          So sieht das jetzt aus…
                          3801_blcc9.png
                          3801_blcc10.png

                          1 Reply Last reply
                          0
                          • AlCalzoneA Offline
                            AlCalzoneA Offline
                            AlCalzone
                            Developer
                            wrote on last edited by
                            #41
                            {"common":{"enabled":119.6}
                            

                            sieht doch arg seltsam aus… Common.enabled ist üblicherweise ein boolean. Hast du mal irgendwo versucht, ein Objekt zu bearbeiten?

                            Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                            1 Reply Last reply
                            0
                            • J Offline
                              J Offline
                              j.kowi
                              wrote on last edited by
                              #42

                              Kann sein. Ich hab mal was gelöscht in der Objekteliste.

                              1 Reply Last reply
                              0
                              • rantanplanR Offline
                                rantanplanR Offline
                                rantanplan
                                wrote on last edited by
                                #43

                                Hallo j.kowi

                                Ich packe meine Blocklys weder in "Global" noch in "Common".
                                147_beispiel.png

                                Grüße

                                Rantanplan

                                CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                332

                                Online

                                32.7k

                                Users

                                82.5k

                                Topics

                                1.3m

                                Posts
                                Community
                                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                ioBroker Community 2014-2025
                                logo
                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Home
                                • Recent
                                • Tags
                                • Unread 0
                                • Categories
                                • Unreplied
                                • Popular
                                • GitHub
                                • Docu
                                • Hilfe