Hi everyone,
I am using ESP32 D1 Mini with ESPHome configuration. What is the expected boot time for the board to be fully initialized? I put a simple code to turn on a buzzer from the ‘on_boot’ handler, and it goes off 10-12 seconds after connecting the board to a power supply. Is there any way to speed up the booting?
esphome:
name: package-alarm-v11
friendly_name: package-alarm-v1.1
on_boot:
priority: -100
then:
- output.turn_on: buzzer
- output.set_level:
id: buzzer
level: 0.5
- output.ledc.set_frequency:
id: buzzer
frequency: "2000Hz"
- delay: 1s
- output.turn_off: buzzer
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: none
# Enable Home Assistant API
api:
encryption:
key: !secret api_key_v11
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: !secret ap_ssid_v11
password: !secret ap_password_v11
captive_portal:
output:
- platform: ledc
pin: 33
id: buzzer