Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. English
  3. Scripting / Logic
  4. Blockly
  5. Is there problem with Blockly after last update?

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.1k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Is there problem with Blockly after last update?

Scheduled Pinned Locked Moved Blockly
24 Posts 5 Posters 3.4k Views 2 Watching
  • 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.
  • A ap2017

    My simple Blockly script stopped working I believe after last script engine update. I am controlling light based on Astro block - I turn on light on sunset and turn it off at 11pm. I can still force light on and off from objects menu. I tried to reboot Raspberry, updated it to the latest software - nothing helps. Any idea what is going on? Blockly.JPG

    HomoranH Do not disturb
    HomoranH Do not disturb
    Homoran
    Global Moderator Administrators
    wrote on last edited by
    #2

    @ap2017
    Can you please provide the versions of Admin, js Adapter and Controller before and after update

    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ap2017
      wrote on last edited by
      #3

      Currently I have controller 1.5.7, admin 3.6.0 and script engine 4.1.12. Unfortunately I don't have records of these components version when my script was working. For some reason, I think that this malfunction is associated with scrip engine update since it is the most dynamic component (in terms of updates)

      HomoranH 1 Reply Last reply
      0
      • A ap2017

        Currently I have controller 1.5.7, admin 3.6.0 and script engine 4.1.12. Unfortunately I don't have records of these components version when my script was working. For some reason, I think that this malfunction is associated with scrip engine update since it is the most dynamic component (in terms of updates)

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #4

        @ap2017

        okay, let's try.

        If you click on "Level" in tehe control blocks.
        Ist there still a state connectet to?

        there was a renaming of some states from space to underscores

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        A 2 Replies Last reply
        0
        • HomoranH Homoran

          @ap2017

          okay, let's try.

          If you click on "Level" in tehe control blocks.
          Ist there still a state connectet to?

          there was a renaming of some states from space to underscores

          A Offline
          A Offline
          ap2017
          wrote on last edited by
          #5

          @Homoran Yes, the states are still there, after re-selecting the variable scrip did not ask to save, meaning no changes where made. See picture with Level definitionCapture.JPG

          1 Reply Last reply
          0
          • HomoranH Homoran

            @ap2017

            okay, let's try.

            If you click on "Level" in tehe control blocks.
            Ist there still a state connectet to?

            there was a renaming of some states from space to underscores

            A Offline
            A Offline
            ap2017
            wrote on last edited by
            #6

            @Homoran Don't know what happen but it started to work! The lamp just turned ON triggered by sunset. I hate when it fixes by itself... Thank you for your help!

            HomoranH 1 Reply Last reply
            0
            • A ap2017

              @Homoran Don't know what happen but it started to work! The lamp just turned ON triggered by sunset. I hate when it fixes by itself... Thank you for your help!

              HomoranH Do not disturb
              HomoranH Do not disturb
              Homoran
              Global Moderator Administrators
              wrote on last edited by
              #7

              @ap2017 sagte in Is there problem with Blockly after last update?:

              I hate when it fixes by itself..

              I do too!

              But it works. So have fun with it.

              kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

              A C 2 Replies Last reply
              0
              • HomoranH Homoran

                @ap2017 sagte in Is there problem with Blockly after last update?:

                I hate when it fixes by itself..

                I do too!

                But it works. So have fun with it.

                A Offline
                A Offline
                ap2017
                wrote on last edited by ap2017
                #8

                @Homoran It is acting up again. In due time (sunset) the light did not turn on. I will try different script configuration, for example replace Astro with Schedule and see how it works.

                HomoranH 1 Reply Last reply
                0
                • A ap2017

                  @Homoran It is acting up again. In due time (sunset) the light did not turn on. I will try different script configuration, for example replace Astro with Schedule and see how it works.

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #9

                  @ap2017
                  Did you enter your geo settings in system settings AND javascript configuration?

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  A 1 Reply Last reply
                  0
                  • HomoranH Homoran

                    @ap2017
                    Did you enter your geo settings in system settings AND javascript configuration?

                    A Offline
                    A Offline
                    ap2017
                    wrote on last edited by
                    #10

                    @Homoran If geo setting in system AND javascript configuration are accessible by wrench icon in upper left, yes I do have proper geo settings there.Capture.PNG

                    HomoranH 1 Reply Last reply
                    0
                    • A ap2017

                      @Homoran If geo setting in system AND javascript configuration are accessible by wrench icon in upper left, yes I do have proper geo settings there.Capture.PNG

                      HomoranH Do not disturb
                      HomoranH Do not disturb
                      Homoran
                      Global Moderator Administrators
                      wrote on last edited by Homoran
                      #11

                      @ap2017 sagte in Is there problem with Blockly after last update?:

                      javascript configuration

                      No, these are only the system settings.
                      JavaScript configuration has to be done at the instance config in the instances tab.

                      There you can choose between "use system settings" and entering the data.
                      If you did choose the system settings, please try settingvthe data here again.

                      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                      A 2 Replies Last reply
                      0
                      • HomoranH Homoran

                        @ap2017 sagte in Is there problem with Blockly after last update?:

                        javascript configuration

                        No, these are only the system settings.
                        JavaScript configuration has to be done at the instance config in the instances tab.

                        There you can choose between "use system settings" and entering the data.
                        If you did choose the system settings, please try settingvthe data here again.

                        A Offline
                        A Offline
                        ap2017
                        wrote on last edited by
                        #12

                        @Homoran Thank you for the explanation. My Astro settings at javascript instance were saved "used as system settings". Yesterday I changed script to turn on light by schedule instead of astro, it works so far, will monitor for a few days, then will try astro again.

                        1 Reply Last reply
                        0
                        • HomoranH Homoran

                          @ap2017 sagte in Is there problem with Blockly after last update?:

                          javascript configuration

                          No, these are only the system settings.
                          JavaScript configuration has to be done at the instance config in the instances tab.

                          There you can choose between "use system settings" and entering the data.
                          If you did choose the system settings, please try settingvthe data here again.

                          A Offline
                          A Offline
                          ap2017
                          wrote on last edited by ap2017
                          #13

                          @Homoran Modified script with schedule instead of astro runs fine. When I changed it back to astro it stopped running. I reset geo setting for astro, it did not help. I added telegram message pushing after each action in my script for troubleshooting purpose. Messaging confirmed that command to turn light ON never comes from astro, while command to turn light OFF comes properly from schedule. It looks that astro command stopped working after latest script update, or for some other reason. To prove the point I am installing previous available version 4.1.8 of script engine to try.

                          Capture.JPG

                          HomoranH 1 Reply Last reply
                          0
                          • A ap2017

                            @Homoran Modified script with schedule instead of astro runs fine. When I changed it back to astro it stopped running. I reset geo setting for astro, it did not help. I added telegram message pushing after each action in my script for troubleshooting purpose. Messaging confirmed that command to turn light ON never comes from astro, while command to turn light OFF comes properly from schedule. It looks that astro command stopped working after latest script update, or for some other reason. To prove the point I am installing previous available version 4.1.8 of script engine to try.

                            Capture.JPG

                            HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by
                            #14

                            @ap2017 sagte in Is there problem with Blockly after last update?:

                            added telegram message pushing after each action in my script for troubleshooting purpose.

                            Ther is a debug block available for just this purpose.

                            @ap2017 sagte in Is there problem with Blockly after last update?:

                            To prove the point I am installing previous available version 4.1.8 of script engine to try.

                            Please tell the result.

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            A 2 Replies Last reply
                            0
                            • HomoranH Homoran

                              @ap2017 sagte in Is there problem with Blockly after last update?:

                              added telegram message pushing after each action in my script for troubleshooting purpose.

                              Ther is a debug block available for just this purpose.

                              @ap2017 sagte in Is there problem with Blockly after last update?:

                              To prove the point I am installing previous available version 4.1.8 of script engine to try.

                              Please tell the result.

                              A Offline
                              A Offline
                              ap2017
                              wrote on last edited by ap2017
                              #15

                              @Homoran What changed in Forum rules? Why I am getting error message "you should set at least 1 tag" I am trying to make sense out of forum rules description, but don't get it.

                              1. Writing Topics:

                              a) Subject:

                              Use the following scheme: [Open/Closed]* [(Tag, look at the list)] Titel of topic
                              *Only questions or errors. If a question is answered or a bug has been fixed, the subject of the topic is to be set from "Open" to "Resolved".

                              Tag List:

                              [Question] = General or whether something is possible.

                              [Problem] = Should indicate that the user has a problem.

                              [Bug] or [Error] = If an error in ioBroker or an adapter is meant, anything else is a problem until it has been determined if it is an error.

                              [Survey] = I think it's clear

                              [Hint] = Indicates additional information about ioBroker and the technology.

                              [Instructions] or [HowTo] = Should indicate that it is a question of help and is not a question, problem or something else.

                              [Experience] = Self-explanatory, the content must reflect an experience, otherwise it is a question.

                              [Template] = The content is a script, widget, view or other content that can be used by anyone.

                              [Project] = Presentation of a revised idea.

                              HomoranH 1 Reply Last reply
                              0
                              • A ap2017

                                @Homoran What changed in Forum rules? Why I am getting error message "you should set at least 1 tag" I am trying to make sense out of forum rules description, but don't get it.

                                1. Writing Topics:

                                a) Subject:

                                Use the following scheme: [Open/Closed]* [(Tag, look at the list)] Titel of topic
                                *Only questions or errors. If a question is answered or a bug has been fixed, the subject of the topic is to be set from "Open" to "Resolved".

                                Tag List:

                                [Question] = General or whether something is possible.

                                [Problem] = Should indicate that the user has a problem.

                                [Bug] or [Error] = If an error in ioBroker or an adapter is meant, anything else is a problem until it has been determined if it is an error.

                                [Survey] = I think it's clear

                                [Hint] = Indicates additional information about ioBroker and the technology.

                                [Instructions] or [HowTo] = Should indicate that it is a question of help and is not a question, problem or something else.

                                [Experience] = Self-explanatory, the content must reflect an experience, otherwise it is a question.

                                [Template] = The content is a script, widget, view or other content that can be used by anyone.

                                [Project] = Presentation of a revised idea.

                                HomoranH Do not disturb
                                HomoranH Do not disturb
                                Homoran
                                Global Moderator Administrators
                                wrote on last edited by
                                #16

                                @ap2017 sagte in Is there problem with Blockly after last update?:

                                Why I am getting error message "you should set at least 1 tag"

                                In some Subforums you have to enter a tag in the Field below the text input field

                                That's not the actual tag list.
                                many tags can be entered without any restrictions, only SOME subforums have a predefined choice

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                A 1 Reply Last reply
                                0
                                • HomoranH Homoran

                                  @ap2017 sagte in Is there problem with Blockly after last update?:

                                  Why I am getting error message "you should set at least 1 tag"

                                  In some Subforums you have to enter a tag in the Field below the text input field

                                  That's not the actual tag list.
                                  many tags can be entered without any restrictions, only SOME subforums have a predefined choice

                                  A Offline
                                  A Offline
                                  ap2017
                                  wrote on last edited by
                                  #17

                                  @Homoran Got it, thank you. I probably sound like the most stupid user ever... Added new topic in general area

                                  1 Reply Last reply
                                  0
                                  • HomoranH Homoran

                                    @ap2017 sagte in Is there problem with Blockly after last update?:

                                    added telegram message pushing after each action in my script for troubleshooting purpose.

                                    Ther is a debug block available for just this purpose.

                                    @ap2017 sagte in Is there problem with Blockly after last update?:

                                    To prove the point I am installing previous available version 4.1.8 of script engine to try.

                                    Please tell the result.

                                    A Offline
                                    A Offline
                                    ap2017
                                    wrote on last edited by ap2017
                                    #18

                                    @Homoran said in Is there problem with Blockly after last update?:

                                    @ap2017 sagte in Is there problem with Blockly after last update?:

                                    added telegram message pushing after each action in my script for troubleshooting purpose.

                                    Ther is a debug block available for just this purpose.

                                    @ap2017 sagte in Is there problem with Blockly after last update?:

                                    To prove the point I am installing previous available version 4.1.8 of script engine to try.

                                    Please tell the result.

                                    After weeks of testing with Blockly version 4.1.8 then with version 4.0.12, I don't see ASTRO block operating stable. Sometimes it work, most of the time it does not. My telegram reports if light is ON only when ASTRO is working, while always reports light is OFF driven by schedule command. The fact that when ASTRO is not working I am not getting message from telegram tells me that ASTRO block is not being executed.

                                    Also, just noticed that at about same time I expect ASTRO to run, I am getting error log associated with openweathermap adapter, see below. Can this be related? Next will disable openweathermap and see if ASTRO is working.

                                    2019-04-09 18:15:00.171 - info: host.ioBroker-Pi instance system.adapter.openweathermap.0 started with pid 6798
                                    2019-04-09 18:15:04.884 - info: openweathermap.0 States connected to redis: 127.0.0.1:6379
                                    2019-04-09 18:15:05.352 - info: openweathermap.0 starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.openweathermap, node: v6.14.3
                                    2019-04-09 18:15:09.579 - info: host.ioBroker-Pi instance system.adapter.openweathermap.0 terminated with code 0 (OK)

                                    1 Reply Last reply
                                    0
                                    • apollon77A Online
                                      apollon77A Online
                                      apollon77
                                      wrote on last edited by
                                      #19

                                      Can you please show the Javascript the blockly has generated?

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      A 1 Reply Last reply
                                      0
                                      • chefkoch009C Offline
                                        chefkoch009C Offline
                                        chefkoch009
                                        Developer
                                        wrote on last edited by
                                        #20

                                        @ap2017: I see you are using node: v6.14.3

                                        Have you tried to make an update to latest stable version of node? I think you should try at min 8.x, but 10.x should be better. There have been many significant changes between the major versions.
                                        However, give it a try and please post your result.

                                        chefkoch009

                                        A 1 Reply Last reply
                                        0
                                        • apollon77A apollon77

                                          Can you please show the Javascript the blockly has generated?

                                          A Offline
                                          A Offline
                                          ap2017
                                          wrote on last edited by
                                          #21

                                          @apollon77 said in Is there problem with Blockly after last update?:

                                          Can you please show the Javascript the blockly has generated?

                                          // Living Room Light
                                          schedule({astro: "goldenHour", shift: 0}, function () {
                                          setState("zwave.0.NODE12.SWITCH_MULTILEVEL.Level_1"/Level/, 99);
                                          sendTo("telegram.0", "send", {
                                          text: 'Light is ON'
                                          });
                                          console.debug("telegram: " + 'Light is ON');
                                          });
                                          schedule("30 23 * * *", function () {
                                          setState("zwave.0.NODE12.SWITCH_MULTILEVEL.Level_1"/Level/, 0);
                                          sendTo("telegram.0", "send", {
                                          text: 'Light is OFF'
                                          });
                                          console.debug("telegram: " + 'Light is OFF');
                                          });

                                          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

                                          603

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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