Skip to content

Commit

Permalink
Remove web_server and debug sensors
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenpapierski committed Aug 22, 2024
1 parent e8a7848 commit 0d3f878
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 33 deletions.
6 changes: 1 addition & 5 deletions bed-presence-mk1.factory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ packages:
esphome:
project:
name: ElevatedSensors.BedPresenceMk1
version: 2024.8.1
version: 2024.8.0

# Allow ESPHome Adoption
dashboard_import:
Expand All @@ -19,10 +19,6 @@ improv_serial:
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 Down
28 changes: 0 additions & 28 deletions bed-presence-mk1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,37 +47,9 @@ wifi:
# to provision wifi credentials to the device via WiFi AP.
captive_portal:

# Enable web server
web_server:

# Enable esphome OTA updates
ota:
- platform: esphome
id: ota_esphome

# Debug sensors
debug:
update_interval: 5s

sensor:
- platform: uptime
type: seconds
name: "Uptime"

- platform: debug
free:
name: "Heap Free"
block:
name: "Heap Max Block"
loop_time:
name: "Loop Time"

text_sensor:
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"

################################################################################
packages:
Expand Down

0 comments on commit 0d3f878

Please sign in to comment.