Skip to content

Commit

Permalink
Get workflows working
Browse files Browse the repository at this point in the history
  • Loading branch information
velijv committed Feb 18, 2024
1 parent 12b700f commit 746da89
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
# CHANGEME: Set the filenames of your config files here:
files: t-watch-s3-yaml
# CHANGEME: Set the name of your project here:
name: T-Watch S3
name: T-Watch-S3
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
# You can modify this file to suit your needs.
/.esphome/
/secrets.yaml
.DS_Store
.DS_Store
Gemfile*
**/.DS_Store
10 changes: 10 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
title: T-Watch S3
description: LILYGO® T-Watch S3 full feature implementation for ESPHome
# theme: jekyll-theme-slate
remote_theme: riggraz/no-style-please
plugins:
- jekyll-remote-theme
google_analytics: G-5H8W7JPJW7

#theme: jekyll-theme-minimal
#remote_theme: riggraz/no-style-please
1 change: 1 addition & 0 deletions assets/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 16 additions & 8 deletions t-watch-s3.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,25 @@
# These substitutions allow the end user to override certain values
substitutions:
friendly_name: 'T-Watch S3'
name: "t-watch-s3"
device_name: 'watch'
project_base: 'LILYGO®'
project_name: 'T-Watch-S3'
project_version: 'K222'
device_description: 'LILYGO® T-Watch S3 K222 (915MHz LoRa)'

esphome:
name: "${name}"
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: false

name: ${device_name}
friendly_name: ${friendly_name}
comment: ${device_description}
# This will allow for (future) project identification,
# configuration and updates.
project:
name: esphome.project-template
version: "1.0"
name: ${project_base}.${project_name}
version: ${project_version}
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: false

esp32:
board: esp32dev
Expand All @@ -30,7 +37,7 @@ ota:

# This should point to the public location of this yaml file.
dashboard_import:
package_import_url: github://github/velijv/LILYGO-T-Watch-S3-ESPHome/t-watch-s3.yaml@main
package_import_url: github://velijv/LILYGO-T-Watch-S3-ESPHome/t-watch-s3.yaml@main

wifi:
# Set up a wifi access point using the device name above
Expand All @@ -56,3 +63,4 @@ esp32_improv:
# Sets up the improv via serial client for Wi-Fi provisioning.
# Handy if your device has a usb port for the user to add credentials when they first get it.
improv_serial:
next_url: https://veli.ee/esphome?device_name={{device_name}}&ip_address={{ip_address}}&esphome_version={{esphome_version}}

0 comments on commit 746da89

Please sign in to comment.