merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
388 stars 61 forks source link

Apple video support for Xiaomi/Yi cameras #365

Closed Semir333 closed 1 year ago

Semir333 commented 1 year ago

Hello!

Describe the idea or improvement My idea for improvement, is as you know iOS16 and new Homekit support video for Homekit video. My idea to transfer/stream the video to Homekit from Xiaomi/Yi cameras.

Describe the solution you'd like

image

image

merdok commented 1 year ago

Hi, thanks for the suggestion. Cameras are a little bit tricky to implement. I already had one try to do it and i failed (only got still image to work), so actually to implement camera we would need someone with streaming experience...

Semir333 commented 1 year ago

Good to see, this idea is an idea from your side also. I hope someone could help about it. If need some testers with 3 type of cameras, i could help in that also.

merdok commented 1 year ago

Which cameras do you have?

Semir333 commented 1 year ago

chuangmi.camera.ipc019 chuangmi.camera.025b02 chuangmi.camera.029a02

Semir333 commented 1 year ago

Closed mean it's already supported? :)

merdok commented 1 year ago

Closing due to inactivity... As already mentioned, adding video streaming capabilities is quite tricky and requires someone with experience in that.

Semir333 commented 6 months ago

Maybe for usable info to do this update

https://home.miot-spec.com/spec/chuangmi.camera.ipc019 https://home.miot-spec.com/spec/chuangmi.camera.029a02

https://miot-spec.org/miot-spec-v2/spec/service?type=urn:miot-spec-v2:service:p2p-stream:00007881 https://miot-spec.org/miot-spec-v2/spec/service?type=urn:miot-spec-v2:service:camera-stream-for-google-home:00007831

merdok commented 6 months ago

Yeah I tried with that properties, and the url seems to kind of work, but as already mentioned it requires a lot more logic like refreshing the url as it only works for a limited time afterwards a new url has to be used.

Semir333 commented 2 months ago

@merdok Please contact with (https://github.com/al-one) for home assistant he have a support funtcion to stream in is repo. Maybe it would be a greate co-op work, and many users will be very happy if this function finally work for homebridge! +1 for tester :)

merdok commented 2 months ago

I would be happy for any contribution in that area from anyone. Unfortunately from my side it is also the lack of time which currently hinders me to have a look at it... so i kind of hope for contribution...