Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealFalseReality committed Nov 29, 2024
1 parent 6a615f2 commit 24fd2f0
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
43 changes: 43 additions & 0 deletions common/aquapi.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,46 @@
esphome:
min_version: 2024.6.0
name: "${name}"
friendly_name: "${friendly_name}"
# Automatically add the mac address to the name
name_add_mac_suffix: true
comment: "AquaPi ESP32 - Aquarium Controller & Monitor"
project:
name: therealfalsereality.aquapi
version: "${app_version}"

esp32:
board: esp32dev
framework:
type: arduino

dashboard_import:
package_import_url: github://TheRealFalseReality/aquapi/aquapi_config.yaml@main
import_full_config: false

wifi:
ap:

web_server:
version: 3
sorting_groups:
- id: sorting_group_diagnostic
name: "AquaPi Diagnostic"
sorting_weight: ${sorting_group_diagnostic_weight}
- id: sorting_group_config
name: "AquaPi Configuration"
sorting_weight: ${sorting_group_config_weight}
- id: sorting_group_misc
name: "Misc. Sensors"
sorting_weight: ${sorting_group_misc_weight}

# i2c Pins
i2c:
sda: ${sdaPin}
scl: ${sclPin}
scan: true
id: bus_a

text_sensor:
# AquaPi Version
- platform: template
Expand Down
47 changes: 2 additions & 45 deletions common/device_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,11 @@ substitutions:
sorting_group_diagnostic_weight: '98'
sorting_group_config_weight: '99'

esphome:
min_version: 2024.6.0
name: "${name}"
friendly_name: "${friendly_name}"
# Automatically add the mac address to the name
name_add_mac_suffix: true
comment: "AquaPi ESP32 - Aquarium Controller & Monitor"
project:
name: TheRealFalseReality.aquapi
version: "${app_version}"

esp32:
board: esp32dev
framework:
type: arduino

dashboard_import:
package_import_url: github://TheRealFalseReality/aquapi/aquapi_config.yaml@main
import_full_config: false

# Enable logging
logger:
level: "${logger}"

api:
# api:
# actions:
# - action: send_ezo_command
# variables:
Expand All @@ -45,33 +25,10 @@ api:
ota:
- platform: esphome

wifi:
ap:

captive_portal:

web_server:
version: 3
sorting_groups:
- id: sorting_group_diagnostic
name: "AquaPi Diagnostic"
sorting_weight: ${sorting_group_diagnostic_weight}
- id: sorting_group_config
name: "AquaPi Configuration"
sorting_weight: ${sorting_group_config_weight}
- id: sorting_group_misc
name: "Misc. Sensors"
sorting_weight: ${sorting_group_misc_weight}

improv_serial:

# i2c Pins
i2c:
sda: ${sdaPin}
scl: ${sclPin}
scan: true
id: bus_a

# Internal Blue LED
light:
- platform: status_led
Expand Down Expand Up @@ -218,4 +175,4 @@ button:
disabled_by_default: true
id: shutdown_button
web_server:
sorting_group_id: sorting_group_config
sorting_group_id: sorting_group_config

0 comments on commit 24fd2f0

Please sign in to comment.