Help: camera rotation stopped working

Hi,

This is my setup:

My camera feed used to be rotated to the right. But, the “Camera stream rotation” option stopped working a couple days ago (no upgrade/update).

If I select the “roration right” option and press “update”, the camera rotates but it goes back to “not rotated” after a second.

Any ideas? Thanks!

1 Like

Adding info:

This is what’s happening to me. It’s marked as “solved”. So noideas what to do next :frowning:

I have the same issue now. It started after I upgraded to HA 2024.11. Could it be related to the new “speedy cameras” WebRTC feature?

Thanks for the info. I’ve been taking a look at that feature, but I can’t find a connection. I might open a ticket in GitHub.

I’m also having the same issue. When I updated from 2024.10.4 to 2024.11.2

Let’s hope someone from the HA team sees this:

Mine just got fixed with 2024.11.2

Problem is back with 2024.11.3 :worried:

Same problem here…

  • HA Green
  • Core 2024.11.3
  • Supervisor 2024.11.4
  • Operating System 13.2
  • Frontend 20241106.2

I rotate one (of a number) of cameras in the configuration to correct the view because the camera itself is physically rotated. When I open/refresh HA the view usually opens as desired (portrait) but very quickly falls back to the landscape view. I only noticed/tried setting up the rotation in the last few days so can’t say if it worked and then stopped working at some time.

Using ONVIF integration but this ‘feels’ like a frontend issue (3rd party software has no issue rotating image)…
Happens on Laptop Tablet and Phone…

I am loving the reduced video delay from the recent webRTC upgrade! Anecdotally I reckon it is less than half a second behind live events.

No response from the HA team in Github yet:

If you have an account, a comment will be very helpful :slight_smile:

Additional information I discovered…
On my Android phone when I click on the relevant image on the home page (defaulting to landscape and not rotating as set/desired) it opens in the popup window and shows a correctly rotated portrait image that can work for extended periods - sometimes minutes, sometimes seconds and sometimes not at all.

On a linux laptop trying to open the popup in Firefox and Chromium it can appear correctly for a few seconds but quickly reverts to landscape.

1 Like

In my case, when I click on the stream window, it just keeps the rotation for less than a second :frowning:

2 Likes

Same as me, the camera display the correct rotated one if I use the mobile data, and back to the original rotation with wifi network no matter you’re in home or outside, it’s weird too :rofl:

Hi!

I just checked it again. In a “single card” dashboard I do get the same behaviour: working on mobile network, not on WiFi.

But this does not happen on a “grid card” over a Masonry layout. Weird, weird…

I have the same problem. I only noticed that it only occurs when the “live” checkbox is checked. The problem usually disappears if the display mode is set to “auto”. This happens both in the computer browser and in the HA mobile app.

1 Like

FINALLLY FIXED with OS 14.2 and Supervisor 2025.1.4 :partying_face:

I can confirm this behavior, and it has not been fixed as mentioned above.
I’m not sure what the underlying difference is between the “auto” and “live” rendering, but I assume it may have something to do with that WebRTC stuff?
As in, you switch between the video feed being sent more or less directly to your browser (or app), or having it processed in your HA server before being sent to your viewing device.
If this was just a mere setting thing, I wouldn’t be bothered, but there is a tremendous update latency (10 seconds! :astonished:1 single frame every 10s) in the “auto” mode, while “live” is truly live

Live streaming, but you have to watch it with your head tilted and squinting your eyes to figure out what your watching at:

Or, you can get the image as it’s supposed to be (albeit rotated from the cameras point of view), but then you’ll only get a snapshot once in a while…

Yes, I also confirm the problem still persists. I did got it working for a couple days, but after a while it stopped working again. I just upgraded to 2025.2.4… same problem

Hi,

I have reopened the issue in Github. It would be very helpful if you posted something over there too:

Thanks!

It’s working for me again. I don’t know what changed. I have not updated anything :sweat_smile:

Let’s see what happens tomorrow… LOL