Git Product home page Git Product logo

esp32-openweather-ttgo's Introduction

ESP32 openweather TTGO

Platform IO CI

openweathermap.org interface for the TTGO-T-Display ESP32 Module

Hardware

No additional hardware is required.

Installation

Create an account at www.openweathermap.org to obtain an API key to query for the weather at your location. I use Visual Studio Code and PlatformIO to edit and upload the sketches. Install these, open the project folder and upload to the esp32-ttgo module using the USB-C connector.

Current state: TTGO Display

Configuration

Make a connection to the access point "OpenWeather". The first time you can connect without a wifi password.

Here, in the menu, update the settings:

  • Open Weather API key. The key obtained from openweather (see above)
  • Location. A name of the location. This should be supported as a location by OpenWeather.
  • TimeZone. The timezone to display the correct (local) time and DST.
  • Use metric units. The choice to use Imperial or Metric settings for the temperature etc...

To reset the configuration press the top button while restarting.

There is also an option to use an alternative weather icon pack. This can be changed by the batch job to generate the icons.

Status

The status is visible when connecting to the device using a web browser. This page shows the status of the device, network and settings.

Status

Current state

At the moment the basic functionality is working:

  • Time is updated, with timezones
  • API is queried and temperature, humidity, pressure, weather description and icons are shown.
  • Web browser configuration and status screen

However, there are still two buttons left on the TTGO-T-Display so room for improvement like:

  • Humidity and temperature icons have some dithering pixels. New images?
  • Provide historical information about temperature / humidity / pressure and graph it.
  • Provide a weather forecast?

Collaboration

New features / pull requests are welcome. Please make a branch and, after checking it might be put into the main branch!

Thanks

Used icons from: https://www.dovora.com/resources/weather-icons/

  • Modern Weather Icon Pack
  • Crystal Weather Icon Pack

esp32-openweather-ttgo's People

Contributors

rzeldent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

esp32-openweather-ttgo's Issues

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.