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

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Linux Shell-Skript] WLAN-Wetterstation

    This topic has been deleted. Only users with topic management privileges can see it.
    • Glasfaser
      Glasfaser @crunchip last edited by

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

      @ilovegym Der Ostwind geht dir dann aber flöten?

      Der Mast ist bei ihm Variabel , der fährt dann Nachts aus , damit der Flugbetrieb nicht gestört wird 😎

      1 Reply Last reply Reply Quote 1
      • Nashra
        Nashra Most Active Forum Testing last edited by

        Da baut der das Teil erstmal auseinander. @SBorg du bist mir einer 😂

        1 Reply Last reply Reply Quote 0
        • Nashra
          Nashra Most Active Forum Testing @crunchip last edited by

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

          @Nashra hier mal das einzelne json nur für Regenmenge


          {
          "datasource": null,
          "gridPos": {
          "h": 4,
          "w": 6,
          "x": 9,
          "y": 8
          },
          "hideTimeOverride": true,
          "id": 5,
          "options": {
          "displayMode": "lcd",
          "orientation": "horizontal",
          "fieldOptions": {
          "values": false,
          "calcs": [
          "lastNotNull"
          ],
          "defaults": {
          "min": 0,
          "max": 1200,
          "thresholds": [
          {
          "color": "rgb(15, 31, 171)",
          "value": null
          }
          ],
          "mappings": [],
          "unit": "lengthmm"
          },
          "override": {}
          }
          },
          "pluginVersion": "6.5.2",
          "targets": [
          {
          "alias": "Jahr",
          "groupBy": [
          {
          "params": [
          "$__interval"
          ],
          "type": "time"
          },
          {
          "params": [
          "null"
          ],
          "type": "fill"
          }
          ],
          "measurement": "javascript.0.Wetterstation.Regen_Jahr_kumuliert",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "A",
          "resultFormat": "time_series",
          "select": [
          [
          {
          "params": [
          "value"
          ],
          "type": "field"
          },
          {
          "params": [],
          "type": "mean"
          }
          ]
          ],
          "tags": []
          },
          {
          "alias": "Monat",
          "groupBy": [
          {
          "params": [
          "$__interval"
          ],
          "type": "time"
          },
          {
          "params": [
          "null"
          ],
          "type": "fill"
          }
          ],
          "measurement": "javascript.0.Wetterstation.Regen_Monat",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "D",
          "resultFormat": "time_series",
          "select": [
          [
          {
          "params": [
          "value"
          ],
          "type": "field"
          },
          {
          "params": [],
          "type": "mean"
          }
          ]
          ],
          "tags": []
          },
          {
          "alias": "Woche",
          "groupBy": [
          {
          "params": [
          "$__interval"
          ],
          "type": "time"
          },
          {
          "params": [
          "null"
          ],
          "type": "fill"
          }
          ],
          "measurement": "javascript.0.Wetterstation.Regen_Woche",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "B",
          "resultFormat": "time_series",
          "select": [
          [
          {
          "params": [
          "value"
          ],
          "type": "field"
          },
          {
          "params": [],
          "type": "mean"
          }
          ]
          ],
          "tags": []
          },
          {
          "alias": "Tag",
          "groupBy": [
          {
          "params": [
          "$__interval"
          ],
          "type": "time"
          },
          {
          "params": [
          "null"
          ],
          "type": "fill"
          }
          ],
          "measurement": "javascript.0.Wetterstation.Regen_Tag",
          "orderByTime": "ASC",
          "policy": "default",
          "refId": "C",
          "resultFormat": "time_series",
          "select": [
          [
          {
          "params": [
          "value"
          ],
          "type": "field"
          },
          {
          "params": [],
          "type": "mean"
          }
          ]
          ],
          "tags": []
          }
          ],
          "timeFrom": "1d",
          "timeShift": null,
          "title": "Regenmenge",
          "transparent": true,
          "type": "bargauge"
          }

          aktuelle view und json ist oben im Beitrag

          Irgendwie stehe ich heute auf dem Schlauch, wie bekomme ich das ausgetauscht?

          Glasfaser crunchip 2 Replies Last reply Reply Quote 0
          • Glasfaser
            Glasfaser @Nashra last edited by Glasfaser

            @Nashra

            Das Dashboard Json von crunchip klappte auf anhieb , brauchte nur die influxdb anwählen wo ich es Importiert habe .

            No Date würde bei dir heißen , das nichts in Influx geloggt ist bei den Datenpunkten .

            Hier der Screenshot von der Regenmenge :
            1.JPG

            @crunchip kannst du es als Textdatei hinterlegen

            crunchip 1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Glasfaser last edited by crunchip

              @Glasfaser @Nashra hier als Textdatei. Datenpunkte sind alle Original gelassen, wie auch im Script, also javascript.0.Wetterstation.xyz
              Regenmenge.txt

              1 Reply Last reply Reply Quote 1
              • crunchip
                crunchip Forum Testing Most Active @Nashra last edited by

                @Nashra willst du die ganze View oder nur Regen austauschen?

                Glasfaser Nashra 2 Replies Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @crunchip last edited by

                  @crunchip

                  Bei mir passt es .... war nur für @Nashra
                  👍

                  1 Reply Last reply Reply Quote 0
                  • Nashra
                    Nashra Most Active Forum Testing @crunchip last edited by

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

                    @Nashra willst du die ganze View oder nur Regen austauschen?

                    Bitte die ganze View, habe mir gerade alles zerschossen 🙄

                    crunchip 1 Reply Last reply Reply Quote 0
                    • crunchip
                      crunchip Forum Testing Most Active @Nashra last edited by crunchip

                      @Nashra allerdings sind in dieser View zusätzliche plugins, die benötigt werden

                      • Boom Theme (Oben rechts im Dashboard)...ist für Hindergrund
                      • Bar Gauge
                      • Windrose
                      • Table
                      • Singlestat
                      • Graph

                      Wetterstation mit Hintergrund.txt
                      806b3bab-133e-4675-beb3-df820be06beb-image.png

                      Glasfaser S Nashra 3 Replies Last reply Reply Quote 5
                      • Glasfaser
                        Glasfaser @crunchip last edited by Glasfaser

                        @crunchip

                        Das sieht mal Geil aus 😎

                        Wie schaltet man den Hintergrund ein , habe gerade einen neuen Import von "Wetterstation mit Hintergrund " der Hintergrund ist schwarz

                        crunchip 1 Reply Last reply Reply Quote 0
                        • crunchip
                          crunchip Forum Testing Most Active @Glasfaser last edited by crunchip

                          @Glasfaser https://grafana.com/grafana/plugins/yesoreyeram-boomtheme-panel
                          sieht dann so aus, Neues Thema "Wetterstation" hinzugefügt, custom Style vom Night Theme hinein kopiert.
                          Pfad der Bilder(die müssen selbst ausgesucht und reinkopiert werden), siehe
                          b4aefec9-759a-4269-8ac9-7e86e4f297bc-image.png

                          edbb1cec-a529-4376-be6b-090963f82cd7-image.png
                          bild der View
                          wetter1.jpg
                          hier noch ein paar andere
                          bilder-wetterstation.zip

                          Glasfaser 1 Reply Last reply Reply Quote 3
                          • S
                            skokarl @crunchip last edited by

                            @crunchip
                            super geil

                            1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @crunchip last edited by

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

                              @Glasfaser https://grafana.com/grafana/plugins/yesoreyeram-boomtheme-panel
                              sieht dann so aus, Neues Thema "Wetterstation" hinzugefügt, custom Style vom Night Theme hinein kopiert.

                              😭 Nächste Baustelle

                              Das Problem ist ... Grafana ist im Synology Docker da habe ich kein Zugriff auf den Ordner 🤔

                              Aber ist nicht so wichtig ... ´werde es nach Zeiten herrausfinden

                              crunchip 1 Reply Last reply Reply Quote 0
                              • crunchip
                                crunchip Forum Testing Most Active @Glasfaser last edited by

                                @Glasfaser der Pfad sollte ja keine Rolle spielen, kannst du auch woanders ablegen. Genauso geht ja auch z.b. ein http Link, den du einbinden kannst. Gibt ja mehrere Möglichkeiten

                                Glasfaser 1 Reply Last reply Reply Quote 1
                                • Glasfaser
                                  Glasfaser @crunchip last edited by

                                  @crunchip sagte in [Linux Shell-Skript] WLAN-Wetterstation:
                                  Danke trotzdem ,rennt nicht weg 😉

                                  1 Reply Last reply Reply Quote 0
                                  • Neuschwansteini
                                    Neuschwansteini @crunchip last edited by

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

                                    @ilovegym Der Ostwind geht dir dann aber flöten?

                                    Ja, noch, war ne schnelle Kabelbinder Montage bei Regenwetter 🙈🙈🤣🤣
                                    Die bleibt da nicht.

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

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

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

                                      Wäre toll, da mir für mein "Pimp up your weatherstation"

                                      Dann würde ich aber einen neuen Thread dafür aufmachen 😂

                                      Hehehe...+ klick 😂

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

                                      Da baut der das Teil erstmal auseinander. @SBorg du bist mir einer 😂

                                      Besser als wenn sie schon montiert ist 😇 😁

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        rollerfreak2 last edited by

                                        Hi zusammen, ich bin der Anleitung gefolgt und soweit funktioniert auch alles, bis auf den cronjob. Mein IoBroker läuft in einem Docker Container auf meinem Synology DS218+. Das mit dem cronjob läuft aber irgendwie nicht. Kann es sein das dass @reboot im Docker nicht funktioniert? So sieht mein cronjob aus (crontab -l)

                                        @reboot /opt/iobroker/wetterstation.sh &                                        
                                        2 0 * * * pkill -9 wetterstation.* && /opt/iobroker/wetterstation.sh &                                                                                      
                                        

                                        Wenn ich das hier in der Console setze klappt die Übertragung. Ich schaffe es aber nicht das als cronjob zu konfiguieren.

                                        setsid /opt/iobroker/wetterstation.sh > /dev/null 2>&1 < /dev/null
                                        

                                        Hat jemand eine Idee was ich falsch mache? Hinweis ich musste vorher im docker auch erst crontab installieren (apt install cron), das fand ich etwas komisch, ist das nicht immer mit dabei? Als Container verwende ich "buanet/iobroker:latest"

                                        SBorg Glasfaser 2 Replies Last reply Reply Quote 0
                                        • SBorg
                                          SBorg Forum Testing Most Active @rollerfreak2 last edited by

                                          @rollerfreak2 Hi, so wie ich das lese, musst du noch den User bei der Synology hinzufügen:

                                          @reboot root /opt/iobroker/wetterstation.sh &                                        
                                          2 0 * * * root pkill -9 wetterstation.* && /opt/iobroker/wetterstation.sh & 
                                          

                                          Quelle

                                          "reboot" kennt sie auch 🙂

                                          R 1 Reply Last reply Reply Quote 0
                                          • Nashra
                                            Nashra Most Active Forum Testing @crunchip last edited by Nashra

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

                                            @Nashra allerdings sind in dieser View zusätzliche plugins, die benötigt werden

                                            • Boom Theme (Oben rechts im Dashboard)...ist für Hindergrund
                                            • Bar Gauge
                                            • Windrose
                                            • Table
                                            • Singlestat
                                            • Graph

                                            Wetterstation mit Hintergrund.txt

                                            Hallo @crunchip erstmal Danke für View.
                                            Habe es soweit alles hinbekommen aber einige Sachen wollen einfach nicht
                                            d.h. ich kann einstellen was ich will, es werden keine Daten (rot) angezeigt.
                                            Vllt weißt Du ja woran es liegen könnte, mir fällt im Moment nichts ein 😞
                                            wetterstation-grafana2a.PNG

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            660
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            linux shell-script wetterstation wlan-wetterstation
                                            143
                                            5478
                                            3272623
                                            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