Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Praktische Anwendungen (Showcase)
    4. [Linux Shell-Skript] WLAN-Wetterstation

    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

    [Linux Shell-Skript] WLAN-Wetterstation

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

      @sborg sagte in [Linux Shell-Skript] WLAN-Wetterstation:

      ./wetterstation.sh --debug

      Datenübertragung an windy.com:
      {"observations":[{"index":1,"errors":[{"value":1751116443,"property":"ts","children":[],"constraints":{"isTimestampInLastNMinutes":"ts must be in last 60 minutes"}}]}],"stations":[]}
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Negalein last edited by

        @negalein sagte in [Linux Shell-Skript] WLAN-Wetterstation:

        1751116443

        Ist :
        Assuming that this timestamp is in seconds:
        GMT: Saturday, 28. June 2025 13:14:03
        Your time zone: Samstag, 28. Juni 2025 15:14:03 GMT+02:00 DST
        Relative: 2 hours ago

        Passt das?

        Negalein 1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator @Thomas Braun last edited by

          @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

          Passt das?

          ja, zu der Zeit war es ca. 15:14 MEZ

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Negalein last edited by

            @negalein

            Ich vermute, einer der beteiligten hosts hat eine falsche Zeitzone.

            Negalein 1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @Thomas Braun last edited by

              @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

              Ich vermute, einer der beteiligten hosts hat eine falsche Zeitzone.

              ioB
              Proxmox
              Wetter

              wie überprüf ich das?

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Negalein last edited by

                @negalein sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                wie überprüf ich das?

                Kommt auf das System an. Ich check es meist mit

                timedatectl
                
                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @Thomas Braun last edited by

                  @thomas-braun

                  ioB

                  nega@ioBroker:~$ timedatectl
                                 Local time: Sat 2025-06-28 18:42:46 CEST
                             Universal time: Sat 2025-06-28 16:42:46 UTC
                                   RTC time: n/a
                                  Time zone: Europe/Vienna (CEST, +0200)
                  System clock synchronized: yes
                                NTP service: inactive
                            RTC in local TZ: no
                  

                  Proxmox

                                 Local time: Sat 2025-06-28 18:44:05 CEST
                             Universal time: Sat 2025-06-28 16:44:05 UTC
                                   RTC time: Sat 2025-06-28 16:44:05
                                  Time zone: Europe/Vienna (CEST, +0200)
                  System clock synchronized: yes
                                NTP service: active
                            RTC in local TZ: no
                  

                  Wetter

                  kennt er nicht

                  dietpi@DietPi:~$ timedatectl
                  Failed to create bus connection: Datei oder Verzeichnis nicht gefunden
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Negalein last edited by Thomas Braun

                    @negalein

                    Joh, dietpi ist ja auch radikal zusammengestaucht. Da wird es wohl andere Befehle geben.

                    Siehe:
                    https://dietpi.com/forum/t/time/5537/2

                    Hab ich jetzt für dich ergoogelt.

                    Negalein 1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @Thomas Braun last edited by

                      @thomas-braun sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                      Siehe

                      das ist passend

                      c5b1dfdd-e0c5-4134-9de2-5d65b99733e9-image.png

                      SBorg 1 Reply Last reply Reply Quote 0
                      • SBorg
                        SBorg Forum Testing Most Active @Negalein last edited by

                        @negalein
                        Der angemeckerte TS (bzw. die Zeitdifferenz) stammt auch nicht vom System, dies ist der zu übertragene Zeitpunkt der Messung wann diese statt fand und der kommt direkt vom Display/Gateway. Stimmt die Uhrzeit vom Display/Gateway?

                        Negalein 1 Reply Last reply Reply Quote 0
                        • wendy2702
                          wendy2702 last edited by

                          Da hier die Wetterstations Profis sind erlaube ich mir mal eine Frage zu meiner Station hier zu verlinken

                          https://forum.iobroker.net/topic/81470/wetterstation-ventus-w830-zeigt-falsche-uhrzeit/5

                          Vielleicht hat ja jemand von hier eine Idee dazu.

                          Danke und schönen Sonntag

                          1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator @SBorg last edited by

                            @sborg sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                            Stimmt die Uhrzeit vom Display/Gateway?

                            Ja, die stimmt genau

                            SBorg 1 Reply Last reply Reply Quote 0
                            • SBorg
                              SBorg Forum Testing Most Active @Negalein last edited by

                              @negalein
                              Ich habe mir die Routine noch mal angesehen und ich lag falsch. Tatsächlich wird die Uhrzeit des Clients benutzt.

                              Dann versuchen wir es mal so wie die Routine es macht. Führe mal auf dem Skript-System ein date +%s aus. Da sollte nun als Ausgabe ein Uinxtimestamp erscheinen. Den kopierst du und fügst ihn mal bei bspw. unixtime.de ein.Das sollte dann dein aktuelles Datum und Uhrzeit sein.
                              Bild 001.png Bild 002.png

                              Negalein 1 Reply Last reply Reply Quote 0
                              • Negalein
                                Negalein Global Moderator @SBorg last edited by

                                @sborg sagte in [Linux Shell-Skript] WLAN-Wetterstation:

                                Das sollte dann dein aktuelles Datum und Uhrzeit sein.

                                ja, das passt +- ca. 30 Sek.

                                5c70da06-cb27-4d2c-8150-f81d903864b6-image.png

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                928
                                Online

                                31.8k
                                Users

                                80.0k
                                Topics

                                1.3m
                                Posts

                                linux shell-script wetterstation wlan-wetterstation
                                144
                                5503
                                3311748
                                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