# Integracja kamer Xiaomi CW300

**URL:** <https://forum.arturhome.pl/t/integracja-kamer-xiaomi-cw300/16937>\
**Category:** Integracje\
**Created:** [20 Wrzesień 2026 08:52 UTC](https://forum.arturhome.pl/t/integracja-kamer-xiaomi-cw300/16937 "2026-09-20T08:52:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Autor:** ![MarWo](https://forum.arturhome.pl/letter_avatar_proxy/v4/letter/m/a8b319/32.png) [@MarWo](https://forum.arturhome.pl/u/MarWo)\
**Data wpisu:** [20 Wrzesień 2026 08:52 UTC](https://forum.arturhome.pl/t/integracja-kamer-xiaomi-cw300/16937/1 "2026-09-20T08:52:30Z")

</div>

cześć.

Jakiś czas temu kupiłem kamery jak w temacie.

Mam zainstalowana integrację Xiaomi Miot (próbowałem w konfiguracji wersji local oraz cloud - z tym samyym efektem).

Mam poprawne dane logowania do chmury.

Widzę obie kamery.

Widzę również encje w obu kamerach. (ale nie mogę z nimi nic robić - są “wyszarzone”.)

Niestety nie potrafię dostać do strumienia wideo z tych kamer.

Czytałem, że jest problem z tymi kamerami.

Czy komuś się udało zintegrować te kamery w HA ?

---

<div class="post-metadata">

**Autor:** ![angler](https://forum.arturhome.pl/user_avatar/forum.arturhome.pl/angler/32/31484_2.png) [@angler](https://forum.arturhome.pl/u/angler)\
**Data wpisu:** [20 Wrzesień 2026 15:28 UTC](https://forum.arturhome.pl/t/integracja-kamer-xiaomi-cw300/16937/2 "2026-09-20T15:28:36Z")

</div>

> <https://github.com/al-one/hass-xiaomi-miot/issues/166>
>
> \### This component supports Xiaomi cameras, but if you need to be able to play v…ideo streams in HA, the device needs to meet the following conditions:
> \- \[x\] Service \[\`camera-stream-for-google-home\`\](https://miot-spec.org/miot-spec-v2/spec/service?type=urn:miot-spec-v2:service:camera-stream-for-google-home:00007831) needs to be defined in camera device miot-spec (find your camera spec \[here\](https://home.miot-spec.com))
> \- \[x\] The stream address can be obtained after the device is integrated (\`stream\_address\` attribute in \[entity state\](https://my.home-assistant.io/redirect/developer\_states))
> \- \[x\] The stream address can be accessed normally within the validity period (\`stream\_http\_status\` and \`stream\_http\_reason\` attributes in \[entity state\](https://my.home-assistant.io/redirect/developer\_states))
> \- \[x\] The stream address can be transcoded normally by ffmpeg, test via shell command:
> \`\`\`shell
> ffmpeg -v warning -y -protocol\_whitelist file,http,https,rtp,udp,tcp,tls,crypto -i 'https://cn.livestreaming.io.mi.com/hlstranscoder/XXXXXX\_H265transH264/playlist.m3u8' -an -c:v mjpeg -f mpjpeg xiaomi\_camera\_video
> \`\`\`\`
> 
> \### What information do you need to show me when report a bug for camera ?
> \- Camera device model (Like: \`brand.camera.abc\`) \_\*\*\`Required\`\*\*\_
> \- Masked \`stream\_address\`
> \- \`stream\_http\_status\` and \`stream\_http\_reason\` attributes in \[entity state\](https://my.home-assistant.io/redirect/developer\_states)
> \- ffmpeg test results
> 
> \------
> 
> \### 本组件支持小米摄像机，但是如果需要能在HA中播放视频流，需要设备满足以下条件：
> \- 相机设备miot-spec中需定义流服务 (在\[这里\](https://home.miot-spec.com)找到你的相机规格)
> \- 集成设备后能够获取到流地址 (\[实体状态\](https://my.home-assistant.io/redirect/developer\_states)的属性\`stream\_address\`)
> \- 流地址在有效期内能够正常访问 (\[实体状态\](https://my.home-assistant.io/redirect/developer\_states)的属性\`stream\_http\_status\`和\`stream\_http\_reason\`)
> \- 流地址能被ffmpeg能够正常转码，通过shell命令测试：
> \`\`\`shell
> ffmpeg -v warning -y -protocol\_whitelist file,http,https,rtp,udp,tcp,tls,crypto -i 'https://cn.livestreaming.io.mi.com/hlstranscoder/XXXXXX\_H265transH264/playlist.m3u8' -an -c:v mjpeg -f mpjpeg xiaomi\_camera\_video
> \`\`\`\`
> 
> \### 报告Bug时需要向我展示哪些信息？
> \- 相机设备型号 (如：\`brand.camera.abc\`) \_\*\*\`必填\`\*\*\_
> \- 掩码的流地址
> \- \[实体状态\](https://my.home-assistant.io/redirect/developer\_states)的属性\`stream\_http\_status\`和\`stream\_http\_reason\`
> \- ffmpeg测试结果
