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]Neue Blockly Skripte funktionieren nicht

    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

    [Gelöst]Neue Blockly Skripte funktionieren nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Gezi70 last edited by Homoran

      @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

      Und ja, der virtuelle Taster erhält manuell einen Timestamp.

      dann liegt das Problem nicht an dem Skript un nicht an ioBroker

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

        @Homoran manuell erhält er den Zeitstempel, nicht aber über die Zeitschaltung. Es erfolgt auch keine Ausgabe über Debug ins Log...

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

          @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

          Es erfolgt auch keine Ausgabe über Debug ins Log...

          Du hast aber auch die Instanz auf debug gestellt?

          @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

          nicht aber über die Zeitschaltung

          aber danach hatte ich doch gefragt:

          @Homoran sagte in Neue Blockly Skripte funktionieren nicht:

          ob der virtuelle Taster zu der gewünschten Uhrzeit einen aktualisierten Timestamp erhält?

          Was heisst denn jetzt "manuell"

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

            @Homoran "manuell"heißt mittels Taster über Blockly, wie oben versucht.

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

              @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

              @Homoran "manuell"heißt mittels Taster

              Und was passiert wenn du es manuell über ioBroker auf der Seite Objekte machst?

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

                @Homoran es funktioniert auf diese Weise.
                Wie ich gerade nochmal versucht habe, muss es am Trigger "Zeitplan" liegen. Dort kommt zur gewünschten Zeit nicht mal eine Debug Ausgabe. Diese habe ich jetzt anstelle des Schalters gesetzt.

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

                  @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

                  es funktioniert auf diese Weise.

                  Jetzt kommen wir langsam systematisch weiter!

                  @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

                  muss es am Trigger "Zeitplan" liegen

                  Nimm mal einen einfachen CRON

                  @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

                  Dort kommt zur gewünschten Zeit nicht mal eine Debug Ausgabe

                  nochmals:
                  ist denn die Instanz überhaupt auf log-Stufe debug gestellt?

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

                    @Homoran ich stell mich wirklich nicht doof - aber welcher Baustein ist denn das?
                    Wenn ich die Tage angebe, muss ich doch die Zeit auch eingeben. Und dann ist alles wieder weg...

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

                      @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

                      aber welcher Baustein ist denn das?

                      Zeitplan - nicht Schedule
                      und da dann auf CRON

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

                        @Homoran Leider hat das auch nichts gebracht...
                        Screenshot (4).png

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

                          @Gezi70 Wenn du vom log redetest, meintest du immer diese Zeilen unter dem Blockly?
                          Da wird oft nichts angezeigt, da muss mal der Browser refreshed werden.
                          Da müsste ja zumindest stehen, dass das Script gestartet wurde

                          Sieh im normalen log nach!

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

                            @Homoran Ich hatte das eigentliche Log gemeint. Sowohl unterm Blockly als auch im "richtigen" Log wird nichts davon ausgegeben.

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

                              @Gezi70 mach mal einen Reboot des ioBroker servers
                              Da stimmt was nicht

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

                                @Homoran das habe ich heute Mittag schon mal gemacht, einschließlich reboot des Raspberry. Auch ein Upload vom Java Script Adapter hab ich heute Nachmittag schon gemacht (einschließlich Zittern, dass mirt die anderen Skripte nicht verloren gehen)...

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

                                  @Gezi70 Dann hast du ein Problem.

                                  Bei mir läuft es einwandfrei
                                  CRON_02.png

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

                                    @Homoran iobroker nochmal neu gestartet - jetzt geht es zumindest mit dem Log...
                                    Aber ich habe es nur mit "einmal" und "heute" gemacht.

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

                                      @Gezi70 Dann bitte jetzt einmal alle Versionen von:

                                      • js-controller
                                      • javascript
                                      • admin
                                      • node
                                      • npm

                                      Auf welcher Basis läuft dein ioBroker (Hardware und OS)?

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

                                        @Homoran

                                        raspberrypi

                                        Platform
                                        linux
                                        Betriebssystem
                                        linux
                                        Architektur
                                        arm
                                        CPUs
                                        4
                                        Geschwindigkeit
                                        1500 MHz
                                        Modell
                                        ARMv7 Processor rev 3 (v7l)
                                        RAM
                                        3.74 GB
                                        System Betriebszeit
                                        1 T. 21:48:52
                                        Node.js
                                        v10.23.0 (Empfohlene Version v12.20.0)
                                        Festplatte Größe
                                        229.01 GB
                                        Festplatte frei
                                        222.67 GB
                                        Anzahl der Adapter
                                        321
                                        NPM
                                        v6.14.8
                                        Betriebszeit
                                        00:11:24
                                        Aktive Instanzen
                                        33
                                        Hostname
                                        raspberrypi

                                        admin: 4.1.1
                                        javascript (script engine): 4.8.4

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

                                          @Gezi70 sagte in Neue Blockly Skripte funktionieren nicht:

                                          admin: 4.1.1

                                          das ist aber schon etwas älter, oder meinst du 4.1.10?

                                          Und der Controller fehlt noch

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

                                            @Homoran nein, da ist ne 1 verschwunden. 4.1.11 meine ich.
                                            Aber wo finde ich den Controller? Den suche ich die ganze Zeit.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            755
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly
                                            6
                                            66
                                            3440
                                            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