Streaming an ESP32-CAM

do you use esphome? I can share mine for that if interested

@Tdw sure that would be useful thanks

Esphome config below; added to HA via the esphome integration (just need the esp32-cam IP)

esphome:
  name: esp32_camera
  platform: ESP32
  board: nodemcu-32s

wifi:
  ssid: "xxxxxxxx"
  password: "xxxxxxxxx"

  ap:
    ssid: "xxxxxxxxxxxxx"
    password: "xxxxxxxxxxxxxxxxx"


logger:


api:
  password: "xxxxxxxxxxxxxxxxxxxxxxxx"

ota:
  password: "xxxxxxxxxxxxxxxxxxxxxxx"



sensor:
  - platform: wifi_signal
    name: "Cam RSSI"
    update_interval: 300s
  - platform: uptime
    name: "Cam Uptime"
    
esp32_camera:
  name: Feeder Cam
  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
  vertical_flip: false
  horizontal_mirror: false
  resolution: 640x480 
  
switch:
  - platform: gpio
    pin: GPIO4
    name: "Feeder Flash Light"

1 Like

@Tdw what kind of camera does this produce in HA - generic IP camera?

I believe so. I add it with the integration so a platform isn’t actually selected but it acts just like a generic IP

1 Like

I’ve spent the day trying to get my ESP32-CAM working by following the RandomNerdTutorial with no luck. I can stream to Google Chrome just fine, but when I try the Picture Card specifying camera IP address, I get nothing. For those who say it works, I’d love to hear from you. I don’t think ESPHome should be necessary, though I have tried that also unsuccessfully. I’d really like to integrated directly into HA without ESPHome. Can anyone point me in the right direction? ESP32-CAM is an awesome little $10 camera and I’d like to use more.

1 Like

I did get ESP32-CAM to work on HA using ESPHome. Since my HA is running HTTPS, I assume there is no direct method to display any HTTP URL like an HTTP camera in HA HTTPS. So now I am looking for an HTTPS version of CameraWebServer example. Anybody know of one.

You can also try running tasmota. I converted one of my esp32 cams running esphome and it runs really well. Will probably do the others too. You can access the camera stream directly. Tasmota webcam server for the ESP32-cam - CGomesu

2 Likes

So why should you choose tasmota over esphome ? Do you have a little comparison?