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

Device support ! #148

Closed
League2EB opened this issue Jul 26, 2021 · 10 comments
Closed

Device support ! #148

League2EB opened this issue Jul 26, 2021 · 10 comments

Comments

@League2EB
Copy link

any one can support device model : isa.camera.hlc7 ?

thx all

@al-one
Copy link
Owner

al-one commented Jul 27, 2021

This model of camera has two miot-spec urn:

urn:miot-spec-v2:device:camera:0000A01C:isa-hlc7:1 # version 1
urn:miot-spec-v2:device:camera:0000A01C:isa-hlc7:2 # version 2

start-hls-stream is supported in version 2. If you get a notification saying Your camera doesn't support streaming services when integrating the device, you need to delete .storage/xiaomi_miot/instances.json in the HA directory and reload the integration.

@League2EB
Copy link
Author

League2EB commented Jul 27, 2021

@al-one 我刪除了該文件,但我的控制台目前呈現該情況

image.png

image.png

image.png

以下是實體屬性的Log
image.png

目前可以控制鏡頭開關,但無法看見攝影機畫面

我該怎麼正確地把攝影機加入 ?

我使用本地小米帳號集成

非常感謝指導

@al-one
Copy link
Owner

al-one commented Jul 27, 2021

miot_action_error中的错误码表示服务不存在,无法通过action获取流地址,可能厂商定义的miot-spec有问题。

@League2EB
Copy link
Author

miot_action_error中的错误码表示服务不存在,无法通过action获取流地址,可能厂商定义的miot-spec有问题。

但我可以進行攝影機開關與指示開關,唯獨查看攝影機畫面沒有運行

我已經開啟雲端,但我的stream_address仍然是空的,您有想法怎麼解決嗎 ?

@al-one
Copy link
Owner

al-one commented Jul 27, 2021

暂无解决方案。

@League2EB
Copy link
Author

暂无解决方案。

#11 (comment)

這是我不能理解了,貌似isa.camera.hlc6 可以獲得解決,但是isa.camera.hlc7卻無法解決

是否我用相同方式可能可以運行?

@al-one
Copy link
Owner

al-one commented Jul 27, 2021

hlc7无法通过miot云端接口获取流地址,问题出在云端,插件无能为力。

@League2EB
Copy link
Author

hlc7无法通过miot云端接口获取流地址,问题出在云端,插件无能为力。

這個問題需要等官方那邊開通接口才能讓問題解決的意思嗎 ?

無論如何感謝您的貢獻!

@al-one
Copy link
Owner

al-one commented Aug 2, 2021

這個問題需要等官方那邊開通接口才能讓問題解決的意思嗎 ?

可以这么理解,这款摄像头刚发布的时候是没有start-hls-stream miot action的,后来更新了一版协议后才加上,因此也许厂家会在后续版本的设备固件中支持。

@al-one
Copy link
Owner

al-one commented Aug 17, 2021

See #166

@al-one al-one closed this as completed Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants