I can successfully flash these esp32s and they work completely when connected to a computer, but when i try and power them via a usb adapter (tried many different models) the wifi wont connect and it just keeps disconnecting and is never recognized by esphome dashboard or HA.
Amazon.com Any ideas? can we not use an AC usb adapter to power these as standalone units or do i have to use one of the pins for power (via battery or something else)? I tried all 3 in that amazon link and none work when not connected to my computer.
Tested out numerous yaml configurations and looked through a ton of posts online. Any help would be great.
A couple configurations i have recently tried:
substitutions:
name: esp32-bluetooth-proxy-150f94
packages:
esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
Tried a bunch of different things hoping to make it work but none works.
substitutions:
name: esp32-bluetooth-proxy-150f94
packages:
esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
esphome:
name: ${name}
name_add_mac_suffix: false
on_boot:
priority: 200
then:
- wait_until:
condition:
wifi.connected:
timeout: 5s
# # Display
# i2c:
# sda: GPIO3
# scl: GPIO1
# frequency: 800kHz
logger:
level: INFO
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
output_power: "20.5db"
fast_connect: True
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.1.179
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.1.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
domain: .tonftp.com