Esp32 Cam - help connect to network

Hi Guys,

I’m following this video : https://www.youtube.com/watch?v=-towjof_ixU
i manged to flash the firmware with no issue at all.
But the ESP Cam wont connect to my network throw Esp Home, its stays offline.

When i’m using this tutorial: https://www.youtube.com/watch?v=36p9To2hfak
without esp home, the device connecting instantly without any issues.

I’m using duckdns, due i need to configure something in order to it to work ?


Thanks for the help!!

DuckDNS will have no effect on an ESPhome device trying to connect to your local wifi network.

Post your (correctly formatted) ESPhome configuration for the device and we might be able to spot something.

i just copy from here :slight_smile:

and i’m changing the ssid and password, and than i flash it.

Author by airijia.com

ESP32-CAM

Lovelace camera card https://github.com/custom-cards/camera-card

Video tutorial https://youtu.be/-towjof_ixU

substitutions:

Modify variables based on your settings

hostname: ‘666’
ssid: ‘airi’
password: ‘airijia.com
esphome:
name: $hostname
platform: ESP32
board: esp32dev
wifi:
ssid: $ssid
password: $password
fast_connect: True
api:
reboot_timeout: 0s
ota:
logger:

ESP32-CAM

esp32_camera:
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32

name: bedroom

… Frame Settings

Flashlight

output:

  • platform: gpio
    pin: GPIO4
    id: gpio_4
    light:
  • platform: binary
    output: gpio_4
    name: $hostname light

The file than is in the directory : \192.168.0.192\config\esphome\ESP32-CAM.yaml

I tried in ESPHome change the ssl to true and also false, nothing helps…

i never work with esphome before do i need to do something before in order to it to work ?

Have you changed the GPIO?

excalty like in the video : https://www.youtube.com/watch?v=-towjof_ixU&t=14s

time in video: 14 sec.

i pull out the blue wire after i finished flashing
do i need to do something else?

i didn’t configure anything on esphome, i just installed the addon without any configuration.

Someone has any idea?

Well I assume you would have had to change the wifi details.

Different varities of esp32 camera boards have different pinouts. The three most common ones are documented in the esphome documentation.

Which one do you have?

please look at photos below,

The funny think is that when following this guide : https://www.youtube.com/watch?v=36p9To2hfak
without esp home, the device connecting instantly without any issues.

only when i’m following this guide https://www.youtube.com/watch?v=-towjof_ixU using esphome its not working, i dont what is the issue, maybe i’m doing something wrong, i never worked before with esphome, maybe i need to configure something?

The config you are using uses someone else’s wifi config.

Looking at your photos tells me nothing. How about a link to where you bought the device? How about posting a proper config file?

TL;DR - read this instead: How to help us help you - or How to ask a good question

PS, not interested in youtube videos either.

This is what i bought : https://he.aliexpress.com/item/33001043678.html?spm=a2g0s.9042311.0.0.50bb4c4d20hnQ7

This is my config that i flashed :

substitutions:
hostname: ‘espcam’
ssid: ‘myssid’
password: ‘mypassword’
esphome:
name: $hostname
platform: ESP32
board: esp32dev
wifi:
ssid: $ssid
password: $password
fast_connect: True
api:
reboot_timeout: 0s
ota:
logger:

esp32_camera:
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_pins:
sda: GPIO26
scl: GPIO27
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32

name: bedroom

… Frame Settings

Flashlight

output:

  • platform: gpio
    pin: GPIO4
    id: gpio_4
    light:
  • platform: binary
    output: gpio_4
    name: $hostname light

Not correctly formatted and therefore ignored.

i would appreciate that you would tell me what is wrong with config that i have been posted.

i’m not doing it on purpose you know.

any way thanks

I have already posted this How to help us help you - or How to ask a good question

This is the link to Yaml file that i used… i just change two things in the file

ssid: ‘mywifi’
password: ‘mypassword’

link to the file: https://github.com/airijia/esphome-config/blob/master/ESP32/ESP32-CAM.yaml

if its not helping, that i really don’t know what i’m doing wrong…

Do I have to spell it out? Look at point 11 in the link I gave you.

i saw man, an there is blocks, never mind…

Also try taking out fast_connect and show us the logs as it boots.

i will try today and update