H-212How-to · 8 min read
How to connect your plan to Home Assistant
Your storeys and rooms become floors and areas in Home Assistant, and the lights, fans and smart switches in your plan become a live 3D card of the house. Connected to your account, Home Assistant picks up every change you save in Nuvie on its own.
Home Assistant integration: on every plan by defaultAbout Home Assistant →
All docs
You'll need
- Home Assistant 2024.12 or later, with HACS installed (it's how most people add community integrations).
- A saved Nuvie project with its lights and devices placed. See Wire the house if you haven't placed them yet.
- About five minutes. You only do this once per Home Assistant.
1. Link devices in Nuvie (optional)
- Open the project, select a light, fan or smart device, and under Services › Home Assistant set its Entity, for example
light.living_room. - A switch plate has one box per button: link each button to its channel of a smart switch.
- Save the project.
2. Install Nuvie Planner from HACS
- In Nuvie, open Account › Home Assistant and press Open in HACS. It opens your Home Assistant at the right page. Or, in HACS, open ⋮ › Custom repositories, add
https://github.com/Peter-K-Joseph/nuvie-home-assistantwith the type Integration, then search for Nuvie Planner. - Press Download, then restart Home Assistant (Settings › System › Restart).
- After the restart, refresh the Home Assistant page in your browser so it loads the 3D card.
3. Connect your Nuvie account
- In Home Assistant, go to Settings › Devices & services › Add integration and choose Nuvie Planner. (Add Nuvie Planner on Nuvie's Home Assistant page goes straight there.)
- Choose Connect to my Nuvie account. Home Assistant shows a link and a code, like
KXQM-TBWD. - Open the link and sign in to Nuvie if you aren't already. Check that the code matches the one in Home Assistant.
- Pick the project and press Connect.
- Go back to Home Assistant: it finishes on its own within a few seconds. Your storeys become floors, your rooms become areas, and linked devices that have no room yet are put in theirs.
4. Add the 3D card
- Open a dashboard, press Edit, then Add card, and pick Nuvie home (3D).
- Tap a light, switch or fan to toggle it; tap anything else for its details. Lights that are on glow and light up their room.
- To link a device from here, an admin presses the pencil on the card, taps the device and picks its entity from the list.
- Press the sliders button to set the quality, time of day and weather for the screen you're on.
Card options are in the Home Assistant card reference.
Security devices
Cameras, motion sensors, smoke, heat, gas and CO detectors, door and window sensors, leak and glass-break sensors, sirens, alarm keypads and locks link the same way. On the card, a triggered alarm or a detector going off turns the house red with a banner, motion lights up its room, and the camera button shows what each camera sees. For a doorbell, also link its Ring entity (under Services › Home Assistant, or Ring on the card's pencil): the card then shows a banner when someone rings. What links to what is in the card reference.
When you change the plan
Just save the project in Nuvie. Home Assistant checks for a newer plan every 10 minutes, downloads it and syncs any new rooms. The 3D model can take a minute longer while Nuvie rebuilds it. For the change straight away, run the Nuvie Planner: Sync from the plan action (nuvie.sync) from Developer tools › Actions.
Links you make on the card are kept in Home Assistant and win over the plan's, so a newer plan doesn't undo them.
Disconnect
- In Nuvie: Account › Home Assistant, then Disconnect next to it. It stops getting updates at once and keeps what it already has.
- In Home Assistant: delete the Nuvie Planner integration. Nuvie forgets the connection too.
- To show a different project, delete the integration and add it again, picking the other project.
If something's wrong
| What you see | What to do |
|---|---|
| Nuvie Planner isn't in Add integration | Restart Home Assistant after downloading it from HACS, then refresh the browser. |
| “The code expired” | Codes last 10 minutes. Add the integration again for a new one. |
| Home Assistant asks you to connect Nuvie again | It was disconnected in Nuvie, the project was deleted or you lost access to it, or the project's plan no longer includes Home Assistant. Press Reconfigure and connect again. |
| The card shows flat rooms, not the 3D house | The 3D model is still being built (try again in a minute), or the project's plan doesn't include 3D model export. |
| A device is red on the card | Its entity doesn't exist in Home Assistant. Fix the id in Nuvie, or link it with the card's pencil. |
| Nuvie Planner is already set up | One Home Assistant shows one project. Delete the existing Nuvie Planner integration first. |
Without HACS: from an export
- In Nuvie, open File › Export drawings and choose Smart home › Home Assistant.
- Unzip the download into the Home Assistant config folder (the one with
configuration.yaml), keeping its folders, and restart Home Assistant. - Add the Nuvie Planner integration and choose Use an export I unzipped. After a change, export and unzip again; it syncs at the next restart or with
nuvie.sync.