yoni3210
(yoni mo)
June 15, 2019, 12:47pm
1
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!!
tom_l
June 15, 2019, 12:57pm
2
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.
yoni3210
(yoni mo)
June 15, 2019, 1:03pm
3
i just copy from here
and i’m changing the ssid and password, and than i flash it.
ESP32-CAM
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…
yoni3210
(yoni mo)
June 15, 2019, 1:44pm
4
i never work with esphome before do i need to do something before in order to it to work ?
echopage
(riccardo)
June 15, 2019, 2:25pm
5
Have you changed the GPIO?
yoni3210
(yoni mo)
June 15, 2019, 2:35pm
6
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?
yoni3210
(yoni mo)
June 15, 2019, 7:38pm
7
i didn’t configure anything on esphome, i just installed the addon without any configuration.
Someone has any idea?
nickrout
(Nick Rout)
June 16, 2019, 6:43am
8
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?
yoni3210
(yoni mo)
June 16, 2019, 7:31am
9
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?
nickrout
(Nick Rout)
June 16, 2019, 8:29am
10
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.
yoni3210
(yoni mo)
June 16, 2019, 2:43pm
11
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
nickrout
(Nick Rout)
June 16, 2019, 9:47pm
12
Not correctly formatted and therefore ignored.
yoni3210
(yoni mo)
June 17, 2019, 4:20am
13
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
nickrout
(Nick Rout)
June 17, 2019, 4:28am
14
yoni3210
(yoni mo)
June 17, 2019, 4:35am
15
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…
nickrout
(Nick Rout)
June 17, 2019, 4:39am
16
Do I have to spell it out? Look at point 11 in the link I gave you.
yoni3210
(yoni mo)
June 17, 2019, 4:47am
17
i saw man, an there is blocks, never mind…
nickrout
(Nick Rout)
June 17, 2019, 4:47am
18
Also try taking out fast_connect and show us the logs as it boots.
yoni3210
(yoni mo)
June 17, 2019, 4:48am
19
i will try today and update