Skip to content

Commit

Permalink
Remove web_server from factory config (too much memory usage)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Aug 21, 2024
1 parent 321464d commit aa0084a
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions bed-presence-mk1.factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,25 @@ packages:
esphome:
project:
name: ElevatedSensors.BedPresenceMk1
version: 2024.8.0
version: 2024.8.1

# Allow ESPHome Adoption
dashboard_import:
package_import_url: github://ElevatedSensors/sensor-configs/bed-presence-mk1.yaml@main
import_full_config: true

# Allow provisioning Wi-Fi via serial
improv_serial:

# Sets up Bluetooth LE to allow the user
# to provision wifi credentials to the device.
esp32_improv:
authorizer: none

# Remove web_server(from bed-presence-mk1 package) from factory config
# web_server + esp32_improv (required for Made for ESPHome) uses too much RAM, causing crashes
web_server: !remove

# Managed updates from Elevated Sensors
ota:
- platform: http_request
Expand All @@ -25,11 +37,3 @@ update:

http_request:
verify_ssl: true

# Allow provisioning Wi-Fi via serial
improv_serial:

# Sets up Bluetooth LE to allow the user
# to provision wifi credentials to the device.
esp32_improv:
authorizer: none

0 comments on commit aa0084a

Please sign in to comment.