Skip to content

DarknessFX/FXNode_Weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

 .----------------.  .----------------.  .----------------. 
| .--------------. || .--------------. || .--------------. |
| |  ________    | || |  _________   | || |  ____  ____  | |
| | |_   ___ `.  | || | |_   ___  |  | || | |_  _||_  _| | |
| |   | |   `. \ | || |   | |_  \_|  | || |   \ \  / /   | |
| |   | |    | | | || |   |  _|      | || |    > `' <    | |
| |  _| |___.' / | || |  _| |_       | || |  _/ /'`\ \_  | |
| | |________.'  | || | |_____|      | || | |____||____| | |
| |              | || |              | || |              | |
| '--------------' || '--------------' || '--------------' |
 '----------------'  '----------------'  '----------------' 

       DarknessFX @ https://dfx.lv | Twitter: @DrkFX

FXNode_Weather For M5StickC

Connect to your WiFi AP SSID List, gather data from OpenWeather and NTP, display cycles the current Weather and Time.

M5StickC @ https://m5stack.com/collections/m5-core/products/stick-c

Features

  • Display presents current Clock (10secs) and Weather (20secs).
  • Every 10 minutes the M5StickC updates the Weather API data.
  • Click Button A (M5) to manually force the Weather API refresh.

Getting Started

Prerequisites

  • Have a M5StickC (or adapt the code to any ESP32 + LCD).
  • Have M5StickC / ESP32 development environment.
    (example: ArduinoIDE + ESP32 @ Board Manager + ESP32 Pico @ Libraries Manager).

Requisites

Before upload the code, change the following code lines :

String weather_cityID = "";        // Your OpenWeather CityID. 
String weather_APIKEY = "";        // Your OpenWeather API Key
...
WiFi_Data[0].ssid = "";            // Your WiFi AP SSID
WiFi_Data[0].pass = "";            // Your WiFi AP Password

Installing

Compile and upload the project files to your M5StickC using your preferred development environment.

Versioning

v1.1 - Improvements and fixes. (30/Jul/2020)
v1.0 - Released. (27/Jul/2019)

Acknowledgments

Thanks to :

License

@Copyleft all wrongs reserved.

DarknessFX @ https://dfx.lv | Twitter: @DrkFX
https://github.com/DarknessFX/FXNode_Weather

Releases

No releases published

Packages

No packages published