ve2hrj
(Richard)
July 6, 2024, 5:38pm
1
Hi,
I got this 2 boards that work great as basic camera with the original programing.
Now I liked it to ESP-Home and I don’t have any error.
Here is the console:
I’ve search Google and cannot find the next step to have it load to the console.
Any help is much apreciated.
Richard.
vincen
(Vincèn)
July 6, 2024, 5:54pm
2
Withouth your esphome yaml and logs impossible to help you
ve2hrj
(Richard)
July 6, 2024, 6:04pm
3
Hi Vincen,
here they are:
front-cam-01.yaml:
esphome:
name: front-cam-01
friendly_name: Front Cam 01
platformio_options:
build_flags: -DBOARD_HAS_PSRAM
board_build.arduino.memory_type: qio_opi
board_build.f_flash: 80000000L
board_build.flash_mode: qio
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "...1..."
ota:
- platform: esphome
password: "...1..."
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Front-Cam-01 Fallback Hotspot"
password: "...1..."
captive_portal:
and the espHome one:
INFO ESPHome 2024.6.6
INFO Reading configuration /config/esphome/front-cam-01.yaml...
INFO Starting log output from 10.10.200.15 using esphome API
INFO Successfully connected to front-cam-01 @ 10.10.200.15 in 0.135s
INFO Successful handshake with front-cam-01 @ 10.10.200.15 in 0.108s
[13:56:41][I][app:100]: ESPHome version 2024.6.6 compiled on Jul 6 2024, 12:26:08
[13:56:41][C][wifi:599]: WiFi:
[13:56:41][C][wifi:427]: Local MAC: DC:54:75:D7:AD:00
[13:56:41][C][wifi:432]: SSID: 'Prometheus_2.4Ghz'[redacted]
[13:56:41][C][wifi:435]: IP Address: 10.10.200.15
[13:56:41][C][wifi:439]: BSSID: 40:B0:76:74:08:80[redacted]
[13:56:41][C][wifi:440]: Hostname: 'front-cam-01'
[13:56:41][C][wifi:442]: Signal strength: -42 dB ▂▄▆█
[13:56:41][C][wifi:446]: Channel: 6
[13:56:41][C][wifi:447]: Subnet: 255.255.255.0
[13:56:41][C][wifi:448]: Gateway: 10.10.200.1
[13:56:41][C][wifi:449]: DNS1: 10.10.200.1
[13:56:41][C][wifi:450]: DNS2: 0.0.0.0
[13:56:41][C][logger:185]: Logger:
[13:56:41][C][logger:186]: Level: DEBUG
[13:56:41][C][logger:188]: Log Baud Rate: 115200
[13:56:41][C][logger:189]: Hardware UART: USB_CDC
[13:56:41][C][api:139]: API Server:
[13:56:41][C][api:140]: Address: front-cam-01.local:6053
Hope that help.
Have a good one.
Richard.
You don’t seem to have the camera component set up?
Here’s what works for me with the XIAO ESP32-S3-CAM :
esp32_camera:
id: espcam
name: My Camera
external_clock:
pin: GPIO10
frequency: 20MHz
i2c_pins:
sda: GPIO40
scl: GPIO39
data_pins: [GPIO15, GPIO17, GPIO18, GPIO16, GPIO14, GPIO12, GPIO11, GPIO48]
vsync_pin: GPIO38
href_pin: GPIO47
pixel_clock_pin: GPIO13
resolution: 800x600
# Configuration for the ESP32 Camera Web Server
esp32_camera_web_server:
- port: 8080
mode: stream
- port: 8081
mode: snapshot
ve2hrj
(Richard)
July 6, 2024, 7:08pm
5
Hi zenzay42,
it worked :
Question: can I change the :
esp32_camera:
id: espcam
name: My Camera
external_clock:
pin: GPIO10
frequency: 20MHz
" name: My Canera" to the same name of the device?
Since I’m going to have multiple of them ?
Let me know, this is great information !!!
Thank you !
Richard.
I’m glad you got it working.
As you have specified a friendly_name you can probably get away with setting name: none
in the camera component config, and it’ll automatically get the friendly_name only.
ve2hrj
(Richard)
July 6, 2024, 7:27pm
7
Hi zenzay42,
thank you for the recomandation, I already change it and fix the horizontal to false so I can get the proper format.
Tank you very much, have a great one!
Richard.
1 Like
ve2hrj
(Richard)
July 6, 2024, 7:28pm
8
Hi vencen,
thank you again for your support, have a great one!
Richard.