Repository navigation
Releases: neardws/MijiaBar
Release list
MijiaBar 0.1.13
0.1.13
修复 / Fix
- 从 0.1.12 更新后点击菜单栏图标立即闪退:发布包漏了小屋图片资源包,现已打包进 App;找不到资源时也不再崩溃。
Crash when clicking the menu-bar icon after updating to 0.1.12: the app bundle was missing the house art resource bundle. It now ships in the app, and a missing resource no longer crashes.
新增 / New
- 和风、现代两套小屋风格(完整重绘)。/ Japanese and modern house styles (full redraws).
- 浅木、胡桃木配色变体现在随 App 一起打包。/ Light-wood and walnut variants now ship inside the app.
已签名并通过 Apple 公证。已装 0.1.12 的用户可通过「检查更新」(Sparkle)升级。
Signed and notarized by Apple. 0.1.12 users can update via Check for Updates (Sparkle).
MijiaBar-0.1.13.dmg 是签名公证版;-unsigned.dmg 是 CI 自动构建,仅供参考。/ MijiaBar-0.1.13.dmg is the signed, notarized build; the -unsigned.dmg is attached automatically by CI.
MijiaBar 0.1.12
0.1.12
- 设备列表顶部嵌入像素风等距小屋剖面图;点 放大 / Enlarge 打开独立小屋窗口 / Pixel-art isometric house cutaway at the top of the device list; Enlarge opens a dedicated House window
- 按本地时间切换白天与夜晚烘焙底图(约 6:00–17:59)/ Separate day and night baked art from local time (~6:00–17:59)
- 点场景里的灯具、电视/显示器、空调、玄关灯等开关对应设备 / Tap fixtures on the art to toggle matched devices (lights, TV/monitor, AC, entry light)
- 每个点位单独亮灯(烘焙底图 + 椭圆揭示),不再叠发光 PNG / Per-fixture local glow (baked bases + ellipse reveals); glow PNG overlays removed
MijiaBar 0.1.11
0.1.11
- 房间和设备可调整顺序(拖动 / 上移下移,顺序按家庭保存,CLI 和 MCP 共用)/ Reorder rooms and devices (drag or move up/down; order is saved per home and shared with the CLI and MCP)
- 通知:门窗打开、浸水、有人移动、设备上下线、开关变化(设置里可按类型和设备开关)/ Notifications for door/window opened, water leak, motion, device online/offline and on/off changes (toggle by type and per device in Settings)
- 菜单栏速览:最多显示 3 个读数(温度、湿度、PM2.5、空调设定温度、功率)/ Menu bar glance: show up to 3 readings (temperature, humidity, PM2.5, AC target, power)
- 用电统计:插座 / 空调伴侣详情页展示每天 / 每月用电量(本机记录 + 米家云,若可用)/ Power stats: daily and monthly kWh on plug and AC partner detail pages (local recordings + Mi Home cloud when available)
- 传感器历史:温湿度曲线、门窗 / 水浸开合与浸水记录 / Sensor history: temperature and humidity charts, door/window and leak logs
MijiaBar 0.1.10
0.1.10
- 全新官网设计(感谢 @skyswordw)/ Redesigned website (thanks @skyswordw)
- 新增门铃、门窗传感器、水浸传感器设备页(感谢 @skyswordw)/ New doorbell, door/window sensor and water-leak sensor device pages (thanks @skyswordw)
- 界面语言精简为简体中文、繁體中文(台湾用语)和 English;之前选了其他语言的用户会回到英文或地区默认语言 / UI languages simplified to Simplified Chinese, Traditional Chinese (Taiwan) and English; if you picked another language you'll get English or your region's default
- 修复 CI 构建(测试前先获取 Sparkle)/ CI fix: fetch Sparkle before running tests
MijiaBar v0.1.9
新功能 / What's new
Sparkle 应用内自动更新 — 设置 → 软件更新:自动检查开关和「检查更新…」。安装包经苹果公证,并用 EdDSA 签名。
In-app updates via Sparkle: Settings → Updates has an auto-check toggle and "Check for Updates…". Packages are notarized by Apple and signed with EdDSA.
⚠️ 0.1.8 及更早版本没有内置 Sparkle,需要手动安装一次本版,之后才会自动更新。
0.1.8 and earlier don't include Sparkle. Install this version manually once; later updates arrive automatically.- 🌐 新下载页 / New download site: https://www.neardws.com/MijiaBar/
界面 / UI
感谢 @skyswordw 贡献的界面、无障碍和图标更新(#2 #8 #9 #10):无障碍标签、设计规范、直播界面打磨、插画重绘、登录/设置/详情页风格统一,以及新的 App 图标。
Thanks to @skyswordw for the UI, accessibility and icon work (#2 #8 #9 #10): accessibility labels, a design guide, live view polish, redrawn illustrations, consistent login/settings/detail screens, and a new app icon.
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.
MijiaBar v0.1.7
MijiaBar v0.1.7
- 修复:空调详情页顶部的返回、收藏、••• 按钮无法点击(卡片顶部柔光超出卡片、挡住了点击区域)。
- 更简短的 Agent 接入:设置 → Agent 接口 /
mijiabar setup-prompt现在只复制 3 行提示(文档链接 + CLI 路径 + 未经同意不改设备状态),完整步骤移到docs/AGENT_SETUP*.md,共 9 种语言。 - 点击自检:新增
MijiaBar --hittest,用演示数据合成鼠标点击,验证各页面顶部按钮可点。 - 同时包含已合并的 #5、#6、#7(感谢 @skyswordw)。
- Fix: back / favorite / ••• header buttons were unclickable on the AC detail page (the card's top glow overflowed and swallowed clicks).
- Shorter agent setup: Settings → Agent interface and
mijiabar setup-promptnow copy a 3-line prompt linking todocs/AGENT_SETUP*.md(9 languages). - Click self-check:
MijiaBar --hittestsynthesizes clicks on demo data to verify header buttons. - Also includes merged #5, #6, #7 — thanks @skyswordw.
Developer ID signed and notarized by Apple.
MijiaBar v0.1.6
MijiaBar v0.1.6
- 一键接入 Agent:设置 → Agent 接口 新增「复制安装说明」,粘贴给 Claude Code / Codex / Cursor 等 Agent 即可自行完成 CLI 定位、MCP 注册(
claude mcp add、codex mcp add/~/.codex/config.toml、通用mcpServersJSON)、权限说明和设备列表验证。命令行也可用mijiabar setup-prompt输出同样内容。 - 9 种界面语言全部完成:简体中文、繁體中文、English、Deutsch、Français、Español、Italiano、Русский、日本語(翻译表见
i18n/*.tsv,scripts/gen-i18n.py校验覆盖率)。 - 繁體中文改用台湾用语:逐条人工校对(選單列、設定、裝置、登入、冷氣、電暖器……)。
- 多语言 README:English / 简体中文 / 繁體中文 / Русский / Deutsch / Français,带徽章、Agent/MCP 说明、默认隐藏规则和数据存放位置。
- 修复:空调在非中英文界面下的制热/制冷识别;
mijiabar setup-prompt不再读取钥匙串,避免触发授权弹窗。
- One-paste agent setup: Settings → Agent interface → "Copy setup instructions" (also
mijiabar setup-prompt). - All 9 UI languages complete; zh-TW now uses Taiwan wording; multilingual README with badges.
- Fixes: AC heat/cool detection in translated UIs; no Keychain prompt for
setup-prompt.
Developer ID signed and notarized by Apple.
MijiaBar v0.1.5
MijiaBar v0.1.5
动效打磨,感谢 @skyswordw 的贡献(#1)。
- 克制的弹簧动效、按压/悬停反馈、页面推入/退出过渡
- 电源按钮涟漪确认;滑条拖动跟手、松手吸附、跨档触控板轻触反馈
- 动效统一应用到所有设备详情页:风扇按风速转动、电视屏幕开机发光、取暖器热浪、除湿机水位、灯泡亮度/色温过渡等
- 所有详情页与空调卡片一致的开启柔光与色调描边
- 详情页键盘:←→ 调节主滑条(温度 / 风速 / 亮度 / 目标温湿度 / 音量),空格开关,Esc 返回
- 实时遵循系统「减弱动态效果」
- 已用 Developer ID 签名并通过 Apple 公证
MijiaBar 0.1.4
- 每类设备独立设计的拟物动画详情页:风扇、灯、插座、电视、音箱、摄像机、打印机、厨房电器、净水器、取暖器、除湿机、传感器
- 修复详情页内容超宽导致左侧被裁切(固定 336pt 卡片宽度,几何探针验证 minX=12 / maxX=348)
- 全部中文标签,无读数时显示中性占位
- 按小米服务器地区推荐界面语言:简体中文 / 繁體中文 / English(其他语言暂回退英文)
- 设置中新增「完全退出 MijiaBar」按钮,支持 ⌘Q
- Developer ID 签名并已公证