GithubHelp home page GithubHelp logo

franzstein / esp32-opensprinkler-wu-weatherservice Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 944 KB

ESP32 program to calculate %Watering for the OpenSprinkler System based on WeatherUndergroud PWS data

License: MIT License

C++ 95.65% C 4.35%
esp32-arduino opensprinkler weatherunderground

esp32-opensprinkler-wu-weatherservice's Introduction

ESP32-OpenSprinkler-WU-WeatherService

ESP32 program to calculate %Watering for the OpenSprinkler System based on WeatherUndergroud PWS data. Current and historical weather data is retrieved from WeatherUnderground by using the free API given to non-commercial Personal Weather Station (PWS) owners. Based on this weather data, the program performs the Zimmerman calculation and sends a corresponding API command to OpenSprinkler in order to update the watering percentage parameter. Additionally, it stops OpenSprinkler watering if there is any rainfall detected by the PWS and reported to WeatherUnderground.

Ideas for this program are derived from the following eBooks and websites:

Requirements:

  • an ESP-WROOM-32 NodeMCU (or similar)
  • a PWS sending data to WeatherUnderground
  • a PWS owners account on WeatherUnderground
  • an OpenSprinkler 3.0 to water the garden.

The program is tested within the following environment:

  • Netatmo Weather Station consisting of an indoor and an outdoor module, a rain gauge and a wind gauge. The outdoor module is protected by a sun shield
  • Meteoware Plus account, to connect the Netatmo Weather Station to the "Weather Underground" weather network
  • OpenSprinkler, App Version: 2.1.3, Firmware: 2.1.9(2), Hardware Version: 3.1 -DC

PLease note that this program is developed as a substitute for the OpenSprinkler weather service changing now to the "OpenWeatherMap" weather network, which is not supported by Meteoware Plus or Netatmo. The program is based on current and historical weather data. Weather forecasts are not taken into account. The program combines the weather adjustment methods Zimmerman and Automatic Rain Delay. Instead of setting the Watering% to 0 a rain delay of 3 hours is activated in case of rain detection.

The Weather Adjustment Method found in the OpenSprinkler Edit Options Menu has to be set to “Manual” to use this program.

esp32-opensprinkler-wu-weatherservice's People

Contributors

franzstein avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.