{"id":20082513,"url":"https://github.com/paulgreg/esp32-weather-station","last_synced_at":"2025-05-06T01:30:21.976Z","repository":{"id":138756188,"uuid":"266560286","full_name":"paulgreg/esp32-weather-station","owner":"paulgreg","description":"A weather station based on an esp32 and a waveshare e-ink screen","archived":false,"fork":false,"pushed_at":"2024-07-13T10:46:25.000Z","size":109,"stargazers_count":19,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T06:25:24.250Z","etag":null,"topics":["e-ink","esp32","iot","meteo"],"latest_commit_sha":null,"homepage":"https://hackaday.io/project/171910-esp32-weather-station","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paulgreg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-24T14:39:54.000Z","updated_at":"2025-03-11T13:47:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"706227d5-8c5c-4d9e-b8a1-499db08068e3","html_url":"https://github.com/paulgreg/esp32-weather-station","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgreg%2Fesp32-weather-station","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgreg%2Fesp32-weather-station/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgreg%2Fesp32-weather-station/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paulgreg%2Fesp32-weather-station/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paulgreg","download_url":"https://codeload.github.com/paulgreg/esp32-weather-station/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252604107,"owners_count":21775049,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["e-ink","esp32","iot","meteo"],"created_at":"2024-11-13T15:43:45.632Z","updated_at":"2025-05-06T01:30:21.683Z","avatar_url":"https://github.com/paulgreg.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ESP32 Weather Station\n\nThat project is a weather station (getting data from openweathermap.org) displayed on an e-ink screen.\n\nThe main advantage of using an eink screen is that display stays, even if esp32 is powered down.\nSo the ESP32 is waking up, fetch weather data, update screen and sleeps for one hour.\nAlso, refresh is stopped from around midnight to 6 a.m.\n\nHere’s the [hackaday project page](https://hackaday.io/project/171910-esp32-weather-station) including pictures.\n\nHardware components are :\n\n  * [Waveshare Universal e-Paper Raw Panel Driver Board ESP32 WiFi/Bluetooth control](https://www.ebay.fr/itm/Waveshare-2-7inch-E-Ink-Raw-Display-Panel-Three-Color-e-paper-SPI-Interface/253103850269?ssPageName=STRK%3AMEBIDX%3AIT\u0026_trksid=p2060353.m2749.l2649)\n  * [2.7inch e-Paper (B) 264x176, raw display, three-color, SPI interface](https://www.ebay.fr/itm/Waveshare-Universal-e-Paper-Raw-Panel-Driver-Board-ESP32-WiFi-Bluetooth-control/254038211273?ssPageName=STRK%3AMEBIDX%3AIT\u0026_trksid=p2060353.m2749.l2649)\n\n\nOptionally, it can also fetch local temperature from an Oregon Scientific sensor using an RF module 433Mhz connected to PIN 5 (and update parameters.h by uncommenting a line). Thanks to wonderful [ErriezOregonTHN128](https://github.com/Erriez/ErriezOregonTHN128) library !\n\n\n## Arduino env\n\nuse Board \"ESP32 Dev Module\" to build with Arduino IDE.\n\nUse GxEPD2 in version 1.4.9 (compilation error for that screen with version 1.5.x)\n\nCopy `parameters.h.dist` to `parameters.h` and update it with your wifi settings and update the URL (you need to change lat/lng and set your OpenWeatherMap API token).\n\nI’m using the nice [GxEPD2](https://github.com/ZinggJM/GxEPD2) library from [ZinggJM](https://github.com/ZinggJM). Thanks\n\n## Weather API\n\n  * https://openweathermap.org/api/one-call-api\n  * create an account and an API KEY\n\n## Icons\n\nIcons are [official icons from OpenWeatherMap](https://openweathermap.org/weather-conditions#How-to-get-icon-URL).\n\nTo be able to open them correctly in GxEPD2, I convert them using [LCD Assistant](http://en.radzio.dxp.pl/bitmap_converter/) with byte orientation set to horizontal and big endian settings.\nIt can be opened via wine (by adding 32 bits architecture).\n\n## Fonts\n\nFonts are from [Adafruit-GFX-Library-fontconvert](https://github.com/paulgreg/Adafruit-GFX-Library-fontconvert) project.\n\n## HTTP request \u0026 JSON parsing\n\n  * https://randomnerdtutorials.com/esp32-http-get-post-arduino/\n\n## HTTPS request\n\n  * https://techtutorialsx.com/2017/11/18/esp32-arduino-https-get-request/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulgreg%2Fesp32-weather-station","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulgreg%2Fesp32-weather-station","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulgreg%2Fesp32-weather-station/lists"}