-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy patht-watch-s3.yaml
66 lines (54 loc) · 1.98 KB
/
t-watch-s3.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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: ${device_name}
friendly_name: ${friendly_name}
comment: ${device_description}
# This will allow for (future) project identification,
# configuration and updates.
project:
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
framework:
type: arduino
# To be able to get logs from the device via serial and api.
logger:
# API is a requirement of the dashboard import.
api:
# OTA is required for Over-the-Air updating
ota:
# This should point to the public location of this yaml file.
dashboard_import:
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
ap:
password: "12345678"
# In combination with the `ap` this allows the user
# to provision wifi credentials to the device.
captive_portal:
##########################################################
# Most projects should not remove anything from above here
# and should just modify the name, project name/version
# and git url for the dashboard_import
##########################################################
# Sets up Bluetooth LE (Only on ESP32) to allow the user
# to provision wifi credentials to the device.
esp32_improv:
authorizer: none
# 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}}