cgarwood / homeassistant-fullykiosk

Fully Kiosk Browser integration for Home Assistant
Apache License 2.0
153 stars 27 forks source link

Camera failed trying to restart #52

Closed gamer06 closed 2 years ago

gamer06 commented 2 years ago

Hi,

Today I acquired the license from FB. I have an Android tablet Samsung Tab A7, in the latest version, with everything updated. If I enable "Enable Visual Motion Detection" (front camera), the stream from the tablet camera does not work. Always give me this error: "Camera failed trying to restart" ! in the Fully Kiosk application itself.

At the same time as I use Home Assistant, it gives me this error in the log: "The camera entity camera.a7_fully does not support requesting width and height, please open an issue with the integration author".

But if you turn off the motion detector and just leave the camera on, the camera works. Do you have a solution?

gamer06 commented 2 years ago

Any help? This is the error in Home Assistant: https://gyazo.com/ca5e75bf5e5b91dda250bfb2b7747ab0 And the stream of camera stops...

Thanks!

cgarwood commented 2 years ago

Unfortunately I don't think we'll be able to help much here, as this component doesn't currently implement a camera platform. I know some tablets struggle with motion detection enabled because of the amount of CPU it uses. My best guess would be that the tablet doesn't have enough resources to both run motion detection and stream the camera feed at the same time, but I admittedly haven't looked into it much.