Hallo,
ich habe 2 ESP32Cam einmal installiert und lange nicht genutzt, nun habe ich sie wieder angeschlossen und nach dem erneuten kompilieren mit esphome bekomme ich zwar keine Fehlermeldungen mehr aber leider auch kein Bild. Habe ich etwas übersehen?
esphome:
name: esp32cam02
esp32:
board: esp32cam
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
################################################################################
### Kommunikation über HA zulassen
################################################################################
api:
encryption:
key: !secret api_password
reboot_timeout: 0s
################################################################################
### Update über WLAN aktivieren
################################################################################
ota:
- platform: esphome
password: !secret ota_password
################################################################################
### Webserver aktivieren
################################################################################
web_server:
port: 80
esp32_camera_web_server:
- port: 8080
mode: stream
- port: 8081
mode: snapshot
wifi:
power_save_mode: none
ssid: !secret wifi_iot_ssid
password: !secret wifi_iot_password
manual_ip:
static_ip: 192.168.20.99
gateway: 192.168.20.1
subnet: 255.255.255.0
dns1: 192.168.20.2
dns2: 192.168.20.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "esp32cam02"
password: !secret ap_password
captive_portal:
psram:
mode: quad
speed: 80MHz
i2c:
sda: GPIO26
scl: GPIO27
id: bus_ic
# Example configuration entry
esp32_camera:
external_clock:
pin: GPIO0
frequency: 20MHz
i2c_id: bus_ic
data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
vsync_pin: GPIO25
href_pin: GPIO23
pixel_clock_pin: GPIO22
power_down_pin: GPIO32
# Image settings
name: esp32cam02
# Flashlight
output:
- platform: gpio
pin: GPIO4
id: gpio_4
## GPIO_4 is the flash light pin
light:
- platform: binary
output: gpio_4
name: flashlight
# Neustart über Home Assistant
switch:
- platform: restart
name: "ESP32CAM Neustart"
sensor:
################################################################################
### Signalstärke anzeigen
################################################################################
- platform: wifi_signal
name: "esp32cam02-WiFi"
update_interval: 60s
################################################################################
### Betriebszeit des Kontrollers
################################################################################
- platform: uptime
name: Uptime
text_sensor:
- platform: wifi_info
ip_address:
name: device/ip
mac_address:
name: device/mac
binary_sensor:
- platform: status
name: "ESP32CAM02 status"
Für einen Tipp wäre ich dankbar.
Grüße Frank