After the previous 2 updates (not sure which one), the webserver on the esp32 cam stoped working. All was fine previously; I could connect to https://:8080 without problem, and the motioneye was working using it.
After the update in Overview of HA i can see the video of the camera with entity id: camera.esp32_cam. However the stream on port 8080 is not working and i can’t find solution for it.
Here is my code:
esphome:
name: esp32-cam-lab
esp32:
board: esp32dev
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: <key>
ota:
- platform: esphome
password: <password>
esp32_camera_web_server:
- port: 8080
mode: stream
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
static_ip: 192.168.0.159
subnet: 255.255.255.0
gateway: 192.168.0.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp32-Cam-Lab Fallback Hotspot"
password: <password>
captive_portal:
# Example configuration entry
esp32_camera:
name: esp32_cam
external_clock:
pin: GPIO0
frequency: 8MHz
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
resolution: 800x600
jpeg_quality: 20
max_framerate: 3 fps # default: 10 fps, max 60
idle_framerate: 1 fps # default: 0.1 fps - framerate for 'picture' in HA dashboard
output:
- platform: gpio
pin: GPIO4
id: gpio_4
binary_sensor:
- platform: status
name: "ESP32Cam status"
sensor:
- platform: wifi_signal
name: "ESP32Cam WiFi Signal"
update_interval: 30s
light:
- platform: binary
output: gpio_4
name: "ESP32Cam light"
switch:
- platform: restart
name: "Esp32 Cam Reboot"
Any help would be appreciated.
thank you.