Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Zeitdifferenz Blockly - Raspberry System Zeit

    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

    Zeitdifferenz Blockly - Raspberry System Zeit

    This topic has been deleted. Only users with topic management privileges can see it.
    • Asgothian
      Asgothian Developer @JanHH last edited by

      @janhh sagte in Zeitdifferenz Blockly - Raspberry System Zeit:

      Hallo, hab in einem Blockly Script Problem mit der aktuellen Zeit.
      Im Blockly hab ich eine Stunde Differenz. Hab schon einiges gegoogelt aber so wirklich keine Lösung.
      Im Raspberry hab ich die Zeitzone auf Europa/ Berlin
      raspitime.jpg

      Da stimmt die Systemzeit die mit date angezeigt wird auch.

      Im Blockly fehlt mir wieder eine Stunde.
      raspitime2.jpg

      Woran kann das liegen und wie behebe ich das ?

      Welche Versionen hast du von

      • admin ?
      • JS Controller ?
      • JS Adapter ?

      Ist der Ort in der Konfiguration des ioBroker korrekt eingestellt >

      A.

      1 Reply Last reply Reply Quote 0
      • J
        JanHH @JanHH last edited by

        also der ort stimmt
        Versionen iovbroker 3.2.16 , note js 12.22.1 , npm 6.14.12 , admin 4.2.1

        BBTown 1 Reply Last reply Reply Quote 0
        • BBTown
          BBTown @JanHH last edited by

          @janhh
          Du wirst eine falsche Zeitzone im System zu haben.
          Diese kannst Du in der Konsole neu setzen.

          sudo timedatectl set-timezone Europe/Berlin
          
          J 1 Reply Last reply Reply Quote 0
          • J
            JanHH @BBTown last edited by

            @bbtown raspitime.jpg

            BBTown 1 Reply Last reply Reply Quote 0
            • BBTown
              BBTown @JanHH last edited by

              @janhh
              da war ich unaufmerksam 😎

              probiere doch mal folgendes:

              timedatectl set-local-rtc 1
              
              J 1 Reply Last reply Reply Quote 0
              • J
                JanHH @BBTown last edited by

                @bbtown Das ändert leider gar nichts ...
                wenn ich das mache gibt es eine meldung das das zu problemen führen kann und sagt mir ich soll
                timedatectl set-local-rtc 0 ausführen.

                J 1 Reply Last reply Reply Quote 0
                • J
                  JanHH @JanHH last edited by

                  @janhh Hab noch ein bischen rumprobiert aber alles ohne Erfolg.
                  Auch wenn ich die Timezone verstelle hat das keine Auswirkung im Blockly.

                  Bei der Infoseite des Iobroker's stimmt die Uhr auch.

                  Javascriot Version hab ich 5.1.3 , soll aktuelle Version sein.

                  Weiß da jemand vielleicht eine Rat ?

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

                    @janhh sagte in Zeitdifferenz Blockly - Raspberry System Zeit:

                    Bei der Infoseite des Iobroker's stimmt die Uhr auch.

                    das ist die Uhrzeit deines PCs

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

                      @homoran Das ganze läuft auf einem Raspberry 3 und die Uhrzeit auf dem Raspberry stimmt

                      raspiclock1.jpg

                      raspiclock2.jpg

                      Da sieht man das Problem ganz deutlich. Vorne in der Error Zeile stimmt die Uhrzeit und bei der Debug ausgabe fehlt eine Stunde.

                      raspiclock3.jpg

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

                        @janhh sagte in Zeitdifferenz Blockly - Raspberry System Zeit:

                        Das ganze läuft auf einem Raspberry 3

                        das weiß ich.
                        aber die Uhrzeit im Info Adapter/Admin ist trotzdem die vom PC!

                        @janhh sagte in Zeitdifferenz Blockly - Raspberry System Zeit:

                        Da sieht man das Problem ganz deutlich. Vorne in der Error Zeile stimmt die Uhrzeit und bei der Debug ausgabe fehlt eine Stunde.

                        auch das habe ich verstanden.
                        Nur die Ursache dafür nicht.

                        letzte Idee, wenn auch nicht wahrscheinlich.
                        was hast du im js-adapter für Koordinaten drin?

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

                          @homoran Ich hab das Problem gelöst ....

                          Ich hab die Einstellungen die Astro-Einstellungen des Javascript Adapters kontrolliert. Die waren auf "Verwenden Sie Systemeinstellungen" eingestellt und der Ort auch richtig eingestellt.

                          Nachdem ich das "Verwenden Sie Systemeinstellungen" aus und wieder eingeschaltet hatte hab ich die Einstellungen gespeichert.

                          Danach passt die Uhrzeit wieder.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          424
                          Online

                          31.9k
                          Users

                          80.1k
                          Topics

                          1.3m
                          Posts

                          4
                          12
                          817
                          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