Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Losing stream #2

Open
sturlahallas opened this issue Dec 4, 2024 · 4 comments
Open

Losing stream #2

sturlahallas opened this issue Dec 4, 2024 · 4 comments

Comments

@sturlahallas
Copy link

Integration sort of works, but not really. I get a video stream for two-three seconds, and then it's gone. Haven't been able to figure out why this happens, but it kinda makes the integration useless.

I'm on the Cruiser Dual camera

@Imou-OpenPlatform
Copy link
Owner

Please check the logs of the home assistant to see where the problem lies. Additionally, you can refer to our official interface documentation to obtain the live broadcast address and ensure that the device is functioning properly.
https://open.imoulife.com/book/http/device/live/bindDeviceLive.html

@susivan
Copy link

susivan commented Dec 5, 2024

I have the same issue.

@Imou-OpenPlatform
Copy link
Owner

You can check the homeassistant log to obtain the live address returned by the getLiveStreamInfo interface, and use a player such as VLC to try playing it normally.

@sturlahallas
Copy link
Author

This is from the HA-logs:
return await self.sensor_instance.async_get_image()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/imouapi/device_entity.py", line 601, in async_get_image
raise InvalidResponse(f"unable to retrieve image from {url}: {exception}") from exception
imouapi.exceptions.InvalidResponse: unable to retrieve image from https://imou-fk-ali-online-paas-iot-private-picture.eu-central-1.oss.aliyuncs.com/lechange/DKC4YE56/45F39ADPSF148D3_img/Alarm/0/09fcaa99fd1d43ba97945af79b739b20.jpg?Expires=1733819101&OSSAccessKeyId=LTAI5tEPoxxxxxxxxxxx&Signature=xxxxxxxxxx8LlYgDuZV5VoL2U%3D: status code 404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants