The mjpeg platform for the camera integration does not support platform setup. Please remove it from your config

I just upgraded to latest HA / Core on a Pi and now my camera doesn’t work anymore and I get:

The mjpeg platform for the camera integration does not support platform setup. Please remove it from your config.

In the log. For reference my configuration.yaml contains:

camera:
  - platform: mjpeg
    mjpeg_url: http://some_ip/address/
    name: Blue Iris Cameras
    username: !secret busername
    password: !secret bpassword
    authentication: basic

This entity is used inside a picture-entity card to show the image.

If this is no longer supported, how do I get the picture now? Thanks.

Before upgrading, one should alway read the breaking changes

Besides, you have had this warning for several updates allready…

I haven’t upgraded HA since sometime last year because every time I upgrade stuff breaks and I haven’t had any time to deal with the fallout until now, so I didn’t see any warnings.

You’re right that I should check the breaking changes, however it’s hard to check all of them (as I’m skipping ahead many versions). Thanks for the link.

2 Likes

May I then suggest this addon.

Apart from reading the documentation before updating HA (which does not help this case anyway)…is there actually a workaround for this issue? I have Zmodo cameras that don’t integrate in to HA well. I finally got them to work using a camera server that I access via a http link which has the user&password in the URL and then display them using the Picture card. Since around 6-8 weeks now only the Zmodo on the local home network displays video and the other 3 cameras are on a my.ddns.net and have stopped working. (all were working great until 6-8 weeks ago).

I dont understand why such a basic http protocol now stops working. I’m also a Nabu Casa subscriber but turned off the Nabu Casa https to use my own my.ddns.net domain to access HA from outside of the home network.

Thank you for any assistance and guidance possible.

Trying to delve in a bit deeper to this issue, I notice that all my local cameras that are WORKING in HA are being served up on the same IP address as the phone acting as the camera server. However the ones that do not work have a different IP address and I cant change it or edit to the correct one. Its as if the MJPEG integration has cached the ip addresses and wont even let me delete the wrong ones and then re create them. I jest get the error message that the camera is already configured.

Does anyone know how I can clear the MJPEG camera utility completely then start to add the cameras from scratch?

Correct working camera:

http://myprivate.ddns.net:8083/axis-cgi/mjpg/video.cgi?cameraId=blah,blah,blah

Incorrect camera:

http://198.91.154.133:8083/axis-cgi/mjpg/video.cgi?cameraId=blah,blah,blah

And if i try to change the IP to the correct address this is what I get:
image

image

Did you happen to figure out how to clean that up? I’m running in to the same issue at the moment…