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.
    • Negalein
      Negalein Global Moderator @sonystar last edited by

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

      Langsam nimmt meine Visu auch Formen an

      schaut gut aus!

      Würdest du den mittleren und rechten unteren Teil als Json exportieren?
      Oder falls einzeln nicht geht, das ganze Dashboard.

      Würde gern Teile davon übernehmen.

      S 1 Reply Last reply Reply Quote 0
      • S
        sonystar @Negalein last edited by

        @Negalein

        Danke!

        Wenn du mir sagst wie das geht mach ich das gerne.
        Rechts unten sind allerdings Datenpunkte aus dem Sourceanalytix-Adapter.

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

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

          Wenn du mir sagst wie das geht mach ich das gerne.

          Danke

          log.gif

          Rechts unten sind allerdings Datenpunkte aus dem Sourceanalytix-Adapter.

          kein Problem. Damit logge ich auch.

          S 1 Reply Last reply Reply Quote 0
          • S
            sonystar @Negalein last edited by

            @Negalein
            Hier (hoffentlich) das JSON für das Diagramm unten rechts.

            {
              "fieldConfig": {
                "defaults": {
                  "custom": {},
                  "unit": "lengthmm",
                  "decimals": 1,
                  "thresholds": {
                    "mode": "absolute",
                    "steps": [
                      {
                        "color": "dark-blue",
                        "value": null
                      }
                    ]
                  },
                  "mappings": []
                },
                "overrides": []
              },
              "gridPos": {
                "h": 8,
                "w": 12,
                "x": 0,
                "y": 0
              },
              "id": 23763571993,
              "options": {
                "reduceOptions": {
                  "values": false,
                  "calcs": [
                    "max"
                  ],
                  "fields": ""
                },
                "orientation": "horizontal",
                "displayMode": "basic",
                "showUnfilled": true
              },
              "pluginVersion": "7.3.4",
              "targets": [
                {
                  "alias": "Januar",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.01_January",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "A",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "Februar",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.02_February",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "B",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "März",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.03_March",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "C",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "April",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.04_April",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "D",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "Mai",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.05_May",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "E",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "Juni",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.06_June",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "F",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "Juli",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2020.consumed.months.07_July",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "G",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "mean"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "August",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.08_August",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "H",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "September",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.09_September",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "I",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "Oktober",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.10_October",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "J",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "November",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.11_November",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "K",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                },
                {
                  "alias": "Dezember",
                  "groupBy": [
                    {
                      "params": [
                        "$__interval"
                      ],
                      "type": "time"
                    },
                    {
                      "params": [
                        "null"
                      ],
                      "type": "fill"
                    }
                  ],
                  "measurement": "sourceanalytix.0.javascript__0__Wetterstation__Regen_Jahr.2021.consumed.months.12_December",
                  "orderByTime": "ASC",
                  "policy": "default",
                  "refId": "L",
                  "resultFormat": "time_series",
                  "select": [
                    [
                      {
                        "params": [
                          "value"
                        ],
                        "type": "field"
                      },
                      {
                        "params": [],
                        "type": "max"
                      }
                    ]
                  ],
                  "tags": []
                }
              ],
              "timeFrom": null,
              "timeShift": null,
              "title": "Niederschlagsmenge 2021",
              "type": "bargauge",
              "datasource": null
            }
            

            Die Visu ist allerdings in VIS aufgebaut, nur die Diagramme kommen aus Grafana.

            Negalein Nashra 2 Replies Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator @sonystar last edited by

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

              Hier (hoffentlich) das JSON für das Diagramm unten rechts.

              Danke, hat geklappt! 🙂
              Schaffst du den mittleren Teil auch noch?

              S 1 Reply Last reply Reply Quote 0
              • S
                sonystar @Negalein last edited by

                @Negalein

                Wie gesagt, die Visu ist in VIS, nur die Diagramme kommen aus Grafana.
                Kann dir gerne den View exportieren wenn du das möchtest?

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

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

                  Wie gesagt, die Visu ist in VIS, nur die Diagramme kommen aus Grafana.

                  Ah, jetzt versteh ich! 🙂

                  Kann dir gerne den View exportieren wenn du das möchtest?

                  Ja bitte

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sonystar @Negalein last edited by sonystar

                    @Negalein

                    Hier der View aus VIS


                    Neues Textdokument.txt

                    Mir gefällt die Windrose noch nicht, da hätte ich gerne so etwas wie @Glasfaser z.B., aber in Vis. Bin da noch nicht so richtig dahintergestiegen.

                    Glasfaser 1 Reply Last reply Reply Quote 2
                    • Glasfaser
                      Glasfaser @sonystar last edited by

                      @sonystar

                      Brauchst du das !?

                      1.JPG

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

                        @Glasfaser Wenn du so freundlich wärst? Kommt das aus VIS oder Grafana?

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

                          @sonystar

                          Ist aus VIS

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

                            @Glasfaser

                            Dann bitte ja 😊

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

                              1.JPG

                              View.txt


                              windfinder_windrose.png kompass_2_nadel.png
                              1560763672848-sonne.png


                              Einstellung im Widget
                              .
                              1.JPG
                              .

                              <img style="transform: rotate({javascript.0.Wetterstation.Windrichtung}deg); position: absolute; width: 100%;" src="/vis.0/Home/Wetter/kompass_2_nadel.png" data-pin-nopin="true">
                              

                              /vis.0/Home/Wetter/kompass_2_nadel.png

                              diesen Pfad an deinen anpassen


                              CSS Hintergrundelement

                              .transparent_box{
                                  opacity:0.8;
                                  background-color:#ffffff;
                                  padding-left:0px;
                                  padding-top:0px;
                                  border:#acacac solid 0px;
                                  border-radius:8px;
                                  box-shadow:6px 0px 12px 0 #161616;
                                  z-index:1;
                              }
                              

                              SBorg T 2 Replies Last reply Reply Quote 5
                              • Glasfaser
                                Glasfaser @sonystar last edited by

                                @sonystar

                                Habe es als ganzes Exportiert !

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

                                  @Glasfaser

                                  Dankeschön hat funktioniert!

                                  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 Bitte in deinem Startbeitrag verlinken

                                    Danke und done... 👍

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

                                      Neue Version des Wetterstation-Statistik-Addons auf GitHub V0.1.9

                                      • +Regenmenge eines kpl. Monats im Jahr und Rekord

                                      Wie immer zu finden im GitHub (wetterstation-statistik.js)

                                      Dabei wird der Jahreswert nur zum 01. des Monats aktualisiert (sollte also am 01.02. auf jeden Fall eine Menge stehen, denn aktuell ist es ja "Null"; dann halt nur noch wenn im entsprechenden Monat mehr Regen fiel als bei allen bisherigen Monaten diesen Jahres).
                                      Abweichend davon wird der Rekordwert aber täglich geschrieben. Sollte sich also ggf. bis 31.01. zu einem Monatsrekordwert aufsummieren, dann nur noch wenn auch tatsächlich ein neuer Rekordwert erreicht wurde.

                                      Beispiel: 5mm Regen an drei Tagen im Monat
                                      Jahreswert zeigt am folgenden 01. 15mm/m² an
                                      Rekord zeigt am 1. Tag 5mm, am 2. Tag 10mm, am 3. Tag 15mm an und verbleibt dann bei 15mm im Monat xyz

                                      nächster Monat kein Regen:
                                      Jahreswert dann am 01. weiterhin 15mm (war ja kein neuer Rekord für dieses Jahr)
                                      Rekord (er summiert zwar munter weiter, aber 0 + 0 + 0 + ....+0 = immer noch 0), ebenfalls weiterhin bei 15mm

                                      Monat(e) mit weniger als den 15mm : es bleibt wie es ist...

                                      Monsun-Monat: 5 Tage a 10mm
                                      Jahreswert zeigt dann am folgenden 01. 50mm an (war ja ein neuer Rekord für dieses Jahr)
                                      Rekord zeigt dann am 1. Tag weiterhin die bisherigen 15mm (ist ja noch kein neuer Rekord), am 2. Tag jetzt aber 20mm (da neuer Rekord), am 3. Tag 30mm (da wieder neuer Rekord), am 4. Tag 40mm (da schon wieder neuer Rekord) und am 5. Tag 50mm (da abermals neuer Rekord) an und verbleibt dann bei 50mm im Monat xyz bis er (oder auch nie mehr) gebrochen wird. Am Monatsersten wird dann der interne Wert wieder genullt und neu addiert.

                                      Verwirrt? Keine Ahnung wie man das "einfach" schreibt...

                                      da_Woody Nashra S SBorg 4 Replies Last reply Reply Quote 2
                                      • da_Woody
                                        da_Woody @SBorg last edited by

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

                                        Verwirrt? Keine Ahnung wie man das "einfach" schreibt...

                                        tögal, hauptsache funzt! Cheerlie.gif

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

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

                                          Verwirrt? Keine Ahnung wie man das "einfach" schreibt...

                                          😵 wenn's klappt, ok

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sonystar @SBorg last edited by

                                            @SBorg TOP! 👍 👍

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            908
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            linux shell-script wetterstation wlan-wetterstation
                                            141
                                            5469
                                            3243746
                                            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