Skip to content

Commit e211541

Browse files
authored
save memory (#54)
memory saving disable captive portal local includes
1 parent 2229b5b commit e211541

12 files changed

+52
-56
lines changed

tagtuner-D1-custom1.factory.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ substitutions:
55

66
packages:
77
# Include all of the core configuration
8-
# core: !include tagtuner-D1-custom1.yaml
9-
core:
10-
url: https://github.com/luka6000/TagTuner
11-
files: tagtuner-D1-custom1.yaml
12-
ref: main
13-
refresh: 0d
8+
core: !include tagtuner-D1-custom1.yaml
9+
# core:
10+
# url: https://github.com/luka6000/TagTuner
11+
# files: tagtuner-D1-custom1.yaml
12+
# ref: main
13+
# refresh: 0d
1414

1515
esphome:
1616
name: "${name}"
@@ -31,7 +31,7 @@ dashboard_import:
3131
# Sets up the improv via serial client for Wi-Fi provisioning
3232
improv_serial:
3333
next_url: https://luka6000.github.io/TagTuner/
34-
34+
3535
esp32_ble:
3636
name: tagtuner
3737
esp32_improv:

tagtuner-D1-custom1.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
packages:
2-
project: github://luka6000/TagTuner/tagtuner-project.yaml@main
2+
# project: github://luka6000/TagTuner/tagtuner-project.yaml@main
33
# core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
44
# core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
5+
project: !include tagtuner-project.yaml
56
core-nfc: !include tagtuner-core-nfc.yaml
67
core-comms: !include tagtuner-core-comms.yaml
78

tagtuner-XIAO-custom.factory.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ dashboard_import:
3131
# Sets up the improv via serial client for Wi-Fi provisioning
3232
improv_serial:
3333
next_url: https://luka6000.github.io/TagTuner/
34-
34+
3535
esp32_ble:
3636
name: tagtuner
3737
esp32_improv:

tagtuner-XIAO-custom.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
packages:
2-
project: github://luka6000/TagTuner/tagtuner-project.yaml@main
3-
core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
4-
core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
5-
# core-nfc: !include tagtuner-core-nfc.yaml
6-
# core-comms: !include tagtuner-core-comms.yaml
2+
# project: github://luka6000/TagTuner/tagtuner-project.yaml@main
3+
# core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
4+
# core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
5+
project: !include tagtuner-project.yaml
6+
core-nfc: !include tagtuner-core-nfc.yaml
7+
core-comms: !include tagtuner-core-comms.yaml
78

89
esphome:
910
min_version: 2025.12.0

tagtuner-atom-grove-ble.factory.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ substitutions:
55

66
packages:
77
# Include all of the core configuration
8-
# core: !include tagtuner-atom-grove-ble.yaml
9-
core:
10-
url: https://github.com/luka6000/TagTuner
11-
files: tagtuner-atom-grove-ble.yaml
12-
ref: main
13-
refresh: 0d
8+
core: !include tagtuner-atom-grove-ble.yaml
9+
# core:
10+
# url: https://github.com/luka6000/TagTuner
11+
# files: tagtuner-atom-grove-ble.yaml
12+
# ref: main
13+
# refresh: 0d
1414

1515
esphome:
1616
name: "${name}"
@@ -31,7 +31,7 @@ dashboard_import:
3131
# Sets up the improv via serial client for Wi-Fi provisioning
3232
improv_serial:
3333
next_url: https://luka6000.github.io/TagTuner/
34-
34+
3535
esp32_ble:
3636
name: tagtuner
3737
esp32_improv:

tagtuner-atom-grove-ble.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
packages:
2-
project: github://luka6000/TagTuner/tagtuner-project.yaml@main
3-
core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
4-
core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
5-
# core-nfc: !include tagtuner-core-nfc.yaml
6-
# core-comms: !include tagtuner-core-comms.yaml
2+
# project: github://luka6000/TagTuner/tagtuner-project.yaml@main
3+
# core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
4+
# core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
5+
project: !include tagtuner-project.yaml
6+
core-nfc: !include tagtuner-core-nfc.yaml
7+
core-comms: !include tagtuner-core-comms.yaml
78

89
# These substitutions allow the end user to override certain values
910
substitutions:

tagtuner-core-comms.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,7 @@ ota:
66
platform: esphome
77

88
wifi:
9-
# Set up a wifi access point using the device name above
109
ap:
11-
password: "12345678"
12-
13-
# In combination with the `ap` this allows the user
14-
# to provision wifi credentials to the device.
15-
captive_portal:
16-
17-
# Sets up the improv via serial client for Wi-Fi provisioning
18-
improv_serial:
1910

2011
script:
2112
- id: tagtuner_event

tagtuner-core-nfc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# this is a modified PN532 to make it work with 888byte tags
22
external_components:
3-
# - source: ./components
4-
- source: github://luka6000/TagTuner@main
3+
- source: ./components
4+
# - source: github://luka6000/TagTuner@main
55
components: [ pn532 ]
66
refresh: 1min
77

tagtuner-for-tagreader.factory.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
packages:
2-
core: github://luka6000/TagTuner/tagtuner-for-tagreader.yaml@main
3-
2+
# core: github://luka6000/TagTuner/tagtuner-for-tagreader.yaml@main
3+
core: !include tagtuner-for-tagreader.yaml
4+
45
esphome:
56
name: "${name}"
67
friendly_name: ${friendly_name}
@@ -22,8 +23,6 @@ improv_serial:
2223
next_url: https://luka6000.github.io/TagTuner/
2324

2425
wifi:
25-
ap: !remove
26-
captive_portal: !remove
2726

2827
button:
2928
- id: !remove btn_erase_tag

tagtuner-for-tagreader.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,12 @@ logger:
4444
# pn532_i2c: DEBUG
4545

4646
packages:
47-
project: github://luka6000/TagTuner/tagtuner-project.yaml@main
48-
core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
49-
core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
47+
# project: github://luka6000/TagTuner/tagtuner-project.yaml@main
48+
# core-nfc: github://luka6000/TagTuner/tagtuner-core-nfc.yaml@main
49+
# core-comms: github://luka6000/TagTuner/tagtuner-core-comms.yaml@main
50+
project: !include tagtuner-project.yaml
51+
core-nfc: !include tagtuner-core-nfc.yaml
52+
core-comms: !include tagtuner-core-comms.yaml
5053
# I was not able to use light with tagreader hardware and TagTuner firmware.
5154
# My nodemcu is restarting every time I try to turn on the light.
5255
# Please experiment on your own.

0 commit comments

Comments
 (0)