5 Commits

Author SHA1 Message Date
a73f171102 fix: minor readme fix 2025-07-20 19:39:31 +02:00
157dc0e6cf Fix: Add ESP32 Doc 2025-07-20 19:37:17 +02:00
df6428550f feat: Release version 2025-07-20 19:23:53 +02:00
f1d4a7c1bc fix: Update README.md 2025-07-20 19:17:47 +02:00
485453bc7d fix: formatting mistake 2025-07-20 18:58:25 +02:00
2 changed files with 27 additions and 11 deletions

View File

@@ -97,13 +97,9 @@ jobs:
draft: false draft: false
prerelease: false prerelease: false
- name: Zip the build for GitHub Release - name: Zip the build for github release
if: ${{ github.event.inputs.create_release != 'false' }} if: ${{ github.event.inputs.create_release != 'false' }}
run: | run: Compress-Archive -Path './output/*' -DestinationPath './output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip' -CompressionLevel Optimal -Force
Compress-Archive \
-Path './output/*' \
-DestinationPath "./output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip" \
-CompressionLevel Optimal -Force
- name: Upload Release Asset - name: Upload Release Asset
if: ${{ github.event.inputs.create_release != 'false' }} if: ${{ github.event.inputs.create_release != 'false' }}

View File

@@ -1,5 +1,12 @@
# This [![Build and Deploy](https://github.com/Myxelium/HomeScreen/actions/workflows/build.yml/badge.svg)](https://github.com/Myxelium/HomeScreen/actions/workflows/build.yml) [![myxelium - homescreen](https://img.shields.io/static/v1?label=myxelium&message=homescreen&color=purple&logo=github)](https://github.com/myxelium/homescreen "Go to GitHub repo")
Core api and Esp32 code for displaying weather data and public transport information on a e-ink display. [![stars - homescreen](https://img.shields.io/github/stars/myxelium/homescreen?style=social)](https://github.com/myxelium/homescreen)
[![forks - homescreen](https://img.shields.io/github/forks/myxelium/homescreen?style=social)](https://github.com/myxelium/homescreen)
[![GitHub tag](https://img.shields.io/github/tag/myxelium/homescreen?include_prereleases=&sort=semver&color=purple)](https://github.com/myxelium/homescreen/releases/)
[![License](https://img.shields.io/badge/License-GPL-purple)](https://www.gnu.org/licenses/gpl-3.0.en.html)
[![issues - homescreen](https://img.shields.io/github/issues/myxelium/homescreen)](https://github.com/myxelium/homescreen/issues)
[![Build and Deploy](https://github.com/Myxelium/HomeScreen/actions/workflows/build.yml/badge.svg)](https://github.com/Myxelium/HomeScreen/actions/workflows/build.yml)
# This
Core api and [Esp32 (Microcontroller)](https://en.wikipedia.org/wiki/ESP32) code for displaying weather data and public transport information on a e-ink display.
<img width="800" height="480" alt="image" src="https://github.com/user-attachments/assets/ef5af0c6-ea3a-494d-b2af-3de6e70b3e6a" /> <img width="800" height="480" alt="image" src="https://github.com/user-attachments/assets/ef5af0c6-ea3a-494d-b2af-3de6e70b3e6a" />
@@ -11,8 +18,8 @@ All commits has to follow this [Conventional Commits style](https://www.conventi
- Display time and date - Display time and date
## Requirements 🫥 ## Requirements 🫥
- ESP32 board - [ESP32 board](https://www.waveshare.com/wiki/E-Paper_ESP32_Driver_Board)
- E-ink display (e.g. Waveshare 7.5 inch) - [E-ink display (e.g. Waveshare 7.5 inch)](https://www.waveshare.com/7.5inch-e-paper-hat.htm)
# Installation # Installation
@@ -92,7 +99,7 @@ end
API[HomeControllerAPI] API[HomeControllerAPI]
API -->|MediatR| Handlers API -->|MediatR| Handlers
Handlers -->|Service Calls| Services Handlers -->|Service Calls| Services
Services -->|Refit Clients| Clients Services -->|Refit Http Clients| Clients
Clients -->|External APIs| ExtAPIs Clients -->|External APIs| ExtAPIs
API -->|Returns JSON/JPEG| ESP API -->|Returns JSON/JPEG| ESP
end end
@@ -109,3 +116,16 @@ end
ExtAPIs -.-> NominatimAPI ExtAPIs -.-> NominatimAPI
ExtAPIs -.-> ResRobotAPI ExtAPIs -.-> ResRobotAPI
``` ```
# ESP32 configuration and building
<img width="4096" height="1842" alt="image" src="https://github.com/user-attachments/assets/5acf1b3b-f9bb-48bd-b310-a2852544eaba" />
Best way of getting the ESP32 ready for code upload is to follow this guide [WAVESHARE ESP32 GUIDE](https://web.archive.org/web/20250706150325/https://www.waveshare.com/wiki/E-Paper_ESP32_Driver_Board).
Once you have it ready so you can upload code to it copy my code in: Esp32_Code/INFOSCREEN_WITH_INTERVAL from this repo.
Install following libraries (if more is needed search for them and install them too):
* ArduinoJson
* GUI_Paint
* JPEGDEC
You need the Waveshare examples installed since it uses code from them. See above link to find the download.