ESP32 cam flashed with arduino IDE example

I flashed my esp32 cam with the “CameraWebserver” example.

It streams perfectly fine to a local IP address.

Now I’d like to add it to lovelace, but without success. I tried setting it uo in the config to get an entity and to put it directly to lovelace.

      - type: picture
        title: ESPcam2
        entities: []
        image: ''
        camera_view: live

The camerastream is accessable at, But there is no picture showing up in ha.

My second try was adding it to the configuration, also without luck:

  - platform: generic
    name: ESP32

I think the problem is that it isn’t a still image url.

Got it working with this tutorial:

But this uses different code.

I’d still like to know why it doesn’t work with the arduino example. So if someone knows, please tell me.
The arduino example has some interesting features (rotate picture, face recognition and many more).
So I’d prefer that one.