/Python-WLAN-Wetterstation

schafft eine Verbindung von einer WLAN-Wetterstation zur openSenseMap

Primary LanguagePython

⛅ WLAN-Wetterstation



License

Implements a small Wunderground-Server in a flask python-webapp und establishes a connection to a WiFi weather station. Streams the current weather condition data to openSenseMap. (Runs on linux, e.g. on Raspberry Pi OS)
Adapts SBorg2014/WLAN-Wetterstation from bash to a lightweight python script.

Beispiel

Broadcasting the current weather conditions in our Dortmund Schrebergarten. Check it out on OpenSenseMap.

Usage

git clone https://github.com/Whadup/WLAN-Wetterstation
cd WLAN-Wetterstation
#Configure sensebox id in app.py
#Configure login and passwords
printf "{email}\n{password}\n{sensebox-auth-token}\n" > osm-credentials.txt
flask run

Compatible Hardware

List taken from @SBorg2014:

Die Wetterstation muss dazu in der Lage sein ihre Daten im "Wunderground"-Format zu senden.

Bisher getestete Stationen:

  • DNT Weatherscreen PRO
  • ELV WS980WiFi
  • Eurochron EFWS 2900 (baugleich zu Sainlogic 10in1 Wifi, Ambient Weather WS-2902, Chilitec CTW-902 Wifi)
  • Froggit
    • HP1000SE Pro
    • WH3000 SE
    • WH4000 SE
  • Renkforce WH2600
  • Sainlogic 7in1 WiFi WS3500
  • Ventus W830

Zusatzsensoren (mittels Station oder Gateway DP1500/GW1000):

  • bis zu 8 Stück DP50/WH31 Temperatur-/Luftfeuchtigkeit-Sensoren
  • ein DP60/WH57 Blitzsensor
  • bis zu 4 Stück DP70/WH55 Wasserleckage-Sensoren
  • bis zu 8 Stück DP100/WH51 Bodenfeuchte-Sensoren
  • bis zu 4 Stück DP200/WH43 PM2.5 Feinstaub-Sensoren

Experimentell (über eigenen DNS-Server):

  • Stationen ohne Möglichkeit der Konfiguration mittels App WS View wie bspw. Sainlogic Profi Wlan Wetterstation FT0300
  • Installation siehe WiKi



📜 License

MIT License

Copyright (c)2021 by Whadup

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.