Skip to content

Releases

MijiaBar 0.1.16

Choose a tag to compare

@github-actions github-actions released this 11 Nov 07:55
2da97ec

0.1.16

新增 / New

  • 小屋相邻房间之间画出连通门洞,多层户型增加楼梯;经典四室也使用同一套合成画法 / Adjoining house rooms now connect through doorways, with stairs between floors; the classic four-room layout uses the same composed artwork
  • 可在地板自由摆放装饰,门洞和楼梯会留空,并提供专门的摆放提示 / Place decorations freely on the floor, with doorways and stairs kept clear and dedicated placement hints
  • 风格包支持按需下载并校验 SHA-256,温馨木屋仍然内置 / Style packs support on-demand downloads with SHA-256 verification; Cozy Wood remains bundled
  • 有厨房、卫生间或阳台时,默认自动布局会把这些房间排进户型 / The default automatic layout now includes a kitchen, bathroom or balcony when present
  • 新增短毛宠物狗;猫会被家具遮挡,并对设备做出反应:空调旁趴窝、进门跑来、躲避扫地机 / New short-haired pet dog; cats are occluded by furniture and react to devices by lounging near the AC, running to the entrance and avoiding robot vacuums
  • 窗帘(含开合位置)、冰箱、洗衣机、热水器、加湿器、扫地机、空气净化器、暖气、除湿机、水壶、洗碗机、榨汁机和电磁炉新增独立详情页与插画 / Dedicated detail pages and illustrations for curtains (with position controls), fridges, washers, water heaters, humidifiers, robot vacuums, air purifiers, heaters, dehumidifiers, kettles, dishwashers, juicers and induction cooktops

改进 / Improved

  • 宠物花色预览更清晰,短毛猫睡觉姿势更协调 / Clearer pet coat previews and better-proportioned sleeping poses for short-haired cats
  • 界面圆角、字体和详情页键盘焦点更统一 / More consistent corner radii, typography and keyboard focus on detail pages
  • 补全音箱、厨房电器、净水器、人体传感器和在线打印机的演示设备 / More complete demo devices for speakers, kitchen appliances, water purifiers, motion sensors and online printers

MijiaBar 0.1.15

Choose a tag to compare

@neardws neardws released this 21 Oct 14:05
cdbba5e

0.1.15

改进 / Improved

  • 黑猫和深色毛的猫晚上也看得清:垫一层柔和的蓝灰底色,轮廓多一圈冷色细边,眼睛保留高光;浅色猫和白天画面不变。
    Black and dark-coated cats are now easy to see at night: a soft blue-grey base, a thin cool outline and eyes that keep their shine. Light coats and the daytime view are unchanged.
  • 宠物猫的动作和走动更流畅:姿势规划和寻路快了约 4 倍,行为完全不变。
    Pet cats move and walk more smoothly: pose planning and pathfinding are about 4x faster, with exactly the same behaviour.
  • 小屋预览在搜索或排序时自动收起;设置 → 设备新增「在设备列表上方显示小屋」开关;小屋动画更顺滑,并补充了无障碍标签。
    The house preview hides while you search or reorder; a new Settings → Devices toggle, "Show the house above the device list"; smoother house animations and new accessibility labels.

修复 / Fixes

  • 设备状态不再过期:「刷新」会重新读取开关状态,打开列表时会更新超过 2 分钟的状态,首次读取失败的设备会自己恢复;切换地区或退出登录后不再残留旧错误。
    Device states no longer go stale: Refresh re-reads on/off states, the list updates states older than 2 minutes when it opens, and devices whose first read failed now recover. Changing region or signing out clears old errors.
  • 实时画面:一个摄像头还在启动时打开另一个,不再残留多余的 go2rtc 进程;被其他摄像头顶掉的画面显示为暂停,可点「重试」。
    Live view: opening another camera while one is still starting no longer leaves an extra go2rtc process running; a stream bumped by another camera shows as paused with Retry.
  • 命令行:mijiabar --version 显示真实版本号(以前固定为 0.1.8),setup-prompt 显示真实 App 路径,set 传入超大数值不再崩溃。
    CLI: mijiabar --version reports the real app version (it was stuck at 0.1.8), setup-prompt prints the real app path, and set with a huge number no longer crashes.

已签名并通过 Apple 公证。已装 0.1.9 及以后版本的用户可通过「检查更新」(Sparkle)升级。
Signed and notarized by Apple. Users on 0.1.9 or later can update via Check for Updates (Sparkle).

MijiaBar-0.1.15.dmg 是签名公证版;-unsigned.dmg 是 CI 自动构建,仅供参考。/ MijiaBar-0.1.15.dmg is the signed, notarized build; the -unsigned.dmg is attached automatically by CI.

MijiaBar 0.1.14

Choose a tag to compare

@neardws neardws released this 20 Oct 06:05
238a118

0.1.14

新增 / New

  • 小屋装饰:固定装饰位、节日装饰包,编辑窗口新增「风格与装饰」面板。
    House decorations: fixed decor slots, a holiday pack and a new Style & Decor panel in the editor.
  • 宠物猫:像素短毛猫,6 种花色、8 种动作,最多养 3 只,会在房间里走动、跳上高处、睡觉;可以用一张照片在本机识别花色(照片不保存);支持 mijiabar house pets 命令和 MCP 工具。
    Pet cats: pixel short-hair cats with 6 coat patterns and 8 actions, up to 3 cats that walk around, jump up and nap; pick a coat from a photo, analysed on your Mac (the photo is not kept); mijiabar house pets CLI and MCP tools.

修复 / Fixes

  • 夜里菜单栏小屋里的猫不再挤在一起。/ Cats no longer pile up together in the menu-bar house at night.
  • 编辑窗口里的窗帘位、冰箱位、洗衣机位、热水器位不再显示英文 id。/ Curtain, fridge, washer and water-heater slots no longer show raw ids in the editor.

已签名并通过 Apple 公证。已装 0.1.9 及以后版本的用户可通过「检查更新」(Sparkle)升级。
Signed and notarized by Apple. Users on 0.1.9 or later can update via Check for Updates (Sparkle).

MijiaBar-0.1.14.dmg 是签名公证版;-unsigned.dmg 是 CI 自动构建,仅供参考。/ MijiaBar-0.1.14.dmg is the signed, notarized build; the -unsigned.dmg is attached automatically by CI.

MijiaBar 0.1.13

Choose a tag to compare

@neardws neardws released this 18 Oct 10:47
4f7990f

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

Choose a tag to compare

@neardws neardws released this 17 Oct 08:49
be7da8c

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

Choose a tag to compare

@neardws neardws released this 14 Oct 15:48
fb84897

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

Choose a tag to compare

@neardws neardws released this 14 Oct 13:41
c089f4e

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

Choose a tag to compare

@neardws neardws released this 14 Oct 08:33

新功能 / 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

Choose a tag to compare

@neardws neardws released this 13 Oct 13:46

新功能 / 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 on 127.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

Choose a tag to compare

@neardws neardws released this 13 Oct 11:44

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-prompt now copy a 3-line prompt linking to docs/AGENT_SETUP*.md (9 languages).
  • Click self-check: MijiaBar --hittest synthesizes clicks on demo data to verify header buttons.
  • Also includes merged #5, #6, #7 — thanks @skyswordw.

Developer ID signed and notarized by Apple.