Native Shell
Native Shell:AI 生成的 UI,在你的應用中原生呈現,涵蓋每個平台。iOS、Android、macOS、Windows 與 Linux 上的應用、GPUI 應用與網頁在執行時載入已簽名、沙箱隔離的 TSX 模組並繪製 th
AI 翻譯
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Place your Home Assistant devices on your own floorplan, with an interactive dashboard card and live overlays. Currently in beta.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Put your Home Assistant devices on your own floorplan image and watch your home live: lights glowing in their real colour and staying in their room, the plan darkening at night, AC air flow, people in their rooms, an interactive Zigbee map (ZHA) and much more. Things that usually take custom cards, templates and lots of YAML, done with clicks: upload your picture (or start from a sample plan), drag your rooms onto it, press Auto-place and fine-tune by dragging.
📖 Full guide: https://johnkotrolos.github.io/ha-device-floorplan/
🎮 Live demo: https://johnkotrolos.github.io/ha-device-floorplan/demo/
Device Floorplan is in beta. It runs every day in a real home with ~90 devices, but your setup is different from mine, and that's exactly where your feedback helps. Please open an issue for anything that breaks, confuses you or is missing. Screenshots help a lot.
Known limits today:
No floorplan yet? See Turn your sketch into a floorplan in 10 minutes.
config/www, stays linked, a backup copy is kept), or start from
one of seven bundled sample plans.custom:device-floorplan-card with live overlays, several floors,
a night look with glowing lights, people in their rooms, and a companion
chip card for your top bar.From the Marketplace (Home Assistant 2026.11 and later, recommended)
https://github.com/JohnKotrolos/ha-device-floorplan (the first time,
Home Assistant asks you to sign in to GitHub, read-only).An install made with HACS moves to the Marketplace by itself.
With HACS (Home Assistant before 2026.11): HACS → ⋮ → Custom repositories → the link above, type Integration → find Device Floorplan → Download → restart Home Assistant.
Manually: copy custom_components/device_floorplan from the
latest release
into your config/custom_components/ folder and restart Home Assistant.
Then:
Options (Settings → Devices & services → Device Floorplan → Configure): new-device notification and automatic placement, both on by default.
Each plan is a device (“Ground floor plan”) under Settings → Devices with:
image.device_floorplan_<plan>: the plan picture, usable in any card.sensor.device_floorplan_<plan>: state = number of devices on the plan;
attributes (kept out of the history database): plan_id, image_url,
image_fallback_url, image_width, image_height, kind, floor_id,
level, image_type, metres_per_px_x/y, real_width_m, real_height_m,
approx_count, devices
({device_id: {name, x, y, px, py, approx, z?, ieee?, mac?, via?, main_entity, entities, roles, conns, group, box?, light?, parts?}},
x/y in % of the image; all entities of a device share its position),
entities (helpers / entities without a device placed on their own), bonds, phantoms,
zigbee_devices (the format of the Zigbee Floorplan Card) and areas (room pins).sensor.device_floorplan_new_devices: devices added since setup that are not
placed or skipped yet.
Action:
action: device_floorplan.get_positions
data:
plan: ground_floor
response_variable: plan
A floorplan with device positions is a map of your home, so plan images are
only served to logged-in users (/api/device_floorplan/image/…, the
frontend uses signed URLs). They are stored in config/device_floorplan/.
Images you link from config/www stay public at /local/…, as everything in
that folder. Planner data lives in .storage/device_floorplan.
The easiest way: press I'm ready → Add to dashboard in the Floorplan Editor. The card shows
your plan and its overlay buttons: Plan · Live · Lights · Comfort · Security · Network · Health,
People, plus your own. Tap a light to switch it, a cover for its controls, a reading for its
last 24 hours; hold for the details. Several floors get a floor rail next to the plan. At night
the plan darkens and the lights that are on glow (follows the sun by default).
Everything else (floors, which overlays, where the buttons are, what each overlay shows, light
scenes, rooms, people, day & night, tap behaviour, look, per-device settings) is set in the card
editor. Other cards can switch the overlay with the action device_floorplan.show_overlay, or use
the chip card that glows for the active overlay. See the card reference.
type: custom:device-floorplan-card
plans: [ground_floor, first_floor]
| Key | Action |
|---|---|
| Esc | Stop placing / measuring, cancel a drag, close menus and panels |
| Ctrl/Cmd+Z, Ctrl/Cmd+Shift+Z (or Ctrl+Y) | Undo, redo |
| Delete / Backspace | Remove the selected device (or the selected measurement) |
| Arrow keys (Shift = bigger steps) | Nudge the selected device |
| Shift while measuring | Don't snap the line straight |
Shortcuts don't fire while you type in a field.
zigbee_devices above can feed it.Next: polishing from your feedback, people on several floors, light pools in more overlays. Later: motion zones that fade, doors and covers drawn, a coverage map, Zigbee2MQTT topology. Ideas welcome as issues with the label idea. Full list: roadmap.
device_floorplan_new_device event lets you
build your own alerts (a blueprint for phone notifications is included).
Devices removed from HA show as a ? marker: remove them, or give the spot
to another device.