Repository navigation
MijiaBar v0.1.8
新功能 / What's new
摄像头直播(看直播) — 小米摄像机的详情卡片里直接播放实时画面,放大按钮可弹出可调整大小的独立窗口。由内置的 go2rtc(MIT,感谢 @AlexxIT)提供,构建时下载官方发布包并校验 SHA-256。
Inline live video for Xiaomi cameras right in the device card; the enlarge button pops it out into a resizable window. Powered by the bundled go2rtc (MIT, credit @AlexxIT), official release verified by SHA-256 at build time.
⚠️ 需要重新扫码授权一次:设置 → 摄像头直播 → 重新扫码授权直播。/ Re-scan the QR code once to enable live view: Settings → Camera live view.- 🔔 门铃直播为实验性功能,可能无法连接(电池门铃需要唤醒,会明显耗电)。/ Doorbell live view is experimental and may not work (battery doorbells must be woken and drain faster).
- 友好的错误提示(原始信息在「详情」里),9 种语言。/ Friendly, localized error messages, with the raw text under "Details".
- 局域网 / 云端标记:每台设备显示最近一次读取/控制走的通道(局域网直连、云端回退、蓝牙网关)。/ LAN / Cloud badge showing the path of the last read/control.
- 离家检测:不在家庭局域网时跳过局域网直接走云端,摄像头卡片提示只能在家看直播。/ Away-from-home detection: skips LAN and goes straight to the cloud; cameras note live view only works at home.
隐私 / Privacy
- go2rtc 只在观看时运行,只监听
127.0.0.1随机端口,关闭 RTSP / WebRTC / HomeKit(mDNS),只开放播放器接口;关闭画面 20 秒后停止,退出 App 时结束。
go2rtc runs only while you watch, listens on127.0.0.1(random port) only, with RTSP / WebRTC / HomeKit (mDNS) disabled and only the player endpoint exposed; it stops 20 s after the player closes and is killed on quit. - 凭据只存在钥匙串;临时配置文件权限 600,go2rtc 读入后立即删除。不录制。Agent / MCP 无法访问摄像头。
Credentials stay in the Keychain; the temporary config is mode 600 and deleted right after go2rtc reads it. Nothing is recorded. Agents / MCP have no camera access. - 离家检测只比较本机子网与设备局域网 IP,不探测、不保存任何网络标识。/ Away detection only compares local subnets with device IPs; nothing is probed or stored.