Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 41 additions & 41 deletions board/esp32s3_usbotg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,55 +32,18 @@ esp32:
compiler_optimization: PERF
enable_idf_experimental_features: true

wifi:
enable_btm: true
enable_rrm: true

psram:
mode: quad
speed: 80MHz

wifi:
enable_btm: true
enable_rrm: true

spi:
clk_pin: ${pin.int.spi.clk}
mosi_pin: ${pin.int.spi.mosi}

esp32_camera:
i2c_id: i2c_internal
# PINS
external_clock:
pin: ${pin.cam.m_clk}
frequency: 12MHz
data_pins:
- ${pin.cam.y2}
- ${pin.cam.y3}
- ${pin.cam.y4}
- ${pin.cam.y5}
- ${pin.cam.y6}
- ${pin.cam.y7}
- ${pin.cam.y8}
- ${pin.cam.y9}
vsync_pin: ${pin.cam.vs}
href_pin: ${pin.cam.hs}
pixel_clock_pin: ${pin.cam.p_clk}
# Metadata
id: espcam
name: "Camera OV2640"
# Image settings
resolution: 640x480
jpeg_quality: 12
max_framerate: 1 fps
frame_buffer_count: 2 # defaults to 1
vertical_flip: true
horizontal_mirror: true
# Exposure
aec_mode: auto
aec2: true # defaults to false
# White balance
wb_mode: auto

status_led:
pin: ${pin.light.led}

light:
- platform: esp32_rmt_led_strip
id: rgb_led
Expand Down Expand Up @@ -116,3 +79,40 @@ light:
blue: 0%
name: "LED"
entity_category: config

status_led:
pin: ${pin.light.led}

esp32_camera:
i2c_id: i2c_internal
# PINS
external_clock:
pin: ${pin.cam.m_clk}
frequency: 12MHz
data_pins:
- ${pin.cam.y2}
- ${pin.cam.y3}
- ${pin.cam.y4}
- ${pin.cam.y5}
- ${pin.cam.y6}
- ${pin.cam.y7}
- ${pin.cam.y8}
- ${pin.cam.y9}
vsync_pin: ${pin.cam.vs}
href_pin: ${pin.cam.hs}
pixel_clock_pin: ${pin.cam.p_clk}
# Metadata
id: espcam
name: "Camera OV2640"
# Image settings
resolution: 640x480
jpeg_quality: 12
max_framerate: 1 fps
frame_buffer_count: 2 # defaults to 1
vertical_flip: true
horizontal_mirror: true
# Exposure
aec_mode: auto
aec2: true # defaults to false
# White balance
wb_mode: auto
80 changes: 41 additions & 39 deletions board/everything_presence_lite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,11 @@
# https://docs.everythingsmart.io/s/products/doc/everything-presence-lite-epl-ZVnBzYzuX2

# Specific bluetooth settings, paste in root device yaml
esp32_ble:
max_connections: 2
esp32_ble_tracker:
scan_parameters:
interval: 500ms
window: 10ms
bluetooth_proxy:
active: false
connection_slots: 1

substitutions:
illuminance_update_interval: "5s"
device:
model: "Everything Presence Lite"

esp32:
framework:
advanced:
assertion_level: DISABLE
compiler_optimization : PERF
minimum_chip_revision: 3.1

api:
reboot_timeout: 90min
encryption:
key: !secret homeassistant_api

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
reboot_timeout: 30min
fast_connect: true
passive_scan: true
enable_btm: true
enable_rrm: true

esphome:
on_boot:
- priority: -100
Expand All @@ -56,6 +25,22 @@ esphome:
id(firmware_co2).publish_state("Disabled");
}

esp32:
framework:
advanced:
assertion_level: DISABLE
compiler_optimization : PERF
minimum_chip_revision: 3.1

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
reboot_timeout: 30min
fast_connect: true
passive_scan: true
enable_btm: true
enable_rrm: true

binary_sensor:
- id: !extend zone2_occupancy
disabled_by_default: false
Expand All @@ -64,14 +49,6 @@ binary_sensor:
- id: !extend zone4_occupancy
disabled_by_default: false

number:
- id: !extend zone_2_off_delay
disabled_by_default: false
- id: !extend zone_3_off_delay
disabled_by_default: false
- id: !extend zone_4_off_delay
disabled_by_default: false

sensor:
- id: !extend target1_speed
disabled_by_default: true
Expand Down Expand Up @@ -101,8 +78,33 @@ sensor:
- id: !extend zone4_target_count
disabled_by_default: false

number:
- id: !extend zone_2_off_delay
disabled_by_default: false
- id: !extend zone_3_off_delay
disabled_by_default: false
- id: !extend zone_4_off_delay
disabled_by_default: false

select:
- id: !extend tracking_behaviour
initial_option: Above + Distance and Angle
- id: !extend update_speed_select
initial_option: Slow (0.4s)

api:
reboot_timeout: 90min
encryption:
key: !secret homeassistant_api

bluetooth_proxy:
active: false
connection_slots: 1

esp32_ble:
max_connections: 2

esp32_ble_tracker:
scan_parameters:
interval: 500ms
window: 10ms
Loading