Skip to content

PhilKes/WeMosWeather

Repository files navigation

WeMosWeather

3D Printed Solar powered Weather station

Station

Sketch

  • Arduino .ino Sketch for WeMos D1 mini/ESP (sketch_solar_weather_thingspeak)
  • Reads and Posts Sensor Data to Thingspeak in interval (every 5 min)
  • Uses ESP.deepSleep to save most Power

Dependencies

Android App

  • Fetches Data from Thingspeak Server
  • Displays Data on UI Dashboard
  • Shows History of all collected Data

TODOs

  • Home Screen Widget
  • Weather Prediction based on Pressure values

Dependencies

Thingspeak Api

  • Create a free Account on Thingspeak
  • Add a private Channel with Field 1 (Temperature), Field 2 (Pressure), Field 3 (Humidity)
  • To allow the Android App and WeMos Sketch to post/read Data to/from Thingspeak add the following files:

/sketch/solar_weather_thingspeak/api.h:

const char* api_key = <YOUR_THINGSPEAK_CHANNEL_API_KEY>;
char ssid[] = <YOUR_WIFI>;
char pass[] = <WIFI_PASSWORD>;

/android/app/src/main/res/values/api.xml:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <item name="THINGSPEAK_READ_KEY" type="string"><YOUR_THINGSPEAK_CHANNEL_READ_KEY></item>
    <item name="THINGSPEAK_CHANNEL" type="string"><YOUR_THINGSPEAK_CHANNEL_ID></item>
</resources>

Web Page

  • Alternative sketch_solar_weather_webasync
  • Basic static HTML Page to View Station Data directly from the WeMos
  • Bootstrap Design
  • URL: http://<WEMOS_IP_ADRESS>

Sources

About

WeMos + Solar powered WiFi Weather Station with Android App

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published