Camery_Proxy_Stream how to? Get ESPHome Camera in Octorpint

Hello guys,

i’m having a little bit of a problem.

I recently bought some ESP32 Cams and they are pretty cool i have to say and i like them, tiny and cheap, although the video stream is enough for my projects :slight_smile:

I tried different methods on the ESP32 Cam:

  • Tasmota --> Cam Stream can not be importet in HA, motioneye or whatever
  • the ESP32Cam Webserver from Arduino --> Quite good, but updating is a hell
  • and ESPHome --> like it, also having many devices configured with ESPHome

Now my problem is, how can i get the stream of an ESP32Cam flashed with ESPHome to “another” place?
Found some hints with the Camery Proxy Stream and that was working a little bit, but only with the short access tokens, long access tokens didn’t work :frowning:
Also found a maybe solution: the api_password function is deprecated, but on github there is a repository which brings this function back, but that’s not the “good” way.

Is there a solution for my problem?

I would like to integrate the stream of an ESP32Cam with ESPHome in Octoprint, because a little ESP cam fits better for my 3d printer setup than a big webcam and i only need it to look if my printer is not doing anything stupid, not for timelapse, so the camera quality would be good enough.

Hope someone has a solution for me (and maybe also others).

Cheers

1 Like

/give it a little push^^

sorry for digging up this old thread, but did you find a solution?
I am looking to get my esp32cam stream into Mainsail…

My solution was to exclude the home assistant api:

# api:
#   encryption:
#     key: "adfafadsf..."

so only include the webserver component.
You just use esphome to host a webserver.
My feeling it that the link to homeassitant take priority or something?
using

esp32_camera_web_server:
  - port: 8080
    mode: STREAM
  - port: 8081
    mode: SNAPSHOT

Then allows for accessing <name>.local:8080, or <ip>:8080 in Octoprint