Compare commits
13 Commits
Add-more-i
...
v0.0.8
| Author | SHA1 | Date | |
|---|---|---|---|
| 0207899f1b | |||
| 359a1359f5 | |||
| 62fbdf3d5a | |||
| ec02f17089 | |||
| a164c0059b | |||
| a45f60c09e | |||
| 93ad7ba411 | |||
| 592b44ee43 | |||
| 1f78fedcb3 | |||
| 58858700d9 | |||
| 2c86c7741d | |||
| fc52024d5a | |||
| d768b8ae3f |
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -95,6 +95,22 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
|
||||||
|
- name: Zip the build for github release
|
||||||
|
if: ${{ github.event.inputs.create_release != 'false' }}
|
||||||
|
run: Compress-Archive -Path './output/*' -DestinationPath './output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip' -CompressionLevel Optimal -Force
|
||||||
|
|
||||||
|
- name: Upload Release Asset
|
||||||
|
if: ${{ github.event.inputs.create_release != 'false' }}
|
||||||
|
id: upload-release-asset
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./output/HomeScreen_Build_${{ steps.semver.outputs.next }}.zip
|
||||||
|
asset_name: HomeScreen_Build_${{steps.semver.outputs.patch}}.zip
|
||||||
|
asset_content_type: application/zip
|
||||||
|
|
||||||
- name: Generate appsettings.json
|
- name: Generate appsettings.json
|
||||||
run: |
|
run: |
|
||||||
$appSettings = @{
|
$appSettings = @{
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -3,12 +3,14 @@ Core api and Esp32 code for displaying weather data and public transport informa
|
|||||||
|
|
||||||
<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" />
|
||||||
|
|
||||||
## Features
|
## Git Notes
|
||||||
|
All commits has to follow this [Conventional Commits style](https://www.conventionalcommits.org/) to pass the pipeline.
|
||||||
|
## Features 😺
|
||||||
- Display current weather data
|
- Display current weather data
|
||||||
- Display public transport information
|
- Display public transport information
|
||||||
- Display time and date
|
- Display time and date
|
||||||
|
|
||||||
## Requirements
|
## Requirements 🫥
|
||||||
- ESP32 board
|
- ESP32 board
|
||||||
- E-ink display (e.g. Waveshare 7.5 inch)
|
- E-ink display (e.g. Waveshare 7.5 inch)
|
||||||
|
|
||||||
@@ -78,6 +80,7 @@ API endpoints:
|
|||||||
|
|
||||||
When running, API documentation is available through Scalar at `/scalar`.
|
When running, API documentation is available through Scalar at `/scalar`.
|
||||||
|
|
||||||
|
```mermaid
|
||||||
flowchart TD
|
flowchart TD
|
||||||
subgraph ESP32 Device
|
subgraph ESP32 Device
|
||||||
ESP[ESP32 E-Ink Display]
|
ESP[ESP32 E-Ink Display]
|
||||||
@@ -86,7 +89,7 @@ ESP -->|HTTP GET /home/default.jpg| API
|
|||||||
end
|
end
|
||||||
|
|
||||||
subgraph HomeApi
|
subgraph HomeApi
|
||||||
API[HomeController (API)]
|
API[HomeControllerAPI]
|
||||||
API -->|MediatR| Handlers
|
API -->|MediatR| Handlers
|
||||||
Handlers -->|Service Calls| Services
|
Handlers -->|Service Calls| Services
|
||||||
Services -->|Refit Clients| Clients
|
Services -->|Refit Clients| Clients
|
||||||
@@ -105,3 +108,4 @@ end
|
|||||||
ExtAPIs -.-> AuroraAPI
|
ExtAPIs -.-> AuroraAPI
|
||||||
ExtAPIs -.-> NominatimAPI
|
ExtAPIs -.-> NominatimAPI
|
||||||
ExtAPIs -.-> ResRobotAPI
|
ExtAPIs -.-> ResRobotAPI
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user