nicosandller/easy-floorplan
À propos
Carte de plan interactive pour Home Assistant, avec un éditeur visuel par glisser-déposer pour ajouter des murs, des portes, des meubles, du texte et des commandes d’appareils.
Autres projetsWhat you can do
- Visual editor — draw walls, doors, windows and furniture, or trace an existing plan.
- Lighting — light from your lamps, day/night dimming, sunlight, moonlight and ambient daylight.
- Rooms and presence — zoom into rooms, show presence and track positions.
- 2D and 3D — the same plan flat or raised, with multipane windows and doors, roofs and a whole-house view.
Progression mesurée des étoiles
- in 24h
- +2
- in 7 days
- +8
- in 15 days
- +18
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalEasy Floorplan
A Home Assistant Lovelace card for building an interactive floorplan with a visual drag-and-drop editor. Draw walls, place furniture and connect your devices to see and control your home in 2D or 3D.
Installation · Your first plan · Documentation
https://github.com/user-attachments/assets/ee1d5fb9-e40e-43af-a748-70698e2e455e
Features
- Visual editor — draw walls, doors, windows and furniture, or trace an existing plan.
- Live devices — control lights and switches, and watch doors, windows and covers move, with badges for readings.
- Lighting — light from your lamps, day/night dimming, sunlight, moonlight and ambient daylight.
- Rooms and presence — zoom into rooms, show presence and track positions.
- Multiple floors — switch floors or take the stairs, with summary badges per floor.
- 2D and 3D — the same plan flat or raised, with multipane windows and doors, roofs and a whole-house view.
- Appearance — skins, named colors, zoom and pan, and a plan that scales to your screen.
The guides cover every feature and option.
Installation
HACS (recommended)
Distributed as a custom repository. Add it in one click:
Or add it manually:
- In Home Assistant, open HACS.
- Open ⋮ → Custom repositories.
- Add
https://github.com/nicosandller/easy-floorplanwith category Dashboard (also called Plugin). - Find Easy Floorplan and click Download.
- Hard-refresh your browser (Cmd/Ctrl-Shift-R).
HACS adds the dashboard resource automatically.
Manual
- Download
easy-floorplan-card.jsfrom the latest release. - Copy it to
<config>/www/easy-floorplan-card.js. - Add a dashboard resource under Settings → Dashboards → ⋮ → Resources → Add:
- URL:
/local/easy-floorplan-card.js - Type: JavaScript module
- URL:
- Hard-refresh your browser.
Create your first plan
- Edit your Home Assistant dashboard, select Add card, open the By card tab and choose Easy Floorplan. Its tile shows a sample room; your new card starts empty.
- In the visual editor, choose Wall and drag to draw each wall.
- Choose Door or Window and place it on a wall.
- Choose + Add → Device, move it into place, then select its Home Assistant entity in the Selection inspector.
- Save the card and leave dashboard edit mode to try the controls.
The visual editor writes the configuration for you. To start through a Manual card instead, paste this YAML and switch to the visual editor:
type: custom:easy-floorplan-card
overlayScale: plan
Use the element guide for device settings, rooms, trackers and animations. The editor guide explains saving without closing the editor and locking finished elements in place.
Documentation
| Guide | What it covers |
|---|---|
| Editor | Applying changes and locking elements in place. |
| Editor workspace | Drawing tools, settings tabs, zoom and phone layouts, with screenshots. |
| Elements and controls | Devices, openings, rooms, trackers and animations, with examples. |
| Configuration | YAML keys, defaults, coordinates and a complete example. |
| Lighting | Device light, sun, moon, skylights, ambient daylight and clouds. |
| Appearance | Skins, colors, line art, SVG export, 3D view, room navigation, scaling and styling. |
| Behaviour | Actions, visibility, floor navigation and unavailable entities. Behavior → Show code editor sets YAML-only actions, such as popup-card's fire-dom-event, on one element without the whole-card YAML. |
| Roofs | Roof styles (gable, hip, shed, flat), configuration, overhang, and editing |
| Outdoor 3D Stacking | Multi-floor exterior elevation, ground slabs, and roof rendering. |
| Floor summaries | Aggregated switcher badges (climate, presence, lights, openings) with sensor discovery. |
| Callout info-panels | Spatial telemetry HUD cards with leader lines anchored to elements in 2D/3D. |
| Furniture symbols | Creating and contributing your own symbols. |
| Video walkthrough | A community setup guide in Italian. |
See the release notes for published changes.
Development
Build commands and test guidance are in Contributing. The local Home Assistant guide explains the Docker demo, its sample plan and the development workflow.
Support
Use Issues to report bugs or request features, and Discussions to ask questions and share your setup.
License
Explorer des projets similaires
Chargement…