first push
This commit is contained in:
commit
2a81b4a502
845 files changed
+356635
No files matched your search
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"pageTitle": "NextFloor-Dokumentation · NextFloor",
|
||||
"desc": "Alles über NextFloor, den kostenlosen 3D-Grundriss für Home Assistant: installieren, Zuhause zeichnen, Geräte verbinden, Karten bauen, Plugins schreiben.",
|
||||
"title": "Einmal zeichnen. Dein Zuhause <em>live</em> in 3D.",
|
||||
"sub": "NextFloor macht aus Home Assistant ein lebendiges 3D-Modell deines Hauses: Lampen leuchten in ihrem Raum, Rollläden fahren, Türen öffnen sich, der Fernseher zeigt, was läuft. Kostenlos, lokal, ohne Konto.",
|
||||
"cta": [["In 15 Minuten loslegen", "quickstart"], ["Live-Demo ausprobieren", "https://therealmrbk.github.io/NextFloor/"]],
|
||||
"shot": "view-house.jpg",
|
||||
"shotAlt": "Ein Haus in der 3D-Ansicht von NextFloor mit beleuchteten Räumen und auseinandergezogenen Etagen",
|
||||
"pathsTitle": "Starte da, wo du stehst",
|
||||
"pathsLead": "Die Dokumentation folgt dem Weg, den du wirklich gehst. Wähle die Tür, die heute passt.",
|
||||
"paths": [
|
||||
{ "title": "Ich bin neu hier", "text": "NextFloor installieren, den ersten Raum zeichnen, eine Lampe setzen und sie in der 3D-Ansicht schalten. Etwa fünfzehn Minuten, ohne Vorbereitung.", "href": "quickstart", "go": "Zum Schnellstart" },
|
||||
{ "title": "Ich will meine Geräte darin", "text": "Lichter, Rollläden, Sensoren, den Fernseher, das Auto und den Garten mit dem Plan verbinden.", "href": "devices", "go": "Geräte verbinden" },
|
||||
{ "title": "Ich will darauf aufbauen", "text": "Dashboard-Karte, Automationen, Plugins und eigene Möbel.", "href": "cards", "go": "Verbinden und erweitern" }
|
||||
],
|
||||
"tourTitle": "Was du bekommst",
|
||||
"tourLead": "Alles hier ist eingebaut, kostenlos und läuft mit den Geräten, die du schon hast.",
|
||||
"tour": [
|
||||
{ "title": "Ein Plan-Editor, der sich wie ein Spiel anfühlt", "text": "Etagen, Räume, gebogene Wände, Türen, Fenster, Treppen, Dächer und Gärten. Das 3D-Modell wächst neben dem Plan mit. Statt bei null anzufangen, importierst du einen Scan, eine CAD-Zeichnung oder einen Sweet-Home-3D-Plan.", "links": [["Haus zeichnen", "draw"], ["Import und Sicherung", "plan-tools"]], "img": "editor.jpg", "alt": "Der Plan-Editor mit der 3D-Ansicht daneben" },
|
||||
{ "title": "800 Möbelmodelle, oder baue deine eigenen", "text": "Vierzig Grundmodelle und dreiundvierzig kostenlose Packs, vom IKEA-Sofa bis zum Bilderrahmen mit eigenen Fotos. Die Möbel-Werkstatt und der Browser-Baukasten bauen alles, was fehlt.", "links": [["Einrichten", "furnish"], ["Möbel-Packs", "packs"]], "img": "new-furniture.jpg", "alt": "Möbel aus mehreren Packs in einem Raum" },
|
||||
{ "title": "Lampe antippen, der Raum antwortet", "text": "Lichter leuchten in ihrer echten Farbe, Rollläden fahren, Fenster und Türen öffnen sich, der Fernseher zeigt, was läuft, draußen regnet es. Das Raum-Fenster bündelt jedes Gerät eines Raums.", "links": [["Die 3D-Ansicht", "view3d"], ["Live-Funktionen", "live"]], "img": "view-room.jpg", "alt": "Ein Raum in 3D mit Lampen und dem Raum-Fenster" },
|
||||
{ "title": "Klima, Sonne und Energie, pro Raum", "text": "Heatmaps für Temperatur, Feuchte, CO₂ und Schimmelrisiko, die Sonnenstunden je Raum und der Stromfluss entlang der echten Kabelwege deines Hauses.", "links": [["Klima und Energie", "climate-energy"], ["Außen und Dach", "outside"]], "img": "view-energy.jpg", "alt": "Das Haus mit dem Energiefluss vom Solarfeld" },
|
||||
{ "title": "Gemacht fürs Wandtablet", "text": "Eine Dashboard-Karte mit visuellem Editor, ein Kiosk-Modus, der nachts dimmt, Durchsagen auf jedem Bildschirm und eine Qualität, die auf langsamer Hardware von selbst herunterschaltet.", "links": [["Die Karte", "cards"], ["Wandtablet", "tablet"]], "img": "tablet.jpg", "alt": "NextFloor auf einem Wandtablet" }
|
||||
],
|
||||
"refsTitle": "Etwas nachschlagen",
|
||||
"refs": [
|
||||
{ "title": "Referenz", "links": [["Karten-Optionen", "cards"], ["Dienste und Sensoren", "automations"], ["Plan-Format (JSON)", "plan-format"], ["Tasten und Gesten", "shortcuts"]] },
|
||||
{ "title": "Erweitern", "links": [["Ein Plugin schreiben", "plugins"], ["Format der Möbel-Packs", "packs"], ["Eigene 3D-Modelle", "models"]] },
|
||||
{ "title": "Weiterkommen", "links": [["FAQ und Fehlersuche", "faq"], ["Änderungsprotokoll", "changelog"], ["Mitmachen", "contributing"]] }
|
||||
],
|
||||
"promiseTitle": "Für immer kostenlos, und die Lizenz sagt es auch",
|
||||
"promise": [
|
||||
"Jede Funktion, jedes Möbel-Pack und jedes Update ist für alle kostenlos. Es gibt keine Pro-Version, keine bezahlten Erweiterungen, keinen Unterstützer-Pass und keinen Lizenzschlüssel.",
|
||||
"Deine Daten bleiben in deinem Home Assistant. Kein Konto, keine Cloud, keine Nutzungsdaten. NextFloor steht unter der MIT-Lizenz, also kann es dir niemand wegnehmen, nicht einmal der Autor."
|
||||
],
|
||||
"stats": [["43", "Möbel-Packs"], ["~800", "Modelle"], ["19", "Sprachen"], ["0", "Euro, für immer"]]
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
---
|
||||
title: Durchsagen
|
||||
description: „Essen ist fertig!“ in dem Raum, der es hören soll: über seinen Lautsprecher und auf jedem offenen NextFloor-Bildschirm.
|
||||
---
|
||||
|
||||
*„Essen ist fertig!“* – und genau der Raum, der es hören soll, hört es.
|
||||
|
||||
## Aus einem Raum
|
||||
|
||||
Hat ein Raum einen Lautsprecher, gibt es in seinem Fenster den Abschnitt **📢 Durchsage**. Einen Satz antippen oder einen eigenen tippen, und der Lautsprecher des Raums sagt ihn. Eigene Sätze stehen unter *Editor → Einstellungen*, einer pro Zeile.
|
||||
|
||||
## Welcher Lautsprecher benutzt wird
|
||||
|
||||
NextFloor wählt in dieser Reihenfolge:
|
||||
|
||||
1. den im Formular des Raums gewählten Lautsprecher
|
||||
2. einen im Raum platzierten Lautsprecher
|
||||
3. einen Sprachassistenten (Voice PE und andere Satelliten), ein Echo oder einen Lautsprecher des Bereichs des Raums
|
||||
|
||||
Ein Fernseher oder ein ausgeschalteter Lautsprecher wird nie von selbst gewählt.
|
||||
|
||||
| Lautsprecher | So sagt er es durch |
|
||||
|---|---|
|
||||
| Sprachassistenten | mit ihrem Gong |
|
||||
| Echo | als echte Durchsage (Alexa Devices oder Alexa Media Player) |
|
||||
| Sonos und andere, die das können | senken ihre Musik und spielen danach weiter |
|
||||
| Jeder andere Lautsprecher | über Text-zu-Sprache von Home Assistant |
|
||||
|
||||
## Ruhezeit je Raum
|
||||
|
||||
Im Formular des Raums, zum Beispiel 20:00–07:00 fürs Kinderzimmer. Durchsagen an mehrere Räume lassen den Raum dann aus; eine Durchsage nur für ihn kommt trotzdem an.
|
||||
|
||||
## Auf den Bildschirmen
|
||||
|
||||
Jede offene NextFloor-Seite (Panel oder Karte) zeigt die Nachricht groß über dem Haus, spielt einen sanften Gong und spricht sie. **Ein altes Wandtablet wird zum Durchsage-Lautsprecher.**
|
||||
|
||||
- Unter ⚙ → 📢 bekommt ein Bildschirm einen Namen (zum Beispiel *Flur*), damit Durchsagen auch nur an ihn gehen können, oder bleibt ohne Haken still.
|
||||
- Browser spielen Ton erst nach dem ersten Antippen der Seite. In Fully Kiosk *Autoplay Audio* einschalten (Web Content Settings).
|
||||
|
||||
## In Automationen
|
||||
|
||||
Die Aktion **NextFloor: Durchsage**:
|
||||
|
||||
```yaml
|
||||
action: nextfloor.announce
|
||||
data:
|
||||
message: "Es hat geklingelt!"
|
||||
rooms: [Küche, Wohnzimmer] # nach Name, Raum-ID oder Bereichs-ID; weglassen = jeder Raum mit Lautsprecher
|
||||
on_screens: true # die offenen NextFloor-Bildschirme zeigen und sprechen es auch
|
||||
screens: [Flur] # optional: nur diese Bildschirme
|
||||
```
|
||||
|
||||
| Feld | Bedeutung |
|
||||
|---|---|
|
||||
| `message` | der Text (Pflicht) |
|
||||
| `rooms` | Raumnamen, Raum-IDs oder Bereichs-IDs; weglassen = jeder Raum mit Lautsprecher |
|
||||
| `floor` | beschränkt es auf eine Etage |
|
||||
| `on_speakers` | `false` lässt die Lautsprecher still |
|
||||
| `on_screens` | `false` lässt die Bildschirme still |
|
||||
| `screens` | nur diese benannten Bildschirme |
|
||||
| `tts_entity` | wählt die Stimme |
|
||||
|
||||
Die Aktion meldet zurück, welcher Lautsprecher es gesagt hat und welche Räume (und warum) ausgelassen wurden.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Wandtablet →](tablet.md)
|
||||
@@ -0,0 +1,60 @@
|
||||
---
|
||||
title: Dienste und Sensoren
|
||||
description: Die Sensoren und Aktionen, die NextFloor zu Home Assistant hinzufügt, mit Beispielen für Benachrichtigungen und Durchsagen.
|
||||
---
|
||||
|
||||
NextFloor fügt Home Assistant eine kleine, stabile Oberfläche hinzu: zwei Arten von Sensoren und zwei Aktionen.
|
||||
|
||||
## Sensoren
|
||||
|
||||
Am Gerät *NextFloor* findest du:
|
||||
|
||||
| Sensor | Zählt |
|
||||
|---|---|
|
||||
| *Offene Fenster und Türen* | die offenen Kontakte, Garagentore und Geräte-Pins des Plans |
|
||||
| *Lichter an* | die eingeschalteten Lampen des Plans |
|
||||
|
||||
Es gibt je einen **fürs Haus** und einen **für jede Etage**. Das Attribut `entities` nennt, was offen oder an ist.
|
||||
|
||||
Beispiel: eine Benachrichtigung, wenn die Alarmanlage scharf wird, während etwas offen ist:
|
||||
|
||||
```yaml
|
||||
action: notify.mobile_app_handy
|
||||
data:
|
||||
message: >
|
||||
Noch offen: {{ state_attr('sensor.nextfloor_offene_fenster_und_turen', 'entities') | join(', ') }}
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
> Die genauen Entity-IDs findest du unter *Einstellungen → Geräte & Dienste → NextFloor*. Sie folgen den Namen deiner Etagen.
|
||||
|
||||
## Aktionen
|
||||
|
||||
### `nextfloor.announce`
|
||||
|
||||
Spricht eine Nachricht in den richtigen Räumen und auf den offenen NextFloor-Bildschirmen. Alle Felder stehen unter [Durchsagen](announcements.md#in-automationen).
|
||||
|
||||
```yaml
|
||||
action: nextfloor.announce
|
||||
data:
|
||||
message: "Es hat geklingelt!"
|
||||
rooms: [Flur]
|
||||
```
|
||||
|
||||
### `nextfloor.reload_screens`
|
||||
|
||||
Lässt offene NextFloor-Seiten einige Sekunden versetzt neu laden, zum Beispiel nach einem Update. Mit `template` laden nur die Karten neu, die diese [Kartenvorlage](cards.md#kartenvorlagen) nutzen.
|
||||
|
||||
```yaml
|
||||
action: nextfloor.reload_screens
|
||||
data:
|
||||
template: kueche_tablet
|
||||
```
|
||||
|
||||
## Alles aus
|
||||
|
||||
*⏻ Alles aus* ist ein Knopf im Raum-Fenster und in der Etagenleiste, keine Aktion. Er schaltet Lichter, Schalter, Ventilatoren und Medien aus, und *↶ Rückgängig* holt sie zehn Sekunden lang zurück.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Ein Plugin schreiben →](plugins.md)
|
||||
@@ -0,0 +1,62 @@
|
||||
---
|
||||
title: Bluetooth-Ortung
|
||||
description: Herausfinden, in welchem Raum ein Bluetooth-Tag, eine Uhr oder ein Handy ist, durch Abgehen der Räume gelernt, mit den Bluetooth-Scannern, die Home Assistant schon hat.
|
||||
---
|
||||
|
||||
NextFloor kann sagen, **in welchem Raum ein Bluetooth-Tag ist**: ein Schlüsselanhänger, eine Uhr, ein Handy. Du gehst einmal mit dem Tag durch die Räume und nimmst jeden Raum auf. Danach zeigt ein Sensor in Home Assistant den Raumnamen, und mit der *Anwesenheit* steht der Avatar der Person in diesem Raum.
|
||||
|
||||
> [!WARNING]
|
||||
> **Diese Funktion ist neu und experimentell.** Sie ist mit simulierten Signalen gebaut und getestet, noch nicht mit einem langen Lauf in einem echten Haus. Funksignale prallen an Wänden und Menschen ab, rechne also ab und zu mit einem falschen Raum, vor allem an einer Wand zwischen zwei Räumen. Sag uns in den [Discussions](https://github.com/therealMRBK/NextFloor/discussions), wie es bei dir klappt.
|
||||
|
||||
## Was du brauchst
|
||||
|
||||
Das Verfahren braucht **mindestens zwei Bluetooth-Scanner, drei oder mehr sind viel besser**, in verschiedenen Räumen. Ein Scanner ist alles, womit Home Assistant Bluetooth mithört:
|
||||
|
||||
- ein **ESPHome-Bluetooth-Proxy** (ein ESP32-Board, ein paar Euro),
|
||||
- ein **Shelly-Gerät** (Gen2 und neuer) mit eingeschaltetem Bluetooth-Scan: In Home Assistant den Shelly-Eintrag öffnen, *Konfigurieren* drücken und den Bluetooth-Scanner-Modus auf *passiv*, *aktiv* oder *automatisch* stellen. Shellys in den Wänden sind gute Scanner, weil sie in vielen Räumen sitzen,
|
||||
- der **Bluetooth-Adapter des Servers** selbst.
|
||||
|
||||
Mit nur einem Scanner erkennt NextFloor nah und fern, aber nicht den einen Raum vom nächsten.
|
||||
|
||||
Der Tag kann sein:
|
||||
|
||||
- ein **Bluetooth-Tag mit fester Adresse** (Schlüsselanhänger, viele Fitnessarmbänder, ein ESP32-Beacon),
|
||||
- ein **Handy oder eine Uhr** über die Integration [Private BLE Device](https://www.home-assistant.io/integrations/private_ble_device/) von Home Assistant. Handys und Uhren wechseln ihre Bluetooth-Adresse ständig; Private BLE Device folgt ihnen mit ihrem *Identity Resolving Key*. NextFloor fragt dann diese Integration nach der aktuellen Adresse. Den Schlüssel von einem iPhone zu bekommen ist etwas Arbeit, die Seite der Integration erklärt es.
|
||||
|
||||
## Einrichten
|
||||
|
||||
1. Im Editor **Einstellungen → Bluetooth-Ortung** öffnen.
|
||||
2. Unter *Tag oder Gerät hinzufügen* deinen Tag wählen. Handys und Uhren aus Private BLE Device stehen zuerst. Ein Tag erscheint erst in der Liste, wenn ein Scanner ihn gehört hat: Halte ihn nah an einen Scanner und drücke *Liste neu laden*.
|
||||
3. **Hinzufügen** drücken, dann beim neuen Tag **Räume lernen**. Die Balken zeigen, wie stark jeder Scanner den Tag gerade hört.
|
||||
4. Einen Raum wählen, **Aufnehmen** drücken und 30 Sekunden lang langsam durch den ganzen Raum gehen, den Tag in der Hand, auch in die Ecken.
|
||||
5. Für jeden Raum wiederholen, in dem du den Tag orten willst. **Jetzt** zeigt den Raum, den NextFloor in diesem Moment antworten würde, eine gute Kontrolle nach jedem Raum.
|
||||
|
||||
Einen Raum erneut aufzunehmen ersetzt ihn. Jeder Raum wird als bis zu drei Aufnahmen aus verschiedenen Abschnitten deines Wegs gespeichert.
|
||||
|
||||
## Der Sensor
|
||||
|
||||
Jeder Tag bekommt einen Sensor am Gerät *NextFloor*. Sein **Zustand ist der Raumname**, oder `unknown`, wenn kein Raum gut passt oder zwei Minuten lang kein Scanner den Tag gehört hat. Die Attribute tragen die Raum-ID, die Etage, wie gut der Raum passte (`distance_db`) und was jeder Scanner hört.
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
- alias: "Licht folgt mir"
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: sensor.nextfloor_schluessel
|
||||
to: "Küche"
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
area_id: kueche
|
||||
```
|
||||
|
||||
Der Raum wechselt erst nach drei Messungen in Folge (etwa sechs Sekunden), damit die Antwort nicht flackert. Um die Person in 3D zu zeigen, wählst du den Sensor unter **Anwesenheit** als Raum-Sensor dieser Person: Sein Zustand ist ein Raumname, wie die Anwesenheit ihn erwartet.
|
||||
|
||||
## Wie es funktioniert, und was es nicht tut
|
||||
|
||||
NextFloor liest die Signalstärke (RSSI), die jeder Scanner für den Tag meldet, im Abstand weniger Sekunden und bildet den Median der letzten fünf Messungen. Dieses Muster vergleicht es mit den Aufnahmen jedes Raums und wählt den nächsten. Ein Raum wird nur geantwortet, wenn er nah genug ist, sonst ist die Antwort `unknown`.
|
||||
|
||||
- Nichts verlässt Home Assistant. Die Aufnahmen liegen im Plan, aber **nicht** in geteilten Plänen und Vorlagen.
|
||||
- Die Scanner müssen an ihrem Platz bleiben. Verschiebst du einen Proxy, nimm die Räume neu auf.
|
||||
- Ein Körper schwächt das Signal. Nimm mit dem Tag auf, wo du ihn sonst trägst (Tasche oder Hand).
|
||||
- Verschiedene Tags hören sich verschieden an, jeder Tag braucht also eigene Aufnahmen.
|
||||
@@ -0,0 +1,119 @@
|
||||
---
|
||||
title: Die Dashboard-Karte
|
||||
description: Die NextFloor-Karte in jedes Dashboard setzen, mit visuellem Editor, Kartenvorlagen und einer vollständigen Liste jeder Option.
|
||||
---
|
||||
|
||||

|
||||
|
||||
*NextFloor* im Karten-Dialog des Dashboards hinzufügen, oder in YAML schreiben:
|
||||
|
||||
```yaml
|
||||
type: custom:nextfloor-card
|
||||
floor: ground
|
||||
theme: neon
|
||||
room_buttons: true
|
||||
```
|
||||
|
||||
Der **visuelle Editor** stellt alles Folgende ohne YAML ein. Die YAML-Namen sind die in dieser Referenz. Jede Option ist optional, die Vorgaben stehen in den Tabellen.
|
||||
|
||||
## Kartenvorlagen
|
||||
|
||||
Richte eine Karte einmal ein und nutze sie auf vielen Tablets. *Einstellungen → Kartenvorlagen* im Editor nimmt einen Namen (etwa `kueche_tablet`) und den Einstellungsdialog der Karte. Auf einer Dashboard-Karte wählst du die Vorlage in ihren Einstellungen oder schreibst:
|
||||
|
||||
```yaml
|
||||
type: custom:nextfloor-card
|
||||
template: kueche_tablet
|
||||
```
|
||||
|
||||
Die eigenen Optionen der Karte gewinnen. Eine Änderung im Editor erreicht jede Karte, die die Vorlage nutzt. *Bildschirme mit dieser Vorlage neu laden* und *Alle Bildschirme neu laden* (auch die Aktion `nextfloor.reload_screens`, mit optionalem `template`) lassen die offenen Tablets ihre Seite einige Sekunden versetzt neu laden, zum Beispiel nach einem Update.
|
||||
|
||||
## Was die Karte zeigt
|
||||
|
||||
| Option | Vorgabe | Bedeutung |
|
||||
|---|---|---|
|
||||
| `floor` | | Startetage |
|
||||
| `room` | | in diesem Raum starten (seine ID aus dem Editor), für ein Display eines Raums |
|
||||
| `rooms` | | nur diese Räume (eine Liste von IDs) mit dem, was darin steht; die Karte kann sie nicht verlassen |
|
||||
| `height` | | feste Höhe der Karte |
|
||||
| `fill` | `false` | den Bildschirm unter der Dashboard-Kopfzeile füllen statt fester Höhe |
|
||||
| `plain` | `false` | nur Grundriss: keine Möbel (Geräte und ihre Pins bleiben) |
|
||||
| `floor_stack` | `dim` | eine geöffnete Etage mit abgedunkelten Etagen darunter (`dim`), gestapelt (`stacked`) oder allein (`single`) |
|
||||
| `explode` | `true` | die Etagen in der Hausansicht auseinanderziehen |
|
||||
| `roof_fade` | `true` | das Dach hebt sich und blendet beim Hineinzoomen aus |
|
||||
| `room_names` | `true` | Raumnamen in 3D |
|
||||
| `energy` | `true` | Energiewerte oben |
|
||||
| `sensor_bar` | `true` | die eigenen Sensoren des Plans oben |
|
||||
| `weather` | `true` | Regen, Schnee, Nebel, Wolken, Sonne und Mond um das Haus |
|
||||
| `weather_entity` | die erste | die Wetter-Entity, die genutzt wird |
|
||||
| `weather_density` | `1` | wie viel Regen, Hagel und Schnee fällt, 0,1 … 1 |
|
||||
| `today` | `true` | die Karte *Heute* mit Terminen und Tonnen |
|
||||
|
||||
## Aussehen
|
||||
|
||||
| Option | Vorgabe | Bedeutung |
|
||||
|---|---|---|
|
||||
| `theme` | `auto` | `neon`, `blueprint`, `day` |
|
||||
| `accent` | Cyan | Akzentfarbe als `#rrggbb` |
|
||||
| `furniture_colors` | die des Hauses | eigene Möbelfarben dieser Karte, z. B. `{body: "#3a2a1a", fabric: "#552233"}`; Rollen: `body`, `wood`, `fabric`, `white`, `metal`, `dark` |
|
||||
| `walls` | | Wandmodus der Ansicht |
|
||||
| `solid_walls` | `false` | blickdichte Wände in ihrer Farbe statt Glas |
|
||||
| `glass_walls` | `20` | wie blickdicht die durchsichtigen Wände sind, 0 … 100 % |
|
||||
| `quality` | auto | `auto`, `tablet`, `high` |
|
||||
| `markers` | `important` | `none`, `important`, `all` |
|
||||
| `markers_outside` | | außerhalb des geöffneten Raums zeigen nur Symbole dieser Arten |
|
||||
| `marker_names` | `false` | jedes Gerät mit eigenem Namen zeigt ihn unter seinem Symbol |
|
||||
| `heatmap` | `none` | `none`, `temperature`, `humidity`, `co2` |
|
||||
| `clock` | `none` | `top_left`, `top_right`, `bottom_left`, `bottom_right` |
|
||||
| `readable` | `false` | kräftigere Kontraste und größere Schrift, für Wandtablets |
|
||||
| `zoom` | `1` | wie viel näher die eingepassten Ansichten kommen, 0,6 … 2,5 |
|
||||
| `stats` | `false` | Bilder pro Sekunde und Zeichenaufrufe zeigen |
|
||||
|
||||
## Bedienelemente und Verhalten
|
||||
|
||||
| Option | Vorgabe | Bedeutung |
|
||||
|---|---|---|
|
||||
| `controls` | | Schalter in der Karte: alle (`true`) oder eine Liste aus `walls`, `floors`, `temperature`, `humidity`, `co2` |
|
||||
| `controls_hidden` | | mit ausgeblendeten Leisten und Einblendungen starten (der Augen-Knopf holt sie zurück) |
|
||||
| `controls_hide_after` | | alle Leisten nach so vielen Sekunden ohne Berührung ausblenden |
|
||||
| `room_panel` | `true` | Antippen eines Raums öffnet seine Details |
|
||||
| `room_buttons` | `false` | eine Reihe von Knöpfen, einer je Raum |
|
||||
| `floor_thumbs` | an ohne Startetage | kleine Bilder der Etagen zum Wechseln |
|
||||
| `central` | `true` | der Stern mit dem Zentralmenü |
|
||||
| `central_open` | `false` | das Sternmenü steht von Anfang an offen, eine Größe größer |
|
||||
| `buttons` | | eigene Knöpfe im Zentralmenü: `label`, `icon`, `action` (`navigate`, `more_info`, `service`, `fire_dom_event`), `target`, `data` |
|
||||
| `scenes` | `true` | Szenen- und Skript-Chips des gewählten Raums |
|
||||
| `tap_in_room` | `false` | Geräte schaltet ein Tippen nur im geöffneten Raum; anderswo öffnet es die Etage oder den Raum (langer Druck wirkt weiter) |
|
||||
| `room_double_tap` | `auto` | was ein Doppeltipp auf einen Raum schaltet: `auto`, `area`, `plan`, `off` |
|
||||
| `keep_camera` | `false` | beim Etagenwechsel bleiben Seite, Höhe und Abstand der Kamera |
|
||||
| `right_back` | `false` | ein kurzer Rechtsklick geht einen Schritt zurück |
|
||||
| `start_view` | die des Plans | eine eigene Startansicht dieser Karte |
|
||||
| `lock_button` | `true` | der 🔒-Knopf, der die Kamera sperrt |
|
||||
| `walk_button` | `true` | der 🚶-Knopf zum Gehen durchs Haus |
|
||||
| `time_travel` | `true` | der ⏪-Knopf zum Abspielen des letzten Tages oder der letzten Woche |
|
||||
| `fullscreen_button` | `false` | ein Knopf für Vollbild |
|
||||
| `dashboard`, `dashboard_label` | | ein Knopf zu einem anderen Dashboard oder einer anderen Ansicht |
|
||||
| `flows` | Schalter | Stromfluss-Linien immer an oder aus |
|
||||
| `holograms` | Schalter | die Live-Karten (Energiebilanz, Auto, Medien) immer an oder aus |
|
||||
|
||||
## Warnungen und Durchsagen
|
||||
|
||||
| Option | Vorgabe | Bedeutung |
|
||||
|---|---|---|
|
||||
| `alerts` | `true` | Warnungen bei Rauch, Wasser, Alarm und Fenster im Regen als pulsierende Räume und Banner |
|
||||
| `alert_jump` | `false` | in den Raum einer neuen Warnung springen |
|
||||
| `announcements` | `true` | Durchsagen erscheinen und klingen auf dieser Karte |
|
||||
| `screen_name` | Name des Panels | der Name dieses Bildschirms, für Durchsagen nur an einige Bildschirme |
|
||||
|
||||
## Kiosk
|
||||
|
||||
| Option | Bedeutung |
|
||||
|---|---|
|
||||
| `idle_return` | Sekunden ohne Berührung, bevor die Startansicht zurückkehrt (0 = nie) |
|
||||
| `night` | nachts dimmen: `off`, `sun` oder ein Zeitraum wie `22:00-06:00` |
|
||||
| `idle_orbit` | nach der Rückkehr die Ansicht langsam drehen, bis zur nächsten Berührung |
|
||||
|
||||
Mehr unter [Wandtablet](tablet.md).
|
||||
|
||||
## Weiter
|
||||
|
||||
[Dienste und Sensoren →](automations.md)
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Änderungsprotokoll
|
||||
description: Alles, was sich in jedem NextFloor-Release geändert hat, das Neueste zuerst. Die Einträge sind auf Englisch.
|
||||
generated: changelog
|
||||
---
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: Klima und Energie
|
||||
description: Heatmaps für Temperatur, Feuchte, CO₂ und Schimmelrisiko, Sonnenstunden und Strom je Raum, die WLAN-Karte und der Energiefluss deines Hauses.
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Heatmaps
|
||||
|
||||
Die Kartenauswahl in der 3D-Ansicht färbt jeden Raum nach einem Wert. Neben **Temperatur**, **Feuchte** und **CO₂** gibt es:
|
||||
|
||||
| Karte | Was sie zeigt |
|
||||
|---|---|
|
||||
| **Schimmel** | das Risiko an der kältesten Wand jedes Raums, mit einer Wohlfühl-Note |
|
||||
| **Werte** | die Zahlen je Raum, mit Lüftungshinweisen |
|
||||
| **WLAN** | die Reichweite jedes Access Points auf der Etage, seine Geräte, und welche Netzwerkgeräte offline sind |
|
||||
| **Sonne** | die Sonnenstunden, die jeder Raum heute durch seine Fenster bekommt |
|
||||
| **Strom** | was jeder Raum gerade zieht |
|
||||
|
||||
Die Temperatur-Skala ist von Mai bis September eine Sommer-Skala, sonst eine Winter-Skala.
|
||||
|
||||
> [!NOTE]
|
||||
> Die **Sonnenstunden** werden aus dem Plan selbst berechnet: seinen Fenstern, dem Kompass und dem Weg der Sonne. Stelle den [Kompass](outside.md#kompass-und-karte) ein, bevor du ihnen traust.
|
||||
|
||||
## Im Raum-Fenster
|
||||
|
||||
- Die **Temperatur des Raums der letzten 24 Stunden** und wann gelüftet werden sollte.
|
||||
- **kWh und Kosten** des Raums für heute und diesen Monat.
|
||||
- Die **Sonne übers Jahr**, ein **Schatten-Hinweis**, wenn die Sonne den Raum aufheizt, und ein Hinweis, wenn ein Fenster offen steht, während die Heizung läuft.
|
||||
- **Schwache Batterien** und **Licht in leeren Räumen** werden als Hinweise gesammelt.
|
||||
- Eine **Fußbodenheizung** glüht auf dem Boden der Räume, in denen du ihren Thermostat, ihr Ventil oder ihren Schalter genannt hast.
|
||||
|
||||
## Energie
|
||||
|
||||
Die Energiefunktionen brauchen ein **Solarfeld**, einen **Zähler** und einen **Wechselrichter**. Batterie und Netzanschluss sind optional. Die Einrichtung steht unter [Außen, Dach und Energie](outside.md#energie).
|
||||
|
||||
- **Stromfluss:** Teilchen laufen von den Solarmodulen zu Wechselrichter, Haus, Akku und Netz, entlang der echten [Kabelwege](outside.md#energie), die du gezeichnet hast. Eine Glaskarte zeigt Bilanz und Autarkie; der kleine Knopf in ihrer Ecke klappt sie auf Ring und Sonnenleistung zusammen (am Handy wie am Rechner, der Browser merkt es sich).
|
||||
- **Akku:** Ein Hausspeicher zeigt seinen Ladestand an der Front.
|
||||
- **Zähler:** Gas- und Wasserzähler stellen ihre Werte zur Bilanz.
|
||||
- **Etagen-Zähler:** Ein Leistungssensor je Etage zeigt seinen Wert auf dem Etagen-Schild und seinen Anteil am Haus.
|
||||
- **Hauskarte:** Die Energie-Karte über dem Dach zeigt die letzten 24 Stunden als Kurve (Solar als Fläche, Verbrauch als Linie) und die letzten **sieben Tage** als Balken. Sie steht auch über der geöffneten Etage.
|
||||
- **Standby-Fresser:** Die Plan-Prüfung listet Geräte, die im Leerlauf Strom ziehen, mit ihren Jahreskosten.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Haushalt und Haustiere →](household.md)
|
||||
@@ -0,0 +1,53 @@
|
||||
---
|
||||
title: So funktioniert NextFloor
|
||||
description: Die Ideen hinter NextFloor in fünf Minuten: Plan, Bereiche, Entitäten, die 3D-Ansicht und was wo gespeichert wird.
|
||||
---
|
||||
|
||||
NextFloor hat nur wenige Grundideen. Wenn du sie kennst, lässt sich jede andere Seite dieser Dokumentation leicht einordnen.
|
||||
|
||||
## Der Plan ist die Mitte
|
||||
|
||||
Du zeichnest dein Zuhause einmal als **Plan**: Etagen, Räume, Wände, Türen, Fenster, Treppen, Dächer, Außenflächen und Möbel. Alles andere entsteht aus dem Plan. Die 3D-Ansicht, das Raum-Fenster, die Heatmaps, die Dashboard-Karte und der gedruckte Grundriss sind verschiedene Blicke auf dieselben Daten.
|
||||
|
||||
## Bereiche verbinden Räume mit Geräten
|
||||
|
||||
Ein **Raum** in NextFloor zeigt auf einen **Bereich** von Home Assistant. So weiß NextFloor, welche Geräte wohin gehören. Öffnest du das Formular eines Raums, listet der Abschnitt *Geräte* die Geräte dieses Bereichs, und du platzierst die, die du im Plan haben willst.
|
||||
|
||||
Geräte ohne Bereich oder aus einem anderen Bereich erreichst du über die Reiter *Andere Bereiche* und *Ohne Bereich*.
|
||||
|
||||
## Platzieren schaltet nie etwas
|
||||
|
||||
Eine Lampe platzieren, einen Rollladen verknüpfen oder eine Entität wählen sagt NextFloor nur, *wofür ein Bild steht*. NextFloor schaltet durch das Zuweisen nie etwas. Es liest den Live-Zustand der Entität, und nur ein Tippen in der 3D-Ansicht schickt einen Befehl.
|
||||
|
||||
## Möbel sind das Gesicht eines Geräts
|
||||
|
||||
Ein Möbelstück ist ein 3D-Modell. Manche Stücke sind **elektrisch** (eine Lampe, ein Fernseher, eine Waschmaschine) und lassen sich mit einer Entität verbinden; das Modell zeigt dann den Zustand: Die Lampe leuchtet, der Fernseher zeigt die laufende App, die Waschmaschine die Restminuten. Andere Stücke sind Deko.
|
||||
|
||||
## Ein Plan, mehrere Ansichten
|
||||
|
||||
| Ansicht | Wofür |
|
||||
|---|---|
|
||||
| **3D-Ansicht** | Das Haus als Modell. Tippen, Wischen und langes Drücken steuern die Dinge. |
|
||||
| **Raum-Fenster** | Jedes Gerät eines Raums in einer Liste, mit Szenen und Schnellmenüs. |
|
||||
| **Editor** | Hier zeichnest und verknüpfst du. Nur für Administratoren. |
|
||||
| **Dashboard-Karte** | Die 3D-Ansicht als Karte, für jedes Dashboard und jedes Wandtablet. |
|
||||
| **Plan auf Papier** | Jede Etage in 1:100 mit Maßen und einer Flächentabelle. |
|
||||
|
||||
## Was wo gespeichert wird
|
||||
|
||||
| Daten | Wo |
|
||||
|---|---|
|
||||
| Der Plan, seine Bilder, deine Möbel-Packs | Im Ordner `.storage` von Home Assistant, auf deiner Installation |
|
||||
| Plugins und zusätzliche Modelle | Dein Home Assistant, Ordner `www` oder der Store |
|
||||
| Kartenkacheln (nur wenn du die echte Karte einschaltest) | Dein Browser lädt sie direkt vom Kartenserver |
|
||||
| Alles andere | Nirgends. Es gibt kein Konto, keine Cloud und keine Nutzungsdaten |
|
||||
|
||||
## Was NextFloor zu Home Assistant hinzufügt
|
||||
|
||||
- Ein Seitenleisten-Panel und die Karte `custom:nextfloor-card`.
|
||||
- Sensoren für offene Fenster und Türen und für eingeschaltete Lichter. Siehe [Dienste und Sensoren](automations.md).
|
||||
- Aktionen wie `nextfloor.announce`. Siehe [Durchsagen](announcements.md).
|
||||
|
||||
## Weiter
|
||||
|
||||
[Haus zeichnen →](draw.md)
|
||||
@@ -0,0 +1,55 @@
|
||||
---
|
||||
title: Mitmachen
|
||||
description: Wie du einen Fehler meldest, eine Übersetzung beisteuerst, Möbel baust oder einen Pull Request schickst.
|
||||
---
|
||||
|
||||
NextFloor ist aus Überzeugung frei und Open Source. Was du beisteuerst, gehört allen, unter der MIT-Lizenz.
|
||||
|
||||
## Ideen und Fehler
|
||||
|
||||
- **Ideen und Fragen:** [Discussions](https://github.com/therealMRBK/NextFloor/discussions).
|
||||
- **Fehler:** [Issues](https://github.com/therealMRBK/NextFloor/issues/new/choose). Nenne die Version, was du getan hast, was du erwartet und was du gesehen hast. Ein Screenshot hilft.
|
||||
- **Sicherheitsprobleme** gehen über die [private Meldung](https://github.com/therealMRBK/NextFloor/security/advisories/new), nie über ein öffentliches Issue.
|
||||
|
||||
## Übersetzungen
|
||||
|
||||
Deutsch und Englisch sind eingebaut. Weitere Sprachen sind Dateien in `frontend/lang/<code>.json` mit den Schlüsseln aus `frontend/src/i18n.ts`. Sie werden nur geladen, wenn Home Assistant in dieser Sprache läuft, und ein Schlüssel, der in einer Datei fehlt, fällt auf Englisch zurück. Ein Pull Request, der eine Sprache vervollständigt, ist sehr willkommen. Diese Dokumentation gibt es ebenfalls auf Deutsch und Englisch: Die Markdown-Quellen liegen in `docs/content/en` und `docs/content/de`.
|
||||
|
||||
## Möbel und Plugins
|
||||
|
||||
- **Möbel:** im [Browser-Baukasten](https://therealmrbk.github.io/NextFloor/builder/) bauen und im Community-Store teilen. Siehe [Möbel-Packs](packs.md). Bitte nur Maße und Formen verwenden, die du selbst gemacht hast.
|
||||
- **Plugins:** siehe [Ein Plugin schreiben](plugins.md) und den [Plugin-Store](https://github.com/therealMRBK/NextFloor-Plugins).
|
||||
- **3D-Modelle, die dir gehören,** bleiben auf deinem eigenen Home Assistant und kommen nie ins Repository. Siehe [Eigene 3D-Modelle](models.md).
|
||||
|
||||
## Vor einem Pull Request
|
||||
|
||||
```bash
|
||||
cd frontend
|
||||
npm install
|
||||
npm run typecheck
|
||||
npm test
|
||||
npm run build # die gebauten Bundles sind eingecheckt; CI schlägt fehl, wenn sie veraltet sind
|
||||
cd ..
|
||||
ruff check . && ruff format --check .
|
||||
pytest -q # die Home-Assistant-Seite
|
||||
```
|
||||
|
||||
- Eine Änderung klein halten und sagen, wofür sie ist.
|
||||
- Commit-Nachrichten folgen Conventional Commits: `feat:`, `fix:`, `docs:`, `build:`, `test:`.
|
||||
- Jede Änderung, die Nutzer bemerken, kommt im selben Commit in `CHANGELOG.md` unter **Unreleased**.
|
||||
- Gearbeitet wird auf `dev`; `main` ist das, was HACS-Nutzer bekommen, und bewegt sich mit Releases.
|
||||
|
||||
Die vollständige Anleitung ist [CONTRIBUTING.md](https://github.com/therealMRBK/NextFloor/blob/main/CONTRIBUTING.md).
|
||||
|
||||
## Diese Dokumentation bauen
|
||||
|
||||
Die Seite wird aus `docs/content` von `tools/docs` gebaut:
|
||||
|
||||
```bash
|
||||
cd tools/docs
|
||||
npm install
|
||||
npm run build # schreibt tools/docs/dist
|
||||
npm run check # schlägt bei kaputten Links, fehlenden Bildern oder einer Seite fehl, die nur in einer Sprache existiert
|
||||
```
|
||||
|
||||
Jede Seite gibt es auf Englisch und Deutsch. Hinweisboxen nutzen `> [!NOTE]`, `> [!TIP]`, `> [!WARNING]` und `> [!IMPORTANT]`. Eine nummerierte Liste mit drei oder mehr Punkten wird zur Schrittliste.
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
title: Geräte verbinden
|
||||
description: Lichter, Rollläden, Fernseher, Drucker, das Auto, Haustiere und mehr mit dem Plan verbinden. Favoriten, eigene Knöpfe und eigene Warnungen.
|
||||
---
|
||||
|
||||
Im Raum-Formular listet der Abschnitt **Geräte** die Home-Assistant-Geräte des Bereichs dieses Raums. Reiter: *Dieser Bereich*, *Andere Bereiche* und *Ohne Bereich*; Suche nach Namen.
|
||||
|
||||
Jede Zeile hat ein Auge (im 3D-Raum-Fenster ausblenden), *Aa* (eigener Name), einen Stern (ins Raum-Fenster aufnehmen, ohne zu platzieren) und *Platzieren*.
|
||||
|
||||
> [!NOTE]
|
||||
> Entity-Felder sind durchsuchbar: einen Teil des Namens tippen und wählen. **Durch das Zuweisen schaltet NextFloor nie etwas.**
|
||||
|
||||
## Lichter
|
||||
|
||||
Eine platzierte Leuchte wird zur Lampe. Das Lampen-Formular hat diese Optionen:
|
||||
|
||||
| Option | Was sie tut |
|
||||
|---|---|
|
||||
| *Licht oder Schalter* | nennt das Licht, das zur Lampe gehört |
|
||||
| *Farbe und Helligkeit von* | für Lampen, die per Relais geschaltet und anderswo gedimmt werden |
|
||||
| *Leuchtstärke in 3D* | skaliert das Leuchten |
|
||||
| *Vor dem Schalten fragen* | schützt vor versehentlichem Antippen |
|
||||
| *Symbol in 3D* | bestimmt den Pin über der Lampe |
|
||||
|
||||
**Leuchten mit mehreren Lichtern:** *Leuchtmittel 2, 3 …* nimmt Nachtlicht oder Lichtring derselben Leuchte dazu. Ist das Hauptlicht aus, leuchtet die Lampe mit ihnen.
|
||||
|
||||
**Lichtprogramme:** Unter *Effektanimationen in 3D* ordnest du jedem exakten Effektnamen, den Home Assistant meldet, eine Darstellung zu: *Statisch*, *Regenbogen*, *Pulsieren* oder *Flackern*. Nicht zugeordnete Effekte bleiben statisch, denn ein Effektname ist nur der Name eines Programms. Die Zuordnung liegt im Plan und schreibt nie in Home Assistant.
|
||||
|
||||
## Elektrische Möbel
|
||||
|
||||
Möbel wie Fernseher, Kühlschrank oder Waschmaschine finden ihre Entity im selben Bereich selbst (*Automatisch*). Technische Geräte (Wechselrichter, Akku, PC …) nehmen zusätzlich einen Temperatursensor als *Gerätetemperatur*: sein Wert steht am Pin, ab 60 °C ist der Pin hervorgehoben.
|
||||
|
||||
- **Fernseher** zeigen Farbe und Titel der laufenden App. *Leuchten hinter dem TV* stellt das Ambilight ein oder aus.
|
||||
- Ein **Leistungssensor** zeigt die Watt. Jedes elektrische Stück zeigt seine Leistung neben dem Zustand, und seine Statuslichter leuchten, solange es läuft.
|
||||
- **Waschmaschine, Trockner, Spülmaschine:** Mit einem Restlaufzeit-Sensor steht am Pin „Noch 25 min“.
|
||||
|
||||
## Rollläden
|
||||
|
||||
*Art des Behangs* eines Fensters ist Rollladen außen, Raffstore (die Lamellen folgen der Neigung) oder Rollo innen.
|
||||
|
||||
- *Zweiter Rollladen* deckt die rechte Hälfte eines breiten Fensters.
|
||||
- *Lieblingsposition „My“* setzt einen **My**-Knopf ins Schnellmenü des Rollladens (zum Beispiel Somfy).
|
||||
- Auch Dachfenster bekommen Rollladen und Kontakte. Siehe [Außen, Dach und Energie](outside.md).
|
||||
|
||||
## Türen, Schlösser und Tore
|
||||
|
||||
Eine Tür bekommt ein **Smart Lock**: Tür antippen schließt ab oder auf, aufgeschlossen leuchtet sie. **Tore** in Zäunen öffnen sich in 3D nach dem Zustand einer Entität oder eines Kontakts, den du wählst. Siehe [Außen, Dach und Energie](outside.md#tore-in-zaeunen).
|
||||
|
||||
## Drucker, Wärmepumpe, Auto
|
||||
|
||||
- **3D-Drucker und Wärmepumpe:** Drucker oder Wärmepumpe aus den Packs mit einer beliebigen Entität ihres Geräts verbinden. Eine Live-Karte zeigt den Druck (Bild, Fortschritt, Restzeit, Schicht, Temperaturen, Filamente, das Druckteil wächst auf dem Bett) oder die Wärmepumpe (Betriebsart, Vor- und Rücklauf, Strom, Wärme, COP).
|
||||
- **Auto (Stellplatz):** aus dem Bibliotheks-Bereich *Parken*. *Fahrzeug* wählt das Modell, *Sensor „Auto da“* bestimmt, wann es erscheint, und über eine beliebige Entität des Autos findet NextFloor Ladestand, Reichweite, Stecker, Schloss und Klima am Gerät des Autos. Ohne Sensor wird das Fahrzeug immer gezeigt.
|
||||
|
||||
## Garten und Haustiere
|
||||
|
||||
- **Mähroboter:** Ein Mähroboter oder seine Station aus *Garten 2*, verbunden mit einem `lawn_mower`, mäht Bahnen über seinen Rasen.
|
||||
- **Saugroboter:** Ein `robot_vacuum` im Plan kann seine echte Position und Spur zeigen. Siehe [Saugroboter im Plan](live.md#saugroboter-im-plan).
|
||||
- **Haustiere:** Mit einem *Raum-Sensor* (Bermuda, ESPresense) läuft das Tier in dem Raum herum, in dem es wirklich ist.
|
||||
- Mehr: [Haushalt und Haustiere](household.md).
|
||||
|
||||
## Anwesenheit: Personen in ihren Räumen
|
||||
|
||||
*Haus-Einstellungen → Anwesenheit* listet jede `person`. Wähle einen **Raum-Sensor** (ESPresense, Bermuda oder ähnlich, dessen Zustand der Raumname ist), und solange die Person zu Hause ist, steht ihr Avatar mit dem Home-Assistant-Bild in diesem Raum. In der Hausansicht werden die Personen je Etage gezählt.
|
||||
|
||||
- **Standardraum:** Jede Person kann einen Standardraum haben. Solange sie zu Hause ist und kein Raum-Sensor einen Raum nennt, steht sie dort, ein Raum-Sensor ist also nicht nötig.
|
||||
- **Weitere Entität:** Unter der Liste fügst du einen Eingabehelfer, einen Device Tracker oder einen Binärsensor hinzu. Er zählt als zu Hause, solange sein Zustand `on` oder `home` ist.
|
||||
|
||||
## Favoriten, Knöpfe und Warnungen
|
||||
|
||||
**Favoriten und eigene Knöpfe** (Einstellungen, *Favoriten*): Szenen, Skripte, Automationen, Schalter und Buttons fürs Zentralmenü. Eigene Knöpfe öffnen einen Dashboard-Pfad, Entity-Details, einen Dienstaufruf oder ein browser_mod-Popup. *Sender oder Playlist* legt Lautsprecher-Voreinstellungen an, und eine Voreinstellung kann auf einzelne Lautsprecher beschränkt werden.
|
||||
|
||||
**Eigene Warnungen** machen aus jeder Entität eine Zeile in der Warnleiste. Passe einen Zustand an, mehrere Zustände mit Komma oder eine Zahl mit `<20` oder `>80`, und gib Text, Raum und Farbe an.
|
||||
|
||||
**Kalender für „Heute“** füllen die Karte *Heute*.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Außen, Dach und Energie →](outside.md)
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
title: Haus zeichnen
|
||||
description: Etagen, Räume, Wände, Türen, Fenster, Treppen und Vorlagen im Plan-Editor von NextFloor.
|
||||
---
|
||||
|
||||
Öffne den Reiter **Editor** (nur Administratoren). Die Werkzeugleiste enthält die Werkzeuge, die Seitenleiste zeigt immer die Auswahl, und der Hinweis unten sagt, was das aktive Werkzeug tut. **Rückgängig** (Strg+Z) nimmt fast alles zurück.
|
||||
|
||||

|
||||
|
||||
## Etagen
|
||||
|
||||
*Etage hinzufügen* bietet die Etagen aus Home Assistant an, wodurch Plan und Home Assistant verbunden bleiben, oder eine *Leere Etage*. Das Etagen-Formular setzt Name, Höhe über dem Boden, Raumhöhe und die Etage in Home Assistant.
|
||||
|
||||
- *Verschieben* und *90° drehen* wirken auf die ganze Etage; *Alle Etagen mitnehmen* aufs ganze Haus.
|
||||
- *Räume aus HA-Bereichen anlegen* setzt zum Start einen Raum je Bereich.
|
||||
- *Etage duplizieren* legt eine Kopie oben aufs Haus, wahlweise mit Möbeln, Geräte-Pins und Außenflächen. Die Kopie ist von Home Assistant gelöst und wird für das neue Geschoss eingerichtet.
|
||||
- *Lücken schließen* im Etagen-Formular verbindet haarfeine Spalten zwischen Räumen.
|
||||
|
||||
## Räume
|
||||
|
||||
- **Rechteck:** ziehen.
|
||||
- **Freie Form:** Ecken setzen, mit Tippen auf die erste Ecke oder Enter schließen. Esc bricht ab.
|
||||
- Ecken rasten am Raster und an vorhandenen Wänden ein. **Alt** schaltet das Einrasten für einen Zug aus.
|
||||
|
||||
Beschreibe jeden Raum in der Seitenleiste: Name, **Bereich** (die Verbindung zu deinen Home-Assistant-Geräten) und **Boden**-Material. Position und Größe lassen sich eintippen. An den Eckgriffen formst du um, das **+** auf einer Kante fügt eine Ecke ein. Ein rechteckiger Raum zeigt sein Innenmaß von Wand zu Wand.
|
||||
|
||||
> [!TIP]
|
||||
> **+ Bereich im Raum** nimmt Home-Assistant-Bereiche dazu, die Teil des Raums sind, aber keine eigenen Wände haben, etwa eine Leseecke oder eine Küchenzeile. Ihre Geräte gehören dann zum Raum.
|
||||
|
||||
*Fußbodenheizung* nennt den Thermostat, das Ventil oder den Schalter, bei dessen Heizen der Boden glüht.
|
||||
|
||||
## Wände
|
||||
|
||||
Wände entstehen aus den Raumkanten. Jede Kante hat Höhe, Dicke, eine Schere zum Teilen und *Keine Wand* für offene Kanten.
|
||||
|
||||
- Eine niedrigere Höhe macht eine Brüstung oder Theke.
|
||||
- Eine geteilte Kante kann auf jedem Teilstück eine eigene Dicke haben.
|
||||
- **Freistehende Wände** zeichnest du mit dem Werkzeug *Wand*. Umschalt hält gerade.
|
||||
- **◠ Bogen** an einer Kante oder einer freien Wand öffnet das Feld *Wölbung*: eintragen, wie weit sich die Mitte wölbt (negativ in den Raum), dann *Biegen*. Ein Nachbarraum an der ganzen Wand biegt sich mit, Türen und Fenster wandern mit. Ein Raum, der nur einen Teil der Wand berührt, oder eine freie Wand darauf bleibt gerade. Ist eine Tür oder ein Fenster zu breit für einen tiefen Bogen, biegt die Wand nicht, und ein Hinweis sagt warum.
|
||||
- **Schräge freie Wände** haben an jedem Ende eine eigene Höhe, für Giebel, Rampen und schräge Brüstungen.
|
||||
|
||||
## Türen und Fenster
|
||||
|
||||
*Tür & Fenster* wählen, eine Wand antippen und die Art aussuchen: Tür, Haustür, Doppeltür, Fenster, Doppelfenster, Terrassentür, Balkontür, Garagentor oder Glaswand. Breite, Mitte von der Ecke, Brüstung und Höhe einstellen, Anschlag oder Öffnungsrichtung wechseln. Der Stil *Automatisch* nimmt außen eine Haustür, innen eine Zimmertür.
|
||||
|
||||
Mehr zu Türen und Fenstern steht unter [Außen, Dach und Energie](outside.md#tueren-und-fenster-mehr) (Smart Lock, Lichtschacht) und unter [Geräte verbinden](devices.md#rolllaeden) (Rollläden).
|
||||
|
||||
## Treppen und Öffnungen
|
||||
|
||||
Das Werkzeug *Treppe* zeichnet eine Treppe dort, wo du ziehst; sie läuft entlang der langen Seite.
|
||||
|
||||
| Einstellung | Möglichkeiten |
|
||||
|---|---|
|
||||
| Form | gerade, viertelgewendelt, L mit Podest, halbgewendelt, U mit Podest, Wendeltreppe |
|
||||
| Richtung | läuft links oder rechts herum |
|
||||
| Bauart | massiv, Wangen-, Holm- oder Kragarmtreppe; mit oder ohne Setzstufen und Geländer |
|
||||
|
||||
Die Steigungen kommen aus der Etagenhöhe; das Formular zeigt Steigung, Auftritt und Schrittmaß und warnt bei unbequemen Maßen. *Führt nach unten* macht einen Abgang in einen Keller, der nicht gezeichnet sein muss.
|
||||
|
||||
Die Treppe öffnet die Decke nur, wo über den Stufen keine 2,2 m Kopfhöhe bleiben. Die Treppen aus dem Pack *Treppen & Geländer* schneiden ihre ganze Grundfläche aus. **Bodenöffnung** schneidet jedes andere Loch, für eine Galerie oder einen Schacht.
|
||||
|
||||
## Vorlage: ein Grundriss-Bild nachzeichnen
|
||||
|
||||
*Vorlage (Grundriss-Bild)* legt ein Bild hinter den Plan. Verschieben, skalieren, drehen und geraderichten, den Maßstab an einer bekannten Länge einstellen, dann nachzeichnen. Bei einem Scan oder einer CAD-Datei kannst du sie auch [direkt importieren](plan-tools.md#import-aus-anderen-programmen).
|
||||
|
||||
## Sperre
|
||||
|
||||
Das Schloss *Grundriss* verhindert, dass Räume, Wände, Öffnungen und Außenflächen aus Versehen wandern. Einzelne Stücke sperrt *Fixieren*.
|
||||
|
||||
## Nützliche Schalter
|
||||
|
||||
- **3D daneben** zeigt das 3D-Modell neben dem Plan, während du zeichnest.
|
||||
- *Ansicht als Start der Etage / des Raums* merkt sich die aktuelle 3D-Kamera.
|
||||
- **Rechtsklick** (oder langes Tippen) auf eine Stelle heftet eine [Notiz](plan-tools.md#notizen) an.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Einrichten →](furnish.md)
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
title: FAQ und Fehlersuche
|
||||
description: Antworten auf die häufigsten Fragen und Lösungen für die Probleme, auf die Leute stoßen.
|
||||
---
|
||||
|
||||
## Fragen
|
||||
|
||||
### Ist NextFloor wirklich kostenlos?
|
||||
|
||||
Ja, für immer. Jede Funktion, jedes Möbel-Pack und jedes Update ist kostenlos. Es gibt keine Pro-Version, keine bezahlten Erweiterungen, keinen Unterstützer-Pass und keinen Lizenzschlüssel, und die MIT-Lizenz sorgt dafür, dass es dir niemand wegnehmen kann.
|
||||
|
||||
### Braucht es eine Cloud oder ein Konto?
|
||||
|
||||
Nein. Plan, Bilder und Packs liegen auf deinem Home Assistant. Das Einzige, was deine Installation verlassen kann, sind die Kartenkacheln, und nur wenn du die echte Karte einschaltest.
|
||||
|
||||
### Gibt es NextFloor bei den offiziellen Home-Assistant-Integrationen, ohne HACS?
|
||||
|
||||
Nein. NextFloor ist im **offiziellen HACS-Store**. Die eingebaute Integrationsliste von Home Assistant ist ein eigener Prozess mit eigenen Regeln (eine veröffentlichte Geräte-Bibliothek, ein mitgeliefertes Frontend, das zu den Regeln von Core passt, ein monatlicher Release-Rhythmus), und der passt nicht zu einem Plan-Editor mit eigenem Frontend und schnellen Korrekturen.
|
||||
|
||||
### Welche Home-Assistant-Version brauche ich?
|
||||
|
||||
2025.1 oder neuer.
|
||||
|
||||
### Kann ich beim Zeichnen aus Versehen etwas schalten?
|
||||
|
||||
Nein. Im Editor schaltet das Platzieren oder Verknüpfen eines Geräts nie etwas. In der 3D-Ansicht schaltet ein Tippen; *Vor dem Schalten fragen* an einer Lampe schützt vor versehentlichem Antippen, und der 🔒-Knopf sperrt die Kamera.
|
||||
|
||||
### Können mehrere Personen es benutzen?
|
||||
|
||||
Alle mit Zugriff auf Home Assistant können die 3D-Ansicht und die Karte benutzen. Nur Administratoren sehen den Editor und speichern Änderungen.
|
||||
|
||||
### Kann ich mehrere Grundrisse in einer Installation haben?
|
||||
|
||||
Noch nicht. Ein Plan pro Installation ist, wie NextFloor heute arbeitet; die Idee wird in den [Discussions](https://github.com/therealMRBK/NextFloor/discussions) besprochen.
|
||||
|
||||
### Mir fehlt das Möbel, das ich brauche.
|
||||
|
||||
Baue es in der [Möbel-Werkstatt](furnish.md#die-moebel-werkstatt) oder im [Browser-Baukasten](https://therealmrbk.github.io/NextFloor/builder/), oder schau unter **Erweiterungen → Community-Möbel**.
|
||||
|
||||
## Fehlersuche
|
||||
|
||||
### Ein Gerät fehlt im Raum
|
||||
|
||||
Der Raum braucht einen **Bereich**, und das Gerät muss dazugehören (Gerät oder Entity). Sonst die Reiter *Andere Bereiche* oder *Ohne Bereich* nutzen.
|
||||
|
||||
### Das Panel sieht nach einem Update alt aus
|
||||
|
||||
Den Browser-Tab neu laden. In der Companion-App den Frontend-Cache zurücksetzen und die App ganz schließen. **Ein Neustart von Home Assistant hilft hierfür nicht.**
|
||||
|
||||
### Möbel erscheinen als graue Kästen
|
||||
|
||||
Ihr Pack ist nicht installiert. Unter *Erweiterungen → Möbel-Packs* wieder einspielen, dann ist alles zurück.
|
||||
|
||||
### Das Auto erscheint nicht
|
||||
|
||||
*Sensor „Auto da“* prüfen. Ohne Sensor wird das Fahrzeug immer gezeigt.
|
||||
|
||||
### Das Solarfeld landet auf der falschen Dachseite
|
||||
|
||||
Den [Kompass](outside.md#kompass-und-karte) in den Einstellungen prüfen. Sind Nord und Süd vertauscht, hilft *Nord ↔ Süd tauschen*.
|
||||
|
||||
### Auf dem Tablet ist es langsam
|
||||
|
||||
Die Qualität auf *Tablet* stellen und Wetter und Stromfluss ausschalten. Siehe [Wandtablet](tablet.md).
|
||||
|
||||
### Speichern schlägt fehl
|
||||
|
||||
Nur Administratoren können speichern. Die Meldung nennt das Feld, das Home Assistant ablehnt, und deine Änderungen bleiben im Browser, bis du speichern kannst. Nach einem Update braucht Home Assistant eventuell einen Neustart, bevor das Speichern wieder klappt.
|
||||
|
||||
### Durchsagen machen auf dem Tablet keinen Ton
|
||||
|
||||
Browser spielen Ton erst nach dem ersten Antippen der Seite. In Fully Kiosk *Autoplay Audio* einschalten.
|
||||
|
||||
## Immer noch festgefahren?
|
||||
|
||||
- Ideen und Fragen: [Discussions](https://github.com/therealMRBK/NextFloor/discussions)
|
||||
- Fehler: [Issues](https://github.com/therealMRBK/NextFloor/issues/new/choose), mit Version, was du getan hast und was du gesehen hast
|
||||
- Sicherheit: [private Meldung](https://github.com/therealMRBK/NextFloor/security/advisories/new), nie ein öffentliches Issue
|
||||
@@ -0,0 +1,85 @@
|
||||
---
|
||||
title: Einrichten
|
||||
description: Die Möbel-Bibliothek, Packs, die Möbel-Werkstatt, Größe und Neigung ändern und besondere Stücke wie Sofas, Bilderrahmen und Lichtschalter.
|
||||
---
|
||||
|
||||
Das Werkzeug *Möbel* wählen, einen Raum antippen und rechts aus der Bibliothek auswählen. Neue Stücke landen in der Raummitte.
|
||||
|
||||

|
||||
|
||||
## Die Bibliothek
|
||||
|
||||
- Sie hat Bereiche (Leuchten, Wohnen, Essen, Küche, Schlafen, Bad, Arbeiten, Parken) und danach die **Möbel-Packs**. NextFloor bringt 40 Grundmodelle und 43 Packs mit rund 800 weiteren mit.
|
||||
- Die **Suche** findet deutsche und englische Namen, Packnamen und mehrere Wörter in beliebiger Reihenfolge.
|
||||
- Möbel stehen nach Art sortiert (Sitzen, Betten, Küche …) mit Bild und Maß. Ein Modell in mehreren Größen ist eine Karte mit Größen-Knöpfen.
|
||||
- Ist ein Raum gewählt, steht oben, was in ihn passt (*Passend zu …*). *Alle Räume zeigen* hebt das auf.
|
||||
- Filter: ⚡ verknüpfbar, 💡 leuchtet, 🌳 draußen. ★ Favoriten und *Zuletzt benutzt* stehen oben.
|
||||
|
||||
## Verschieben, Größe ändern, kopieren
|
||||
|
||||
- Ziehen verschiebt, Eckgriffe ändern die Größe, am Drehgriff drehst du, oder du tippst Position, Größe und Drehung ein.
|
||||
- **Spiegeln** vertauscht links und rechts. **Duplizieren** kopiert. **Fixieren** sperrt ein Stück. **Auf Etage verschieben** bringt es an dieselbe Stelle einer anderen Etage.
|
||||
- **Größe ändern:** Beine, Armlehnen, Platten und Griffe behalten ihre echte Größe, nur die Mitte wächst.
|
||||
- **Neigen:** *Neigung vorn/hinten* und *Neigung seitlich* (Grad) lehnen eine Leiter an, kippen ein Bild oder folgen einem schrägen Regal. Eigene 3D-Modelle werden nicht geneigt.
|
||||
- **Spots setzen:** am Raum legt ein Raster aus Leuchten (Spalten × Reihen) an, die alle einem Licht folgen, mit einem Schritt rückgängig zu machen.
|
||||
- **Wandansicht (▣):** In der Wandliste eines Raums zeigt *Wandansicht* eine Wand von vorn mit Türen, Fenstern und den Möbeln davor. Ziehen oder Abstand und Höhe eintippen.
|
||||
|
||||
## Die Möbel-Werkstatt
|
||||
|
||||
*🛠️ Eigenes Möbel bauen* steht oben in der Bibliothek.
|
||||
|
||||
1. Eine Vorlage wählen: Schrank, Regal, Lampe oder Gerät.
|
||||
2. Maße in Zentimetern eintippen und Türen, Schubladen, Böden, Griffe, Unterbau und Farben einstellen. Die Frontansicht zeigt jede Änderung sofort.
|
||||
3. *In den Plan setzen* legt es im Pack *Eigene Möbel* ab, es steht dann auch in der Bibliothek.
|
||||
|
||||
Zum späteren Ändern das Stück auswählen und *In der Werkstatt ändern* drücken. Jedes Exemplar im Plan bekommt die neue Größe.
|
||||
|
||||
> [!TIP]
|
||||
> Fehlt dir etwas, das die Werkstatt nicht kann? Der [Möbel-Baukasten](https://therealmrbk.github.io/NextFloor/builder/) im Browser baut ein Modell genau so, wie NextFloor es zeichnet, und du kannst es teilen. Siehe [Möbel-Packs](packs.md).
|
||||
|
||||
## Besondere Stücke
|
||||
|
||||
### Leuchten
|
||||
|
||||
Leuchten sind Möbel mit einem Licht dahinter; der Leuchten-Bereich hat zwölf Arten. Verknüpfen wie unter [Geräte verbinden](devices.md) beschrieben.
|
||||
|
||||
### Lichtschalter und Steckdosen
|
||||
|
||||
Im Pack Smart Home & Technik, 1- bis 4-fach. Jede Taste hat eine eigene Entität und leuchtet, solange das Geschaltete an ist.
|
||||
|
||||
### Markisen, Vorhänge, Rollos, Leinwand und Tore
|
||||
|
||||
*Bewegt sich mit* wählt die Cover-Entität, der das Stück folgt. *Laufrichtung umkehren* dreht es um bei Dingen, die sich im Plan anders herum bewegen als in Wirklichkeit.
|
||||
|
||||
### Sofas
|
||||
|
||||
Das eingebaute Sofa hat eine *Form*: gerade, L (Spiegeln für die andere Seite) oder U.
|
||||
|
||||
### Bilderrahmen
|
||||
|
||||
Aus dem Pack *Bilder & Rahmen*: im Formular ein Foto hochladen, eine Bild-Adresse (`/local/…`) eintragen oder eine Bild- oder Kamera-Entität wählen. Passepartout und ob das Foto den Rahmen füllt, sind einstellbar.
|
||||
|
||||
### Nur zeigen, solange …
|
||||
|
||||
Jedes Stück kann auf eine Entität warten: der Weihnachtsbaum nur, solange ein Helfer an ist. Mehrere Zustände mit Komma, oder umgekehrt. Im Editor bleibt das Stück immer sichtbar.
|
||||
|
||||
### Unter der Dachschräge
|
||||
|
||||
Deckenleuchten und hängende Stücke im Dachgeschoss haben *📐 An die Dachschräge*.
|
||||
|
||||
### Saisonale Deko
|
||||
|
||||
Die Packs *Winter & Weihnachten* und *Halloween* haben leuchtende Teile, die einem Licht oder Schalter folgen, den du verknüpfst. Mit *Nur zeigen, solange …* kombiniert erscheint eine Deko nur in ihrer Jahreszeit.
|
||||
|
||||
## Ebenen und Etagen-Zähler
|
||||
|
||||
- **Ebenen:** Eine Etage mit *Ebene* im Formular (die Bäume, die Deko) bekommt oben in der 3D-Ansicht ein Auge, das sie ein- und ausblendet.
|
||||
- **Etagen-Zähler:** *Etagen-Zähler (Leistung)* im Etagenformular nimmt einen Leistungssensor nur für diese Etage. Sein Wert steht auf dem Etagen-Schild, und die Haus-Karte in der Ansicht dieser Etage zeigt ihn mit seinem Anteil am Haus.
|
||||
|
||||
## Pin verschieben
|
||||
|
||||
Pins von Geräten, die dicht beieinanderstehen, schiebst du im Formular zur Seite oder nach oben; das Gerät selbst bleibt stehen.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Geräte verbinden →](devices.md)
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: Haushalt und Haustiere
|
||||
description: Mülltonnen, der Briefkasten, durstige Pflanzen, Waschmaschinen, Haustiere, Mähroboter, Sprinkler und Pools in der 3D-Ansicht.
|
||||
---
|
||||
|
||||
Möbel aus den Garten- und Haushalts-Packs machen Alltägliches zu kleinen Live-Signalen.
|
||||
|
||||
## Mülltonnen
|
||||
|
||||
Mülltonnen (Pack Garten & Terrasse, vier Farben, 120 und 240 l) bekommen einen *Abholtermin (Sensor)*, zum Beispiel von Waste Collection Schedule oder einem Sensor mit Tagen oder Datum. Am Tag davor und am Abholtag leuchtet die Tonne und zeigt ihren Pin. Die Karte *Heute* listet die Tonnen, die heute oder morgen abgeholt werden.
|
||||
|
||||
## Briefkasten
|
||||
|
||||
*Post-Sensor* wählen (zum Beispiel ein Kontakt an der Klappe). Liegt Post drin, leuchtet der Briefkasten.
|
||||
|
||||
## Pflanzen
|
||||
|
||||
*Bodenfeuchte (Sensor)* und *Durst unter (%)* einstellen. Darunter leuchtet die Pflanze.
|
||||
|
||||
## Waschmaschine, Trockner, Spülmaschine
|
||||
|
||||
Hat das Gerät in Home Assistant einen Restlaufzeit-Sensor, steht am Pin „Noch 25 min“.
|
||||
|
||||
## Haustiere
|
||||
|
||||
Haustiere (Pack Haustiere: Katze, Hund, Kaninchen) laufen in ihrem Raum um die Möbel herum und machen zwischendurch Pausen. Mit einem **Raum-Sensor** (Bermuda, ESPresense) läuft das Tier in dem Raum herum, in dem es wirklich ist.
|
||||
|
||||
## Garten
|
||||
|
||||
- **Mähroboter:** Ein Mähroboter oder seine Station aus *Garten 2*, verbunden mit einem `lawn_mower`, mäht Bahnen über seinen Rasen.
|
||||
- **Sprinkler, Pools und Teiche:** Pools, Teiche und Beete zeigen auf ihrem Pin Wassertemperatur und Pumpe.
|
||||
- **Gärten mit ihrem Bereich verbunden:** Eine Außenfläche, die einem Home-Assistant-Bereich zugeordnet ist, bringt ihre Geräte ins [Außen-Panel](outside.md#das-aussen-panel).
|
||||
|
||||
## Putzen und Sicherungskasten
|
||||
|
||||
- *🧹 Putzen* je Raum.
|
||||
- Die Stromkreise des Sicherungskastens je Raum.
|
||||
- Saugroboter stehen unter [Live-Funktionen](live.md#saugroboter-im-plan).
|
||||
|
||||
## Personen
|
||||
|
||||
Personen erscheinen in ihren Räumen über die [Anwesenheit](devices.md#anwesenheit-personen-in-ihren-raeumen).
|
||||
|
||||
## Weiter
|
||||
|
||||
[Durchsagen →](announcements.md)
|
||||
@@ -0,0 +1,47 @@
|
||||
---
|
||||
title: NextFloor installieren
|
||||
description: NextFloor über HACS oder von Hand installieren, die Integration hinzufügen und sicher aktualisieren.
|
||||
---
|
||||
|
||||
NextFloor braucht **Home Assistant 2025.1 oder neuer**. Es wird wie jede eigene Integration installiert und legt einen Eintrag *NextFloor* in der Seitenleiste an.
|
||||
|
||||
## Mit HACS (empfohlen)
|
||||
|
||||
NextFloor ist im **offiziellen HACS-Store**, du musst also kein eigenes Repository hinzufügen.
|
||||
|
||||
1. **HACS** öffnen, nach *NextFloor* suchen und **Herunterladen** drücken.
|
||||
2. **Home Assistant neu starten.**
|
||||
3. Unter **Einstellungen → Geräte & Dienste → Integration hinzufügen** *NextFloor* wählen.
|
||||
4. In der Seitenleiste erscheint *NextFloor*. Öffnen, fertig.
|
||||
|
||||
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=therealMRBK&repository=NextFloor&category=integration)
|
||||
|
||||
> [!NOTE]
|
||||
> NextFloor früher als eigenes Repository installiert? Du musst nichts ändern. HACS führt es von selbst als normales Repository weiter, und Updates kommen weiter an.
|
||||
|
||||
## Von Hand
|
||||
|
||||
1. `nextfloor.zip` aus dem [neuesten Release](https://github.com/therealMRBK/NextFloor/releases/latest) laden.
|
||||
2. Den Ordner `custom_components/nextfloor` in den Konfigurationsordner von Home Assistant kopieren.
|
||||
3. Home Assistant neu starten und die Integration wie in Schritt 3 oben hinzufügen.
|
||||
|
||||
## Aktualisieren
|
||||
|
||||
1. Über HACS aktualisieren.
|
||||
2. Home Assistant neu starten.
|
||||
3. **Den Browser-Tab neu laden.** In der Companion-App: *Einstellungen → Companion-App → Frontend-Cache zurücksetzen* und die App ganz schließen.
|
||||
|
||||
> [!WARNING]
|
||||
> Sieht ein Panel nach einem Update alt aus, liegt es am Browser-Cache, nicht an Home Assistant. Ein Neustart von Home Assistant hilft dafür nicht, das Neuladen des Tabs schon.
|
||||
|
||||
## Wo deine Daten liegen
|
||||
|
||||
Plan, Bilder und Möbel-Packs liegen im Ordner `.storage` von Home Assistant. Nichts davon verlässt deine Installation: kein Konto, keine Cloud, keine Nutzungsdaten. Wie du eine Kopie sicherst, steht unter [Sicherung und Import](plan-tools.md#sicherung-und-import).
|
||||
|
||||
## Wer was darf
|
||||
|
||||
Alle mit Zugriff auf Home Assistant können NextFloor öffnen und die 3D-Ansicht benutzen. Nur **Administratoren** sehen den Reiter **Editor** und können Änderungen am Plan speichern.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Schnellstart →](quickstart.md): den ersten Raum zeichnen und eine Lampe in 3D schalten.
|
||||
@@ -0,0 +1,76 @@
|
||||
---
|
||||
title: Live-Funktionen
|
||||
description: Wetter, Sonne und Schatten, Stromfluss, Fernseher, Klang, das Auto, der Saugroboter und Alles aus. Eingebaut, kostenlos und aus den Geräten gemacht, die du schon hast.
|
||||
---
|
||||
|
||||
Diese Funktionen sind eingebaut und kostenlos. Sie brauchen nur die Geräte, die du schon hast.
|
||||
|
||||

|
||||
|
||||
## Wetter am Haus
|
||||
|
||||
Regen, Schnee, Hagel, Schneeregen, Nebel, Wolken mit Schatten, Blitze, Sonne und Mond, gesteuert von einer Wetter-Entity und dem Kompass. Nachts kommen bei klarem Himmel Sterne heraus. Bei Schnee liegt der Boden weiß, bei Regen wird er nass.
|
||||
|
||||
## Sonne und Schatten
|
||||
|
||||
Das Haus wirft seinen Schatten nach dem echten Sonnenstand (Einstellung *Sonnenlicht und Schatten*, auf *Tablet* aus).
|
||||
|
||||
Ist *☀ Tageszeit* in den Ansichtsoptionen (⚙) eingeschaltet, öffnet der Schalter **☀** unter der 3D-Ansicht einen Regler über die Stunden des Tages. Sonnenflecken, Schatten, Himmel und der Look *Auto* folgen der gewählten Uhrzeit; erneut tippen zeigt wieder das Jetzt.
|
||||
|
||||
*Sonnenbogen und Kompass* (Einstellungen) zeichnet den Weg der Sonne von heute als Bogen über das Grundstück.
|
||||
|
||||
## Stromfluss
|
||||
|
||||
Teilchen laufen von den Solarmodulen zu Wechselrichter, Haus, Akku und Netz, entlang der echten Kabelwege. Eine Glaskarte zeigt Bilanz und Autarkie. Mehr unter [Klima und Energie](climate-energy.md).
|
||||
|
||||
## Fernseher
|
||||
|
||||
Was läuft, in der Farbe der App, dazu ein Ambilight-Leuchten hinter dem Fernseher.
|
||||
|
||||
## Klang
|
||||
|
||||
Über jedem spielenden Lautsprecher oder Fernseher schwebt eine Karte mit Cover und Bedienung. Schallringe in der Farbe der App wachsen mit der Lautstärke. *Schallringe (%)* an einem Lautsprecher skaliert sie von 0 (aus) bis 100 (volle Größe). Multiroom-Gruppen verbindet ein Faden.
|
||||
|
||||
## Auto
|
||||
|
||||
Eine Karte über dem Stellplatz zeigt Ladering, Reichweite, Ladeleistung, Stecker, Innentemperatur und Knöpfe für Schloss, Klima und Laden.
|
||||
|
||||
- Unterwegs sagt sie, wie weit das Auto von zu Hause ist.
|
||||
- Sie zeigt die Abfahrtszeit und warnt vor offenen Türen und Klappen.
|
||||
- An einer Wallbox eingesteckt hängt es am Kabel.
|
||||
|
||||
## Saugroboter im Plan {#saugroboter-im-plan}
|
||||
|
||||
Ein `robot_vacuum` im Plan fuhr bisher Spuren, die die Ansicht selbst im gemeldeten Raum erfunden hat. Legt die Integration des Roboters ihre Karte auf eine Kamera (`vacuum_position`, `charger`, `path`, wie die Kartenkarte von NarwalIntegration), zeigt NextFloor die Wahrheit: Der Roboter steht, wo er sich meldet, blickt, wohin er blickt, und der Boden behält die Spur, die er wirklich gefahren ist. Die Station steht, wo der Roboter sie meldet.
|
||||
|
||||
Die Kamera findet sich selbst: Jede `camera`, deren Attribute `vacuum_position` tragen, genügt, es muss nichts ausgewählt werden. Was die Ansicht nicht wissen kann, ist, wie das Raster des Roboters auf dem Plan liegt, denn der Roboter zählt in eigenen Zellen und der Plan in Metern.
|
||||
|
||||
### Kalibrieren
|
||||
|
||||
**Aus den Räumen (am einfachsten):** Nennt die Karte des Roboters ihre Räume (die Dreame-Integration tut das mit `rooms`), erscheint bei der Station der Knopf *Aus den Räumen kalibrieren*. Er legt die gleichnamigen Räume der Karte auf die Räume des Stockwerks, auf dem die Station steht. Groß- und Kleinschreibung, Leerzeichen und Bindestriche zählen nicht. Mindestens zwei Räume müssen gleich heißen, ab drei erkennt NextFloor auch eine gespiegelte Karte selbst. Der Roboter muss dafür nicht fahren.
|
||||
|
||||
**Von Hand nachrücken:** Sitzt die Karte danach ein Stück daneben, schieben die Pfeile unter der Kalibrierung sie um 10 cm, ⟲ ⟳ drehen sie um 1°, − + ändern ihre Größe um 1 %. Jeder Klick wird sofort gespeichert.
|
||||
|
||||
**Über die Position des Roboters:**
|
||||
|
||||
1. Im Plan die **Station** des Roboters wählen.
|
||||
2. Den Roboter mindestens 1,5 m wegfahren lassen.
|
||||
3. *Von der jetzigen Position des Roboters kalibrieren* drücken und den Roboter im Plan antippen, wo er steht.
|
||||
|
||||
Die Station ist der Anker: Der Plan weiß, wo sie steht, die Kamera weiß, wo sie und der Roboter in ihrem Raster liegen. Ein Tipp genügt, und alles Weitere (Position, Blickrichtung, Spur, Station) folgt.
|
||||
|
||||
> [!NOTE]
|
||||
> Zwei Orte können eine Spiegelung nicht von einer Drehung unterscheiden. Läuft die y-Achse der Karte entlang Plan −z, braucht es den Haken *gespiegelt*, sonst kommen die Räume verkehrt heraus. Die Kalibrierung liegt als `settings.vacuum_map` (`a`/`ga` und `b`/`gb`, dazu `mirror`). Ohne sie zeichnet die Ansicht weiter ihre erfundenen Spuren.
|
||||
|
||||
- Die Spur ist so fein, wie die Integration sie sendet. Eine Kartenkarte, die ihren `path` auf wenige hundert Punkte kürzt, ergibt eine grobe Spur, eine mit mehr Punkten eine feinere.
|
||||
- Zehn Minuten nachdem der Roboter andockt, blendet die Spur aus, der Boden behält also nicht die Reinigung von gestern. Die Zeitreise (⏪) ist der Ort, an dem eine fertige Reinigung bleibt, und sie hält den ganzen Tag.
|
||||
- Die Attributnamen stammen von der Vacuum-Map-Card, nicht von einer Marke: Die Xiaomi-Kartenextraktoren (Roborock, Viomi, Roidmi, Dreame, Ijai), die Roborock-Integration und NarwalIntegration liefern sie alle. Ein Gerät, das in Millimetern statt in Kartenzellen meldet, funktioniert genauso, den Maßstab geben die zwei Orte.
|
||||
- Die Integration muss sie als Attribute bereitstellen. Manche tun das nur auf Ansage: Die Kartenextraktoren wollen `vacuum_position` und `path` in ihrer `attributes:`-Liste.
|
||||
|
||||
## Alles aus
|
||||
|
||||
*⏻ Alles aus* im Raum-Panel, oder *⏻* in der Leiste oben für die offene Etage, schaltet Lichter, Schalter, Ventilatoren und Medien aus. *↶ Rückgängig* holt zehn Sekunden lang alles zurück.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Klima und Energie →](climate-energy.md)
|
||||
@@ -0,0 +1,76 @@
|
||||
---
|
||||
title: Eigene 3D-Modelle
|
||||
description: Ein eigenes GLB-Modell für einen Fahrzeug-Platz hochladen: wie NextFloor es vorbereitet und wie du eines von Hand vorbereitest.
|
||||
---
|
||||
|
||||
Du kannst ein eigenes `.glb`-Modell für einen Fahrzeug-Platz hochladen. Der Browser dreht es richtig herum, macht es leichter, entfernt Texturen und markiert den Lack. Die Datei liegt danach auf deinem Home Assistant (nur Administratoren, bis 12 MB).
|
||||
|
||||
> [!NOTE]
|
||||
> Dieser technische Teil ist noch auf Englisch, damit Beispiele und Feldnamen eindeutig bleiben. Eine deutsche Fassung ist willkommen: [Mitmachen](contributing.md).
|
||||
|
||||
## How it works
|
||||
|
||||
- A pack item can name a model (`"mesh": "tesla_model_y"`). When the file `tesla_model_y.glb` exists in the folder
|
||||
`nextfloor_meshes` of your Home Assistant configuration, the 3D view draws it, stretched to the size of the item.
|
||||
Everyone who is logged in to Home Assistant can read it, nobody else.
|
||||
- The model's body paint follows the colour you pick in the editor (the round colour dots under the item's
|
||||
settings). That works for parts whose material is marked as paint (see below).
|
||||
- Parts of the model that are not paint (glass, tyres, trim) stay as they are.
|
||||
|
||||
## Putting a model on your Home Assistant
|
||||
|
||||
**The easy way:** open the Extensions page of NextFloor (as administrator). Every item that takes a model is listed
|
||||
with an "Add a model" button. Choose your `.glb`, turn its front towards the viewer, check which material is the body
|
||||
paint (NextFloor guesses it), pick a level of detail and look at the preview. "Store on Home Assistant" does the rest;
|
||||
reload the panel afterwards. Compressed files (Draco, Meshopt, KTX) are refused: export the model without compression.
|
||||
|
||||
**By hand:**
|
||||
|
||||
1. Get a model you may use, as a binary glTF (`.glb`), for example a purchased one. Check its licence: it must
|
||||
allow you to use it in your own installation.
|
||||
2. Prepare it (lighter, front to +z, paint marked), see below.
|
||||
3. Copy the result to `<config>/nextfloor_meshes/<id>.glb`, with the id from the table, **or** upload it as an
|
||||
administrator:
|
||||
|
||||
```
|
||||
curl -X POST -H "Authorization: Bearer <long-lived access token>" \
|
||||
--data-binary @tesla_model_y.glb http://homeassistant.local:8123/api/nextfloor/mesh/tesla_model_y
|
||||
```
|
||||
|
||||
4. Reload the NextFloor panel.
|
||||
|
||||
| Item | Model id |
|
||||
| --- | --- |
|
||||
| Tesla Model 3 | `tesla_model_3` |
|
||||
| Tesla Model 3 (2024) | `tesla_model_3_2024` |
|
||||
| Tesla Model 3 Performance (2024) | `tesla_model_3_2024_performance` |
|
||||
| Tesla Model S | `tesla_model_s` |
|
||||
| Tesla Model S Plaid | `tesla_model_s_plaid` |
|
||||
| Tesla Model X | `tesla_model_x` |
|
||||
| Tesla Model Y | `tesla_model_y` |
|
||||
| Tesla Model Y Standard (2025) | `tesla_model_y_2025` |
|
||||
| Tesla Model Y Premium (2025) | `tesla_model_y_2025_premium` |
|
||||
| Tesla Model Y Performance (2025) | `tesla_model_y_2025_performance` |
|
||||
| Tesla Model Y L | `tesla_model_y_l` |
|
||||
| Tesla Cybertruck | `tesla_cybertruck` |
|
||||
|
||||
## Preparing a model by hand
|
||||
|
||||
The Extensions page does this in the browser. If you prefer the command line:
|
||||
|
||||
The 3D view reads plain binary glTF without Draco compression and without textures, and a model with 200,000
|
||||
triangles would be too heavy for a tablet. `tools/prepare-model.mjs` does the work:
|
||||
|
||||
```
|
||||
npm install @gltf-transform/core @gltf-transform/extensions @gltf-transform/functions draco3dgltf meshoptimizer
|
||||
node tools/prepare-model.mjs original.glb tesla_model_y.glb --ratio=0.35 --rear=^Charge --paint=^Paint --drop-materials="Fade|^Light$" --drop="^(Fade|Underhood_Piece)"
|
||||
```
|
||||
|
||||
`--front` (or `--rear`, for a part at the back such as the charge port) is a pattern for the name of a part that tells which end is which, so the car points to +z; `--drop-materials` leaves out see-through fade layers and light beams that would float around the car; `--paint` is a pattern for the material
|
||||
names of the body paint. Both depend on how your model's author named things; open the file in a glTF viewer to look.
|
||||
With a ratio of 0.35, a Model Y has about 70,000 triangles and 1 MB.
|
||||
|
||||
## Licence note
|
||||
|
||||
The model files are yours and stay on your Home Assistant. Do not put them in a public repository, and do not share
|
||||
them in a pack. Vehicle names are trademarks of their owners; NextFloor uses them only to say which model is meant.
|
||||
@@ -0,0 +1,81 @@
|
||||
---
|
||||
title: Außen, Dach und Energie
|
||||
description: Außenflächen, Zäune und Tore, das Dach-Werkzeug, Solarfelder, Kabelwege, der Kompass, die echte Karte und der Sonnenbogen.
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Außenflächen
|
||||
|
||||
Rasen, Terrasse, Weg, Einfahrt, Pool, Beet, Wildfläche, Hecke, Zaun oder Pergola aufziehen.
|
||||
|
||||
| Einstellung | Was sie tut |
|
||||
|---|---|
|
||||
| *Höhenversatz* | senkt oder hebt die Fläche |
|
||||
| *Gefälle* | neigt sie |
|
||||
| *Umriss zeigen* | schaltet die leuchtende Kante |
|
||||
| *Aus den Flächen darunter ausschneiden* | macht ein Loch, für einen Teich |
|
||||
|
||||
Eine Fläche kann einem Home-Assistant-**Bereich** zugeordnet werden: Seine Geräte kommen nach Außen, und ein Pin öffnet sie. Pool, Teich und Beet zeigen auf dem Pin Wassertemperatur und Pumpe. Hecken und Zäune haben eine Höhe. Garten- und Wegeleuchten kommen aus der Bibliothek und beleuchten die Flächen.
|
||||
|
||||
### Tore in Zäunen
|
||||
|
||||
Ein Zaun kann **Tore** haben: Gartentor, Doppeltor oder Schiebetor. Jedes Tor sitzt an einer Position am Zaun und nimmt eine Entität oder einen Kontakt; in 3D öffnet es sich, wenn diese Entität offen oder an ist.
|
||||
|
||||
### Deckkraft
|
||||
|
||||
*Deckkraft (%)* im Formular einer Fläche macht sie durchsichtig, von 100 (undurchsichtig) bis 10. So verdeckt eine Einfahrt oder ein Rasen in der gestapelten Ansicht nicht mehr den Keller, und der Umriss lässt die Fläche erkennbar. Der Wert wird mit dem Plan gespeichert.
|
||||
|
||||
## Das Außen-Panel
|
||||
|
||||
Sobald ein Gerät außerhalb der Räume steht, bekommt die Leiste über der 3D-Ansicht neben den Geschossen den Knopf **🌳 Außen**. Er öffnet die Hausansicht mit einem Panel wie bei einem Raum, das die Geräte im Garten auflistet.
|
||||
|
||||
Ein Gerät, das auf dem Dach oder über einem Raum steht, aber nach draußen gehört (eine Wetterstation), bekommt in seinem Formular *Gehört zu Außen*. Es zählt dann nicht mehr zum Raum darunter und steht im Außen-Panel. Die Dashboard-Karte zeigt den Knopf bei ihren Raum-Knöpfen.
|
||||
|
||||
Im Editor hat Außen einen eigenen Abschnitt *🌳 Außen* (unter *Startansicht*). Dort blendet *Draußen: Geräte ausblenden* Geräte aus dem Außen-Panel aus, und *Diese Ansicht für Draußen* die Kamera der 3D-Vorschau im Editor: erst auf den Garten drehen, dann fliegt das Öffnen von „Draußen“ dorthin.
|
||||
|
||||
## Dach
|
||||
|
||||
Das Werkzeug *Dach* baut Dachflächen aus den Räumen: Form, Firstrichtung, Traufe, Neigung. Ziehen verschiebt, Ecken ändern die Größe. Die einfache Dachform steht in den Einstellungen.
|
||||
|
||||
- **Dachfenster** sitzen auf einer Fläche und bekommen Rollladen und Kontakte.
|
||||
- **Schornsteine** (*+ Schornstein* im Dach-Werkzeug) gibt es gemauert, rund, breit mit zwei Zügen oder als Edelstahlrohr mit Regenhut. Breite, Tiefe (oder Durchmesser) und die Höhe über dem Dach sind einstellbar; verschieben lässt er sich im Grundriss und in der 3D-Ansicht, auch auf eine andere Dachfläche.
|
||||
- **Sattel-, Walm- und Krüppelwalmflächen** können an jedem Firstende anders enden. Ein Flügel, der an ein größeres Dach stößt, läuft mit Kehlen in dessen Fläche.
|
||||
- Ein Abschnitt dreht sich mit *Drehung (°)* um seine Mitte, für einen Flügel im Winkel.
|
||||
- Ein Krüppelwalm hat einen Regler, wie hoch sein Walm beginnt.
|
||||
- **Überstand je Seite:** *Überstand je Seite* stellt den Dachüberstand für jede Seite einzeln ein. Ohne eigene Werte ist der Überstand automatisch: überall gleich, außer wo der Dachteil ans Haus stößt (dort keiner).
|
||||
- **Solarfelder** auf Flachdächern stehen auf Wunsch in Ost-West-Aufständerung, auf Schrägdächern auf einer Aufständerung mit eigener Neigung.
|
||||
|
||||
## Türen und Fenster (mehr)
|
||||
|
||||
- Eine Tür bekommt ein **Smart Lock**: Tür antippen schließt ab oder auf, aufgeschlossen leuchtet sie.
|
||||
- Ein Fenster wählt seine Fensterbank, kann aus der Regenwarnung genommen werden und bekommt unter Gelände einen Lichtschacht.
|
||||
|
||||
## Energie
|
||||
|
||||
Die Checkliste verlangt ein **Solarfeld**, einen **Zähler** und einen **Wechselrichter**. Batterie und Netzanschluss sind optional.
|
||||
|
||||
1. Das **Solarfeld** kommt auf die am besten passende Südfläche (der Kompass entscheidet), in den Garten oder an eine Wand. Reihen, Spalten und Hoch- oder Querformat einstellen.
|
||||
2. Zähler, Wechselrichter, Batterie und Wallbox als Geräte setzen.
|
||||
3. Die Felder der Energiebilanz stehen auf *Automatisch*. *Aus dem Energie-Dashboard übernehmen* liest deine bestehende Einrichtung.
|
||||
|
||||
**Kabelwege** zeichnen ein, wo ein Kabel wirklich läuft: Solarfeld zum Wechselrichter, Batterie, Wechselrichter und Netz zum Haus, Unterzähler. *Weg zeichnen* drücken, im Plan die Punkte antippen, dazwischen das Geschoss wechseln, wo das Kabel durch die Decke geht, dann *Fertig*. Der Fluss folgt dem Weg statt eines Bogens, und *Als Kabel zeigen* zeichnet ihn als sichtbares Kabel. Der Weg einer Batterie wird je nach Laden oder Entladen in beide Richtungen gegangen.
|
||||
|
||||
*Gaszähler* und *Wasserzähler* stellen ihre Werte zur Bilanz. Was du in 3D siehst, steht unter [Klima und Energie](climate-energy.md).
|
||||
|
||||
## Kompass und Karte
|
||||
|
||||
In den **Einstellungen**:
|
||||
|
||||
- **Kompass.** Eine Scheibe zeigt, wohin Norden liegt, in Grad im Uhrzeigersinn von oben. Sonnenlicht, Wind und die Himmelsrichtung der Dachflächen richten sich danach. Sind Nord und Süd vertauscht, drückst du **Nord ↔ Süd tauschen**; Zeichnung, Dachflächen und Solarfelder bleiben, nur die Richtungen ändern sich. Viertel-Drehungen und jeder Winkel gehen auch.
|
||||
- **Echte Karte.** Standardmäßig aus. Eingeschaltet liegt eine gedimmte Karte (OpenStreetMap oder deine eigene Kachel-Adresse `https://…/{z}/{x}/{y}`) unter dem Plan im Editor und unter dem Haus in 3D. Sie startet am Standort von Home Assistant. Sichtbarkeit und Detail einstellen und mit den Pfeilen verschieben, bis das Haus auf seinem Grundstück sitzt.
|
||||
|
||||
> [!NOTE]
|
||||
> Dein Browser lädt die Kartenkacheln direkt vom Kartenserver, und nur solange die Karte an ist. Sonst verlässt nichts über dein Zuhause deine Installation.
|
||||
|
||||
- **Sonnenbogen und Kompassring:** *Sonnenbogen und Kompass* zeichnet den Weg der Sonne von heute als Bogen über das Grundstück, mit einem Ring und den Himmelsrichtungen am Boden (Norden rot). Dafür braucht es die Position deines Zuhauses in Home Assistant.
|
||||
- Ebenfalls hier: Wanddicken, Raster, Maße in Metern oder Fuß und Zoll, Dachform, Wetter-Entity und Effekte, Regenwarnung (auf Wunsch vom eigenen Regensensor), ein Sensor für Stromausfall, Sonnenflecken und ein eigener Hintergrund (Farbe oder Bild) hinter dem Haus.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Plan-Werkzeuge →](plan-tools.md)
|
||||
@@ -0,0 +1,105 @@
|
||||
---
|
||||
title: Möbel-Packs
|
||||
description: Möbel-Packs importieren, selbst bauen und teilen. Das JSON-Format der Packs mit allen Feldern.
|
||||
---
|
||||
|
||||
Möbel-Packs bringen zusätzliche Möbel in NextFloor. Sie werden wie die eingebauten Möbel aus
|
||||
Quadern, Zylindern und Lofts gebaut und laufen deshalb genauso flüssig auf schwachen Tablets.
|
||||
|
||||
Ein Pack ist eine einfache JSON-Datei. Jeder kann eigene Packs bauen, weitergeben und importieren.
|
||||
|
||||
## Möbel-Baukasten und Community-Möbel
|
||||
|
||||
Am einfachsten baust du Möbel im **[Möbel-Baukasten](https://therealmrbk.github.io/NextFloor/builder/)** im Browser:
|
||||
Teile hinzufügen, Maße in Zentimetern eintragen, Farben wählen – die 3D-Vorschau zeichnet das Möbel genau so wie
|
||||
NextFloor. Der Baukasten prüft das Pack wie der Import, speichert es als Datei und teilt es mit einem Knopf im
|
||||
**Community-Store** ([NextFloor-Plugins](https://github.com/therealMRBK/NextFloor-Plugins#community-furniture)). Geteilte
|
||||
Packs stehen danach in NextFloor unter **Erweiterungen → Community-Möbel** zum Installieren bereit.
|
||||
|
||||
## Mitgelieferte Packs
|
||||
|
||||
43 Packs mit rund 800 Modellen kommen mit der Integration (`custom_components/nextfloor/packs/nextfloor.*.json`) und sind
|
||||
immer da; Übersicht in der [Bibliothek](furnish.md#die-bibliothek). Sie werden mit
|
||||
`python3 tools/build_packs.py` aus den Definitionen in `tools/` erzeugt (`build_packs.py` und die
|
||||
`area_*.py`-Module); nach einer Änderung dort das Skript laufen lassen, mit `python3 tools/check_packs.py`
|
||||
prüfen und die JSON-Dateien mit committen. Mitgelieferte Packs lassen sich nicht
|
||||
entfernen, und ein importiertes Pack darf nicht dieselbe ID haben.
|
||||
|
||||
## Eigenes Pack
|
||||
|
||||
1. Pack schreiben (JSON, Format unten). Die `id` sollte mit deinem Namen beginnen (`meinname.kueche`),
|
||||
damit sie mit niemandem kollidiert; `nextfloor.*` ist für die mitgelieferten Packs reserviert.
|
||||
2. Import in Home Assistant unter **Erweiterungen → Möbel-Packs**: mit **Pack-Dateien importieren …**
|
||||
(mehrere Dateien auf einmal gehen) oder das JSON ins Textfeld einfügen und **JSON importieren**.
|
||||
Dort lassen sich eigene Packs auch wieder entfernen.
|
||||
3. Eine neuere Version mit derselben `id` ersetzt die alte; Möbel im Plan bleiben erhalten. Wird ein
|
||||
Pack entfernt, bleiben seine Möbel als einfache Kästen im Plan und kommen mit einem erneuten Import
|
||||
zurück.
|
||||
|
||||
## Format
|
||||
|
||||
```json
|
||||
{
|
||||
"format": "nfpack",
|
||||
"version": 1,
|
||||
"id": "meinname.kueche",
|
||||
"name": "Küchen-Pack",
|
||||
"publisher": "Mein Name",
|
||||
"description": "optional",
|
||||
"items": [
|
||||
{
|
||||
"id": "retro_fridge",
|
||||
"name": { "de": "Retro-Kühlschrank", "en": "Retro fridge" },
|
||||
"size": [0.6, 0.65, 1.5],
|
||||
"electric": true,
|
||||
"parts": [{ "shape": "box", "x": 0, "z": 0, "w": 1, "d": 1, "y": 0, "h": 1, "color": "white", "edges": true }],
|
||||
"symbol": [{ "shape": "rect", "x": 0, "z": 0, "w": 1, "d": 1 }]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
- `size`: Standardgröße in Metern (Breite, Tiefe, Höhe). Im Plan lässt sich jedes Möbel danach frei
|
||||
skalieren. Dabei behalten Teile bis 22 cm vor jedem Ende ihre echte Größe und ihren Abstand zum Rand
|
||||
(Armlehnen, Beine, Platten, Griffe), nur die Mitte wird gestreckt. `"stretch": true` am Möbel lässt
|
||||
stattdessen alle Teile gleichmäßig mitwachsen; Fahrzeuge wachsen immer gleichmäßig.
|
||||
- `parts` (max. 60): `box`, `cyl`, `loft` oder `sweep`. Alle Maße sind **Anteile der Möbelgröße**: `x`/`z`
|
||||
Mitte (−0,5 … 0,5, vorne ist +z), `w`/`d` Breite/Tiefe (0 … 1), `y` Unterkante und `h` Höhe (0 … 1
|
||||
der Höhe). Ein Zylinder hat den kleineren Wert von `w` und `d` als Durchmesser; mit `axis: "x"` oder
|
||||
`"z"` liegt er (Räder, Rollen – die Länge ist die Ausdehnung entlang der Achse, der Durchmesser der
|
||||
kleinere Wert aus Querausdehnung und `h`). Ein `loft` ist ein Quader, dessen Oberseite ein anderes
|
||||
Rechteck ist (`tx`/`tz` Mitte, `tw`/`td` Größe; Standard wie unten) – für schräge Flächen wie
|
||||
Motorhauben, Windschutzscheiben oder Lampenschirme.
|
||||
Ein Teil mit `rot` (Grad) ist um seine eigene Mitte um die Hochachse gedreht – für Wendeltreppen
|
||||
oder diagonale Streben; ein schmaler `loft` mit versetzter Oberseite ergibt eine schräge Stange
|
||||
(Handlauf).
|
||||
- `sweep` (glatter Körper): Querschnitte entlang der Tiefe (z), zwischen denen die Haut gespannt wird – für alles
|
||||
Runde wie Autos, Boote oder Kotflügel. `stations` ist eine Liste von `[z, unten, oben, breite]`: `z` Mitte des
|
||||
Querschnitts (−0,5 … 0,5), `unten` und `oben` als Anteil der Höhe, `breite` als Anteil der Breite. `x` verschiebt den
|
||||
Körper seitlich. `exp` formt den Querschnitt (2 = Ellipse, höhere Werte werden kantiger, Standard 2,6) und `n` ist die
|
||||
Zahl der Punkte rundherum (6 … 32, Standard 16). Die Fahrzeuge des Packs „Fahrzeuge“ sind so gebaut, siehe
|
||||
`tools/build_packs.py`.
|
||||
- `color`: `#rrggbb` oder eine Rolle der eingebauten Palette (`body`, `fabric`, `cushion`, `wood`,
|
||||
`white`, `metal`, `dark`, `glass`, `plant`, `pot`, `accent`) – Rollen passen zum Look. `top` setzt
|
||||
eine eigene Farbe für die Oberseite, `edges` zeichnet leuchtende Kanten (`true`: dezent blau,
|
||||
`"glow"`: cyan wie die Wände, `"faint"`: sehr zart).
|
||||
- `symbol` (optional, max. 40): Draufsicht im Plan aus `rect` (`fill` für gefüllt), `circle` (`r` als
|
||||
Anteil der kleineren Seite) und `line` (`x1`, `z1`, `x2`, `z2`). Ohne Symbol zeichnet der Plan die
|
||||
Teile von oben.
|
||||
- `electric`: das Möbel lässt sich mit einem Schalter und Leistungssensor verknüpfen.
|
||||
- `climate`: kennzeichnet das Möbel als Klimagerät (z. B. Klimaanlage oder Wärmepumpe).
|
||||
Es lässt sich mit einer `climate`-Entität und optional einem Leistungssensor verknüpfen.
|
||||
Die automatische Zuordnung sucht passende `climate`-Entitäten im
|
||||
Home-Assistant-Bereich des Raums. Diese Option fügt noch keine 3D-Animation hinzu.
|
||||
- `mount`: wo das Möbel sitzt – `floor` (Standard), `surface` (auf dem Möbel darunter, z. B.
|
||||
Kaffeemaschine auf der Arbeitsplatte), `wall` (Unterkante bei `wall_y` Metern, z. B. Wallbox) oder
|
||||
`ceiling` (hängt von der Decke, z. B. Dunstabzug, Pendelleuchten).
|
||||
- `surface`: die Oberseite trägt andere Möbel (Tisch, Kücheninsel, Werkbank).
|
||||
- `hole`: eine Treppe – reicht sie bis zur Etage darüber, schneidet sie dort die Treppenöffnung in den
|
||||
Boden (wie die eingebaute Treppe); die Stufen steigen von der Vorderkante (+z) nach hinten an.
|
||||
- `light`: das Möbel ist eine Leuchte und wird mit einem Licht (oder Schalter) verknüpft. Der Wert sagt,
|
||||
wie das Licht den Raum ausleuchtet (`ceiling`, `pendant`, `floor`, `table`, `wall`, `spot`, `garden` …).
|
||||
Teile mit `"glow": true` leuchten in Farbe und Helligkeit des Lichts.
|
||||
- `screen`: ein Teil mit `"screen": true` ist ein Bildschirm (Fernseher, Monitor). Das Möbel lässt sich
|
||||
dann mit einem Media Player verknüpfen; die Vorderseite (+z) zeigt die Farbe der laufenden App und
|
||||
ihr Bild, wie die eingebauten Fernseher.
|
||||
@@ -0,0 +1,109 @@
|
||||
---
|
||||
title: Plan-Format
|
||||
description: Das JSON-Format eines NextFloor-Plans, und wie eine KI deinen Plan aus einem Bild des Grundrisses zeichnet.
|
||||
---
|
||||
|
||||
Ein Plan ist ein einziges JSON-Dokument. *Editor → Sicherung → Importieren* liest es, du kannst also einen Plan von Hand schreiben, aus einem anderen Programm umwandeln oder von einer KI aus einem Bild deines Grundrisses zeichnen lassen. Alles, was du weglässt, bekommt beim Import einen sinnvollen Standardwert.
|
||||
|
||||
> [!NOTE]
|
||||
> Dieser technische Teil ist noch auf Englisch, damit Beispiele und Feldnamen eindeutig bleiben. Eine deutsche Fassung ist willkommen: [Mitmachen](contributing.md).
|
||||
|
||||
## The smallest plan
|
||||
|
||||
```json
|
||||
{
|
||||
"floors": [
|
||||
{
|
||||
"name": "Ground floor",
|
||||
"elevation": 0,
|
||||
"height": 2.5,
|
||||
"rooms": [
|
||||
{ "id": "living", "name": "Living room", "points": [[0, 0], [5, 0], [5, 4], [0, 4]] },
|
||||
{ "id": "garage", "name": "Garage", "points": [[5, 0], [11, 0], [11, 4], [5, 4]] }
|
||||
],
|
||||
"openings": [
|
||||
{ "room_id": "living", "edge": 0, "offset": 2.5, "type": "door", "style": "front" },
|
||||
{ "room_id": "living", "edge": 2, "offset": 2.0, "type": "window", "width": 1.6, "leaves": 2 },
|
||||
{ "room_id": "garage", "edge": 2, "offset": 3.0, "type": "garage" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
- **Units are metres.** `points` are the corners of a room as `[x, z]`, seen from above: x grows to the right, z grows downwards in the plan. Go round the room in either direction; do not repeat the first corner at the end.
|
||||
- **Rooms that touch share their walls.** Draw neighbouring rooms with the same corner coordinates on the shared side and NextFloor builds one wall between them.
|
||||
- **ids** are optional. Missing or repeated ids are replaced on import, but an opening needs the `id` of its room in `room_id`, so give rooms an id when they have openings.
|
||||
|
||||
## Floors
|
||||
|
||||
| Field | Meaning | Default |
|
||||
|---|---|---|
|
||||
| `name` | Shown in the floor bar | "Floor 1", "Floor 2" … |
|
||||
| `elevation` | Height of the floor above the ground floor, in m (cellar: negative) | 2.8 m per floor |
|
||||
| `height` | Floor-to-ceiling height in m | 2.5 |
|
||||
| `rooms`, `openings`, `furniture`, `outdoor`, `walls` | Lists, see below | empty |
|
||||
|
||||
## Rooms
|
||||
|
||||
| Field | Meaning | Default |
|
||||
|---|---|---|
|
||||
| `id` | Any short text, unique on the floor | made up |
|
||||
| `name` | Room name | empty |
|
||||
| `points` | Corners `[x, z]` in m | required |
|
||||
| `area_id` | The Home Assistant area (its id, e.g. `living_room`), so the room finds its devices | none |
|
||||
| `floor_material` | `wood`, `oak`, `tiles`, `carpet`, `stone` or `concrete` | `wood` |
|
||||
| `ceiling` | Own ceiling height in m | the floor's height |
|
||||
|
||||
## Doors and windows (`openings`)
|
||||
|
||||
An opening sits on one edge of a room: edge `0` runs from the first corner to the second, edge `1` from the second to the third, and so on; the last edge runs back to the first corner.
|
||||
|
||||
| Field | Meaning | Default |
|
||||
|---|---|---|
|
||||
| `room_id` | The room whose edge it sits on | required |
|
||||
| `edge` | Index of that edge | 0 |
|
||||
| `offset` | Distance of the opening's **middle** from the edge's first corner, in m | 0.5 |
|
||||
| `type` | `door`, `window` or `garage` | `door` |
|
||||
| `width`, `height` | In m | door 0.9 × 2.05, window 1.2 × 1.3, garage 2.5 × 2.1 |
|
||||
| `sill` | Bottom of a window above the floor, in m (0 = terrace door) | window 0.9, else 0 |
|
||||
| `leaves` | `1` or `2` (double door, French window) | 1 |
|
||||
| `style` | Doors: `front`, `interior`; windows: `glass_wall` | automatic |
|
||||
|
||||
Everything else (hinge side, swing, contacts, blinds) is easiest to set afterwards in the editor: select the door or window and pick its kind at the top of its form.
|
||||
|
||||
## Furniture, free walls, outdoor areas and devices
|
||||
|
||||
All of these are optional lists on a floor.
|
||||
|
||||
**`furniture`**: a piece of the library or a pack.
|
||||
|
||||
| Field | Meaning |
|
||||
|---|---|
|
||||
| `id` | Short unique id |
|
||||
| `type` | A built-in type such as `sofa`, `bed`, `table`, `chair`, `desk`, `wardrobe`, `kitchen`, `fridge`, `bathtub`, `wc`, `washbasin`, `plant`, `rug`, `tv_board`, or `pack:<pack id>:<item id>` |
|
||||
| `x`, `z` | Centre in m, in the same plan coordinates as the rooms |
|
||||
| `w`, `d`, `h` | Width, depth and height in m |
|
||||
| `rotation` | Degrees around the vertical axis (0 = the front looks along +z) |
|
||||
| `variant` | `null` |
|
||||
| `entity` | Linked Home Assistant entity, or `null` (automatic) |
|
||||
|
||||
**`walls`** (free-standing walls, for a partition inside a room): `{ "id": "w1", "a": [x, z], "b": [x, z], "thickness": 0.1, "height": null }`. Room walls come from the room edges, so do not draw those again.
|
||||
|
||||
**`outdoor`** (lawn, terrace, path, driveway, pool, bed, hedge, fence, pergola): `{ "id": "o1", "type": "terrace", "points": [[x, z], …] }`, outside the rooms.
|
||||
|
||||
**`placements`** (a Home Assistant device on the plan): `{ "entity_id": "light.kitchen", "x": 2.0, "z": 3.0, "y": null }`.
|
||||
|
||||
Coordinates are metres, x to the right and z **down** the plan (the top left corner of the house is about `[0, 0]`). Anything the AI leaves out can be added in the editor; anything unknown is ignored when the plan is read.
|
||||
|
||||
## Other ways in
|
||||
|
||||
Besides a NextFloor plan, the import takes Sweet Home 3D (`.sh3d`), DXF, IFC and the JSON of an Apple **RoomPlan** scan (an iPhone or iPad with LiDAR, scanned with an app that exports the RoomPlan JSON): walls, doors and windows come over, a few objects become furniture.
|
||||
|
||||
## Let an AI draw it
|
||||
|
||||
Give the AI a picture of your floor plan and this prompt:
|
||||
|
||||
> Turn this floor plan into a NextFloor plan, as JSON following https://github.com/therealMRBK/NextFloor/blob/main/docs/plan-format.md. Use metres; read the scale from the dimensions in the picture. One floor object per storey. Rooms as polygons of their inner corners, touching rooms must share exact coordinates. Give every room a short id. Put every door, window and garage door into `openings` with its room, edge index and the distance of its middle from the edge's first corner. Output only the JSON.
|
||||
|
||||
Then *Editor → Backup → Import*, check the result in the editor, and fix what the AI got wrong. Drawing the plan over the picture (*Template*) is often just as fast for small houses.
|
||||
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Plan-Werkzeuge
|
||||
description: Plan prüfen, Flächen und der Plan auf Papier, Notizen, Versionen, Sicherung, Teilen und Import aus anderen Programmen.
|
||||
---
|
||||
|
||||
## Plan prüfen
|
||||
|
||||
*✓ Plan prüfen* oben in der Seitenleiste des Editors listet Etage für Etage, was fehlt oder schief ist:
|
||||
|
||||
- Räume ohne Bereich und Bereiche ohne Raum
|
||||
- noch nicht gesetzte Geräte eines Raums
|
||||
- übereinanderliegende Räume
|
||||
- Türen und Fenster neben der Wand
|
||||
- Verknüpfungen zu Entitäten, die Home Assistant nicht mehr kennt
|
||||
- Standby-Fresser, mit ihren Jahreskosten
|
||||
|
||||
Blaue Knöpfe lösen einen Fund per Tipp (Rückgängig geht wie immer), *Zeigen* öffnet die Stelle. Eine kurze Tour führt durch einen neuen Plan, und das Tastenblatt öffnet sich mit `?`.
|
||||
|
||||
## Flächen und Plan auf Papier
|
||||
|
||||
Das Raumformular zeigt die **Wohnfläche** des Raums, gerechnet wie die Wohnflächenverordnung:
|
||||
|
||||
- voll ab 2 m lichter Höhe
|
||||
- zur Hälfte zwischen 1 m und 2 m
|
||||
- darunter nicht
|
||||
|
||||
Garagen, Keller und Technikräume bleiben nach ihrem Namen draußen; *Zählt zur Wohnfläche* entscheidet es von Hand. Das Etagenformular zählt die Flächen für Etage und Haus zusammen.
|
||||
|
||||
*🖨️ Plan drucken / PDF* öffnet jede Etage in **1:100** mit Maßen und der Flächentabelle. Drucken oder im Druckdialog als PDF speichern.
|
||||
|
||||
## Notizen
|
||||
|
||||
Rechtsklick (oder langes Tippen) auf eine Stelle im Plan und *✎ Notiz hier* wählen. Text eintippen und, wenn du magst, den Tag, an dem sie fällig ist. Notizen stehen als gelbe Pins in der 3D-Ansicht ihrer Etage (orange, sobald fällig). Ein Tipp zeigt den ganzen Text, und die Suche findet sie.
|
||||
|
||||
Eine Notiz kann auch zeigen, *wo genau* etwas ist: Ihre **Höhe über dem Boden** setzt den Pin zum Beispiel unter die Kellerdecke, an das Absperrventil. Ein **Foto** (hochgeladen oder als URL) erscheint, wenn man die Notiz antippt; so sieht auch jemand, der es nie gemacht hat, wie das Ventil aussieht.
|
||||
|
||||
## Versionen
|
||||
|
||||
*📌 Stand speichern …* hält den Plan unter einem Namen fest, zum Beispiel „vor dem Umbau“. Er bleibt, wenn die automatischen Wiederherstellungspunkte gehen. *Vergleichen* an einer Version listet Etage für Etage, was sich gegenüber dem Plan jetzt unterscheidet.
|
||||
|
||||
## Sicherung und Import
|
||||
|
||||
Unter *Sicherung* im Editor:
|
||||
|
||||
| Aktion | Was sie tut |
|
||||
|---|---|
|
||||
| **Exportieren** / **Importieren** | der Plan als Datei |
|
||||
| **Als Vorlage teilen** | der Plan ohne deine persönlichen Gerätedaten |
|
||||
| **Alles sichern** | Plan, Bilder und Packs in einer Datei |
|
||||
| **Vollsicherung wiederherstellen** | holt diese Datei zurück |
|
||||
| *🔗 Ansicht teilen* | speichert das Haus als kleine HTML-Datei, die in jedem Browser ohne Home Assistant aufgeht (über die Online-Demo, ohne Geräte), zum Zeigen |
|
||||
|
||||
> [!TIP]
|
||||
> Vor größeren Änderungen sichern.
|
||||
|
||||
### Import aus anderen Programmen
|
||||
|
||||
Unter *Sicherung → Importieren*:
|
||||
|
||||
- **iPhone-Raumscan:** Ein Scan mit Apples RoomPlan lädt als Räume, Wände, Türen und Fenster.
|
||||
- **Sweet Home 3D** (`.sh3d`, ab Version 5.3): Ebenen werden Etagen, Räume werden Räume, Türen und Fenster sitzen in ihren Wänden, freie Wände bleiben frei. Möbel werden nicht übernommen.
|
||||
- **DXF** (`.dxf`, aus einem CAD-Programm): geschlossene Polylinien werden Räume, Linien freie Wände.
|
||||
- **IFC** (`.ifc`, aus Revit, ArchiCAD, Allplan …): Geschosse werden Etagen, Räume (IfcSpace) werden Räume; die Wände zeichnet NextFloor aus den Räumen.
|
||||
|
||||
Ein Plan lässt sich auch von Hand schreiben, aus einem anderen Programm umwandeln oder von einer KI aus einem Bild des Grundrisses zeichnen. Format und fertige Anweisung stehen unter [Plan-Format](plan-format.md).
|
||||
|
||||
## 3D-Druck-Export
|
||||
|
||||
*3D-Druck (STL)* in den Einstellungen der 3D-Ansicht speichert das Haus als STL-Datei im Maßstab 1:100, ein Meter wird zu 10 mm. Sie enthält Wände, Böden, Möbel und Außenflächen aller Etagen; Fenster, Licht und Dach fehlen.
|
||||
@@ -0,0 +1,144 @@
|
||||
---
|
||||
title: Ein Plugin schreiben
|
||||
description: Plugins aus dem Store installieren oder selbst schreiben: Licht-Animationen, neue Gerätearten und Raum-Abschnitte.
|
||||
---
|
||||
|
||||
Plugins erweitern NextFloor, ohne den Code zu ändern: eigene Licht-Animationen, Unterstützung für Entitäten, die NextFloor nicht kennt, und kleine Karten im Raum-Fenster. Ein Plugin ist eine JavaScript-Datei (ein ES-Modul), die `window.NextFloor.register({...})` aufruft. Installiert wird es aus dem geprüften Plugin-Store unter **Erweiterungen → Plugins** oder als eigene Datei aus dem Ordner `www`.
|
||||
|
||||
> [!NOTE]
|
||||
> Dieser technische Teil ist noch auf Englisch, damit Beispiele und Feldnamen eindeutig bleiben. Eine deutsche Fassung ist willkommen: [Mitmachen](contributing.md).
|
||||
|
||||
> [!WARNING]
|
||||
> **Trust:** a plugin runs in your browser with the same rights as NextFloor and Home Assistant's
|
||||
> frontend. Only install plugins whose source you trust.
|
||||
|
||||
## Installing a plugin
|
||||
|
||||
**From the store:** open **Extensions → Plugins → Open plugin store** and press **Install**. The store
|
||||
lists plugins that were reviewed and added through a pull request to
|
||||
[NextFloor-Plugins](https://github.com/therealMRBK/NextFloor-Plugins), where you also find how to submit your own.
|
||||
Each entry is pinned to one commit and carries the file's SHA-256, which NextFloor checks before the
|
||||
plugin runs. A newer version of a plugin shows up as **Update** in the store. Store plugins must be a
|
||||
single self-contained file, because they are run from memory after the check.
|
||||
|
||||
**Your own file:**
|
||||
|
||||
1. Put the file into Home Assistant's `www` folder, e.g. `/config/www/nextfloor/my-plugin.js`.
|
||||
2. In NextFloor open **Extensions → Plugins**, enter `/local/nextfloor/my-plugin.js` and press **Add**.
|
||||
3. The plugin loads right away. Turning a plugin off or removing it takes effect after reloading the page.
|
||||
|
||||
Allowed addresses: `/local/…` (the `www` folder), `/hacsfiles/…` (installed by HACS) and `https://…`,
|
||||
each ending in `.js` or `.mjs`. At most 20 plugins.
|
||||
|
||||
A plugin can also be loaded as a **dashboard resource** (Settings → Dashboards → Resources, type
|
||||
JavaScript module), which is how HACS installs frontend plugins. It then shows up on the Extensions
|
||||
page as "registered by a dashboard resource". Resources only load with dashboards, so for the
|
||||
sidebar panel add the plugin on the Extensions page as well.
|
||||
|
||||
## The API (version 1)
|
||||
|
||||
```js
|
||||
const plugin = {
|
||||
id: "my-plugin", // required: letters, digits, '.', '_', '-'; the same id again replaces the plugin
|
||||
name: "My plugin", // shown on the Extensions page and as the room-section title
|
||||
version: "1.0.0",
|
||||
apiVersion: 1, // required: must be 1
|
||||
|
||||
lightAnimations: { … },
|
||||
devices: [ … ],
|
||||
roomSections: [ … ],
|
||||
};
|
||||
|
||||
// works whether NextFloor loaded before or after your script
|
||||
if (window.NextFloor) window.NextFloor.register(plugin);
|
||||
else (window.__nextfloorPlugins ??= []).push(plugin);
|
||||
```
|
||||
|
||||
`register` throws when the plugin is not valid (wrong `apiVersion`, a missing function, a built-in
|
||||
animation name). Errors your functions throw later are caught; NextFloor keeps working and shows
|
||||
the error next to the plugin on the Extensions page.
|
||||
|
||||
### `lightAnimations`
|
||||
|
||||
A map from an animation name to a function `(glow, seconds) => glow`. `glow` is
|
||||
`{ color: [r, g, b], level }` with every value between 0 and 1, after the light's brightness was
|
||||
applied; `seconds` counts up while the page is open. Return a new glow; values are clamped to 0–1.
|
||||
|
||||
The names appear in a light's **Effects** settings next to the built-in Rainbow, Pulse and Flicker,
|
||||
so you can map e.g. the WLED effect "Fireworks" to your `"strobe"`. The names `none`, `rainbow`,
|
||||
`pulse` and `flicker` are taken. Keep the function cheap: it runs every frame for every lit lamp.
|
||||
|
||||
```js
|
||||
lightAnimations: {
|
||||
strobe: (glow, seconds) => ({ ...glow, level: seconds % 0.5 < 0.25 ? glow.level : 0 }),
|
||||
},
|
||||
```
|
||||
|
||||
### `devices`
|
||||
|
||||
Each entry handles the entities its `match(entityId, state)` returns `true` for:
|
||||
|
||||
| Field | What it does |
|
||||
|---|---|
|
||||
| `match(entityId, state)` | Required. Runs for every placed entity, so keep it cheap. |
|
||||
| `kind` | For entities of domains NextFloor does not know (`vacuum`, `lawn_mower`, `todo`, …): NextFloor then shows them like this kind (`light`, `switch`, `fan`, `cover`, `climate`, `media`, `lock`, `sensor`, `binary`, `scene`, `script`; default `sensor`). |
|
||||
| `marker({ hass, entityId, state })` | Returns what to change on the device's marker: `icon` (`"mdi:name"` or inline SVG), `text` (max. 60 characters), `active` (highlighted like an "on" device). Leave a field out to keep NextFloor's value. An icon picked in the plan wins over the plugin's. |
|
||||
|
||||
| `watch({ hass, entityId, state })` | Further entity ids whose changes redraw this device (e.g. a camera's motion sensor that colours its wedge). The 3D view only redraws for entities it watches. |
|
||||
| `settings` | Extra fields in the device's form in the editor (see below). The values are stored with the placement and handed to `floorWedge` and `tap`. |
|
||||
| `floorWedge({ hass, entityId, state, placement, settings })` | A field of view or range drawn flat on the floor from the device, stopping at walls. Return `{ angle, reach, near?, color?, opacity?, tapThrough? }` or `null`: `angle` in degrees (360 all around), `reach` and `near` in metres, `color` as `"#rrggbb"`, `opacity` 0–1. It points the way the device is turned (the handle in front of it in the editor). A tap on the wedge taps the device, unless `tapThrough`. |
|
||||
| `tap({ hass, entityId, state, placement, settings, showWindow, moreInfo })` | A tap on the device's marker or wedge. Return `true` when you handled it; otherwise NextFloor does its usual thing. `showWindow(node, { title })` shows a node in a small window in the lower right corner of the 3D view (`null` closes it; a node with a `hass` property gets every new hass object). `moreInfo(entityId?)` opens Home Assistant's dialog. |
|
||||
|
||||
`placement` is where the device stands: `floorId`, `roomId`, `x`, `z`, `y` (height above the floor) and `rotation` (degrees).
|
||||
|
||||
```js
|
||||
devices: [{
|
||||
match: (id) => id.startsWith("vacuum."),
|
||||
kind: "switch",
|
||||
marker: ({ state }) => ({ icon: "mdi:robot-vacuum", text: state.state, active: state.state === "cleaning" }),
|
||||
}],
|
||||
```
|
||||
|
||||
#### Device settings
|
||||
|
||||
Each entry of `settings` adds a field to the device's form, under the plugin's name:
|
||||
|
||||
```js
|
||||
settings: [
|
||||
{ key: "fov", label: { en: "Field of view (°)", de: "Blickwinkel (°)" }, type: "number", default: 90, min: 20, max: 180, step: 5 },
|
||||
{ key: "mount", label: "Mount", type: "select", default: "wall", options: [["wall", "Wall"], ["dome", "Ceiling"]] },
|
||||
{ key: "wedge", label: "Show the wedge", type: "boolean", default: true, hint: "Shown when hovering" },
|
||||
],
|
||||
```
|
||||
|
||||
`key` is 1–32 letters, digits or `_`; `type` is `number`, `select` or `boolean`. Labels, hints and option labels are
|
||||
plain text or texts by language code (English is the fallback). Your functions get `settings` with every key filled
|
||||
in: the stored value when it fits the field, the default otherwise.
|
||||
|
||||
A complete plugin with all of this: [NextFloor Cameras](https://github.com/therealMRBK/NextFloor-Plugins/blob/main/plugins/cameras/nextfloor-cameras.js)
|
||||
(field-of-view wedges, red on detection, live picture in the corner, alarm panels).
|
||||
|
||||
### `roomSections`
|
||||
|
||||
Extra blocks at the end of a room's panel, titled with the plugin's name. `render({ hass, room, entities })`
|
||||
gets the room (`id`, `name`, `area_id`) and the entities the panel lists; return a DOM node, a string,
|
||||
or `null` to show nothing in this room. It runs again whenever Home Assistant's state changes, so
|
||||
build the content fresh each time and keep it small.
|
||||
|
||||
```js
|
||||
roomSections: [{
|
||||
id: "open-windows",
|
||||
render: ({ hass, entities }) => {
|
||||
const open = entities.filter((id) => hass.states[id]?.attributes.device_class === "window" && hass.states[id]?.state === "on");
|
||||
return open.length ? `🪟 ${open.length} window(s) open` : null;
|
||||
},
|
||||
}],
|
||||
```
|
||||
|
||||
A complete example with all three: [`docs/examples/nextfloor-plugin-example.js`](https://github.com/therealMRBK/NextFloor/blob/main/docs/examples/nextfloor-plugin-example.js).
|
||||
|
||||
## Compatibility
|
||||
|
||||
The API version only changes when something breaks existing plugins; new optional fields can come
|
||||
in any release. A plugin written for another API version is refused with a message on the
|
||||
Extensions page instead of half-working.
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Schnellstart
|
||||
description: Den ersten Raum zeichnen, eine Lampe setzen und sie in der 3D-Ansicht schalten. Etwa fünfzehn Minuten.
|
||||
---
|
||||
|
||||
Am Ende dieser Seite hast du eine Etage mit einem Raum, eine Lampe, die zu einem echten Licht in Home Assistant gehört, und eine 3D-Ansicht zum Antippen. Vorbereiten musst du nur einen **Bereich** in Home Assistant mit mindestens einem Licht darin.
|
||||
|
||||
> [!TIP]
|
||||
> Lieber erst zuschauen? Das [Einrichtungsvideo](https://therealmrbk.github.io/NextFloor/tutorial/) zeichnet ein ganzes Haus von der leeren Seite an (45 Minuten, englische Stimme, Untertitel Englisch und Deutsch). Oder probiere die [Live-Demo](https://therealmrbk.github.io/NextFloor/) mit erfundenen Daten.
|
||||
|
||||
## Bevor du anfängst
|
||||
|
||||
- [NextFloor ist installiert](install.md), und du bist als Administrator angemeldet.
|
||||
- In Home Assistant gibt es den Raum schon als **Bereich** (Einstellungen → Bereiche), und ein Licht gehört dazu.
|
||||
|
||||
## Den ersten Raum zeichnen und beleuchten
|
||||
|
||||
1. **Editor öffnen.** Im Seitenleisten-Eintrag von NextFloor zum Reiter **Editor** wechseln. Die Werkzeugleiste enthält die Werkzeuge, die Seitenleiste zeigt die Auswahl, und der Hinweis unten sagt, was das aktive Werkzeug tut.
|
||||
2. **Etage anlegen.** *Etage hinzufügen* drücken. Es bietet die Etagen aus Home Assistant an (Plan und Home Assistant bleiben so verbunden) oder eine *Leere Etage*. Eine wählen.
|
||||
3. **Raum zeichnen.** Das Werkzeug *Rechteck* wählen und im Plan aufziehen. Die Ecken rasten am Raster ein.
|
||||
4. **Raum beschreiben.** In der Seitenleiste einen Namen vergeben, den **Bereich** wählen (die Verbindung zu deinen Geräten) und ein Boden-Material aussuchen.
|
||||
5. **Tür und Fenster setzen.** *Tür & Fenster* wählen, eine Wand antippen und die Art aussuchen. Breite und Position einstellen, wenn die Vorgaben nicht passen.
|
||||
6. **Einrichten.** Das Werkzeug *Möbel* wählen, den Raum antippen und rechts aus der Bibliothek ein Sofa, ein Bett oder eine Lampe wählen. Neue Stücke landen in der Raummitte; zieh sie an ihren Platz.
|
||||
7. **Dein Licht setzen.** Den Raum öffnen und zu **Geräte** scrollen. Die Geräte deines Bereichs stehen dort. Bei einem Licht auf **Platzieren** drücken: Es wird zur Lampe im Raum.
|
||||
8. **In 3D ansehen.** *3D daneben* einschalten oder den Editor verlassen und den Reiter **3D** öffnen.
|
||||
|
||||
Tippe die Lampe an: Das echte Licht schaltet. Wischen dimmt, langes Drücken öffnet die Farben.
|
||||
|
||||

|
||||
|
||||
> [!NOTE]
|
||||
> **Rückgängig** (Strg+Z) nimmt fast alles zurück. Schlägt das Speichern einmal fehl, bleiben deine Änderungen in diesem Browser, und der Editor sagt dir, warum.
|
||||
|
||||
## Wie es weitergeht
|
||||
|
||||
- Den Rest des Hauses zeichnen: [Haus zeichnen](draw.md).
|
||||
- Es wohnlich machen: [Einrichten](furnish.md).
|
||||
- Die übrigen Geräte anbinden: [Geräte verbinden](devices.md).
|
||||
- Aufs Dashboard oder ein Wandtablet bringen: [Die Dashboard-Karte](cards.md).
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
title: Tasten und Gesten
|
||||
description: Jede Taste und Geste von Editor und 3D-Ansicht an einem Ort.
|
||||
---
|
||||
|
||||
Drücke im Editor `?` für das Tastenblatt. Diese Seite listet, was die Dokumentation kennt.
|
||||
|
||||
## 3D-Ansicht
|
||||
|
||||
| Aktion | Maus | Touch |
|
||||
|---|---|---|
|
||||
| Drehen | ziehen | ziehen |
|
||||
| Zoomen | Mausrad | Zusammenziehen |
|
||||
| Verschieben | rechte Taste, ziehen | zwei Finger |
|
||||
| Lampe schalten | Pin anklicken | Pin antippen |
|
||||
| Dimmen | | auf dem Pin wischen |
|
||||
| Schnellmenü mit Farben | langer Druck | langer Druck |
|
||||
| Einen Schritt zurück | Doppelklick auf leere Fläche; auf Wunsch ein kurzer Rechtsklick | Doppeltipp auf leere Fläche |
|
||||
| Raum oder Gehmodus verlassen | `Esc` | ✕ |
|
||||
|
||||
## Durchs Haus gehen
|
||||
|
||||
| Taste | Aktion |
|
||||
|---|---|
|
||||
| `W` `A` `S` `D` oder Pfeile | gehen |
|
||||
| `Q` / `E` | drehen |
|
||||
| Mausrad | ein Schritt |
|
||||
| Stick (Tablets) | steuern |
|
||||
|
||||
## Editor
|
||||
|
||||
| Taste | Aktion |
|
||||
|---|---|
|
||||
| `Strg` + `Z` | rückgängig |
|
||||
| `Enter` | eine freie Form schließen |
|
||||
| `Esc` | die aktuelle Aktion abbrechen |
|
||||
| `Alt` | das Einrasten für einen Zug ausschalten |
|
||||
| `Umschalt` | eine freie Wand gerade halten |
|
||||
| `?` | das Tastenblatt öffnen |
|
||||
| Rechtsklick oder langes Tippen | eine [Notiz](plan-tools.md#notizen) anheften |
|
||||
|
||||
## Diese Dokumentation
|
||||
|
||||
| Taste | Aktion |
|
||||
|---|---|
|
||||
| `Strg` + `K` oder `/` | Suche |
|
||||
| `↑` `↓` `Enter` | ein Ergebnis wählen und öffnen |
|
||||
| `Esc` | die Suche schließen |
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
title: Wandtablet
|
||||
description: Kiosk-Modus, Nachtdimmen, Bildschirmschoner, gut lesbarer Modus und Qualitätseinstellungen für Tablets an der Wand.
|
||||
---
|
||||
|
||||

|
||||
|
||||
NextFloor ist für das Tablet an deiner Wand gemacht. Diese Optionen stehen im **Kiosk**-Abschnitt der Karte (siehe [Die Dashboard-Karte](cards.md)).
|
||||
|
||||
## Kiosk
|
||||
|
||||
| Option | Was sie tut |
|
||||
|---|---|
|
||||
| `idle_return` | Sekunden ohne Berührung, nach denen die Karte zur Startansicht zurückkehrt (0 = nie) |
|
||||
| `night` | nachts dimmen: `off`, `sun` (die Sonne steht unter dem Horizont) oder ein Zeitraum wie `22:00-06:00`. Farbeffekte ruhen beim Dimmen |
|
||||
| `idle_orbit` | nach der Rückkehr die Ansicht langsam von selbst drehen, bis zur nächsten Berührung: ein Bildschirmschoner |
|
||||
| `dashboard` und `dashboard_label` | ein Knopf zu einem anderen Dashboard oder einer anderen Ansicht |
|
||||
| `controls_hidden` / `controls_hide_after` | alle Leisten und Einblendungen beim Start oder nach einigen Sekunden ohne Berührung ausblenden |
|
||||
| `fullscreen_button` | ein Knopf für Vollbild |
|
||||
| `central_open` | das Sternmenü steht von Anfang an offen, eine Größe größer |
|
||||
| `keep_camera` | beim Etagenwechsel bleiben Seite, Höhe und Abstand der Kamera |
|
||||
| `room` | in einem Raum starten, für ein Display im Kinderzimmer |
|
||||
|
||||
## Gut lesbarer Modus
|
||||
|
||||
`readable: true` gibt kräftigere Kontraste und größere Schrift, für Tablets, die man aus der Ferne ansieht.
|
||||
|
||||
## Qualität
|
||||
|
||||
Die Qualität **schaltet auf langsamen Tablets von selbst herunter**. Du kannst sie auch einstellen: Auf Fire-Tablets und ähnlichen Geräten *Tablet* nutzen. Ist die Ansicht langsam, schalte auch Wetter und Stromfluss aus.
|
||||
|
||||
## Kleine Bildschirme
|
||||
|
||||
- `zoom` (0,6–2,5) holt die eingepassten Ansichten näher.
|
||||
- *🎥 Kamera behalten* vermeidet das neue Ausrichten bei jedem Etagenwechsel.
|
||||
|
||||
## Durchsagen auf dem Tablet
|
||||
|
||||
Jede offene Seite spricht Durchsagen. Mit `screen_name` bekommt das Tablet einen Namen, um es allein anzusprechen. Siehe [Durchsagen](announcements.md).
|
||||
|
||||
## Weiter
|
||||
|
||||
[Die Dashboard-Karte →](cards.md)
|
||||
@@ -0,0 +1,73 @@
|
||||
---
|
||||
title: Die 3D-Ansicht
|
||||
description: Bewegen, Geräte schalten, das Raum-Fenster und das Zentralmenü benutzen und das Aussehen einstellen: Themen, Wände, Symbole, Karten und Warnungen.
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Bewegen
|
||||
|
||||
- **Ziehen** dreht, das **Mausrad** zoomt, die **rechte Taste** oder **zwei Finger** verschieben.
|
||||
- Die Etagen- und Raumknöpfe oben fliegen die Kamera hin. *Zurück* oder Esc geht eine Ebene hoch. Auf Wunsch geht auch ein kurzer Rechtsklick zurück (Einstellung der Ansicht oder die Karten-Option `right_back`).
|
||||
- **Nur Grundriss** blendet die Möbel aus, für eine saubere Planansicht.
|
||||
|
||||
## Dinge steuern
|
||||
|
||||
- Den Pin einer Lampe **antippen** schaltet sie, **wischen** dimmt, **langer Druck** öffnet das Schnellmenü mit Farben. Ein Rollladen öffnet sein Menü.
|
||||
- Lautsprecher und Fernseher öffnen ein Schnellmenü mit Abspielen und Pause, Weiter, Lautstärke, Quellen und Voreinstellungen.
|
||||
- Eine Tür mit Smart Lock antippen schließt sie ab oder auf.
|
||||
|
||||
## Das Raum-Fenster
|
||||
|
||||
Öffne einen Raum, um sein Fenster zu bekommen:
|
||||
|
||||
- Lichter (schalten, Helligkeit, Farbtemperatur, Farbpunkte, *Alle aus*)
|
||||
- Rollläden, Medien, Sensoren
|
||||
- **Szenen** stehen oben; *+ Stimmung speichern* merkt sich die Lichter des Raums als Stimmung zum Wiederherstellen oder Übertragen auf einen anderen Raum (→)
|
||||
- die Temperatur des Raums der letzten 24 Stunden und wann gelüftet werden sollte
|
||||
|
||||
## Zentralmenü und Suche
|
||||
|
||||
- **Zentralmenü (Stern):** alle Lichter und Rollläden der Etage oder des Hauses plus deine Favoriten. *★ Menü offen* in ⚙ hält es auf diesem Gerät offen und größer. Eigene Knöpfe leuchten, solange ihre Entität an ist.
|
||||
- **Suche (Lupe):** Gerät oder Raum tippen, die Kamera fliegt hin.
|
||||
|
||||
## Aussehen
|
||||
|
||||
| Einstellung | Möglichkeiten |
|
||||
|---|---|
|
||||
| Qualität | *Auto*, *Tablet*, *Hoch* |
|
||||
| Thema | *Neon*, *Blueprint*, *Tag*, mit einer Akzentfarbe |
|
||||
| Möbelfarben | im Editor unter *Einstellungen*: eine Farbe je Material (Korpus, Holz, Stoff, Weiß, Metall, Dunkel) für das ganze Haus, auch für Möbel aus dem Möbelbauer und den Paketen. Am stärksten im Look Neon |
|
||||
| Symbole | *Keine*, *Wichtige*, *Alle* |
|
||||
| Look *Auto* | tagsüber der Tag-Look, nach Sonnenuntergang Neon |
|
||||
|
||||
**Schalter unten:** *Wände hoch / Schnitt / Schräg*, *Massiv*, *Auseinander / Gestapelt*, *Dach bleibt*, Heatmap, *Raumnamen*, *Wetter*, *Stromfluss*, *Karten*.
|
||||
|
||||
### Wände
|
||||
|
||||
- **Schräg** schneidet die Wände schräg ab, vorne halbhoch und hinten voll hoch, wie ein Puppenhaus. Die Schräge dreht mit der Kamera.
|
||||
- **Massiv** zeigt blickdichte Wände in ihren Farben statt Glas. Im geöffneten Raum werden die Wände vor der Kamera abgesenkt.
|
||||
- *Massiv* und *Schräg* lassen sich kombinieren.
|
||||
- Die Farben stellst du im Editor ein: *Einstellungen → Wandfarbe außen / innen*, pro Etage *Wandfarbe außen (diese Etage)* (ein Sockel, eine Garage) und pro Raum *Wandfarbe innen (dieser Raum)*.
|
||||
|
||||
## Karten
|
||||
|
||||
Neben Temperatur, Feuchte und CO₂ gibt es in der Kartenauswahl **Schimmel**, **Werte** und **WLAN**. Siehe [Klima und Energie](climate-energy.md).
|
||||
|
||||
## Warnungen
|
||||
|
||||
Rauch, Gas, CO, Wasser, Alarmanlage und offene Fenster bei Regen erscheinen als Banner. Ein Tipp springt in den Raum. Ein ausgelöster Alarm nennt den Sensor, der ihn ausgelöst hat, und lässt dessen Raum pulsieren. Du kannst [eigene Warnungen](devices.md#favoriten-knoepfe-und-warnungen) hinzufügen.
|
||||
|
||||
## Im Haus unterwegs
|
||||
|
||||
- **Durchs Haus gehen (🚶):** auf der geöffneten Etage in Augenhöhe. Ziehen schaut sich um, `W A S D` oder die Pfeiltasten gehen (`Q`/`E` drehen), das Mausrad macht einen Schritt, auf dem Tablet steuert der Stick unten rechts. ✕ beendet es.
|
||||
- **Zeitreise (⏪):** spielt die letzten 24 Stunden oder 7 Tage aus dem Verlauf von Home Assistant ab: Lampen, Rollläden, Türen und Fenster, Schlösser, Medien und Roboter. Die Leiste zeigt jede Änderung als Strich. Abspielen mit 1 Min., 10 Min. oder 1 Std. pro Sekunde oder an einen Zeitpunkt ziehen. *Live* kehrt zurück. **In der Vergangenheit wird nichts geschaltet.**
|
||||
- **3D-Sperre (🔒):** Drehen, Zoomen und Verschieben sind auf diesem Gerät aus, Tippen auf Geräte geht weiter.
|
||||
- **Uhr:** 🕒 in der Kopfzeile stellt eine große Uhr in eine Ecke der Ansicht.
|
||||
- **Kleine Bildschirme:** 🔍 in ⚙ holt die eingepassten Ansichten näher. *🎥 Kamera behalten* behält Seite, Höhe und Abstand beim Etagenwechsel.
|
||||
- **Heute:** Mit gewählten Kalendern listet eine Karte oben rechts die Termine des Tages und die Mülltonnen, die heute oder morgen abgeholt werden. *Tage auf der Karte „Heute“* (Haus-Einstellungen, bei den Kalendern) zeigt bis zu sieben Tage, jeder spätere Tag mit eigener Überschrift.
|
||||
- **Wettervorhersage:** In den Haus-Einstellungen unter *Wettervorhersage* 3, 5 oder 7 Tage wählen und eine Ecke (oben links oder oben rechts, dort unter *Heute*). Die Karte zeigt pro Tag das Wetter, Höchst- und Tiefstwert und den Regen (Menge oder Wahrscheinlichkeit). Sie liest die Wetter-Entität aus den Einstellungen über `weather.get_forecasts`; eine Entität ohne Tagesvorhersage zeigt keine Karte.
|
||||
|
||||
## Weiter
|
||||
|
||||
[Live-Funktionen →](live.md)
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"pageTitle": "NextFloor documentation · NextFloor",
|
||||
"desc": "Everything about NextFloor, the free 3D floor plan for Home Assistant: install, draw your home, connect devices, build cards, write plugins.",
|
||||
"title": "Draw your home once. <em>Watch it live</em> in 3D.",
|
||||
"sub": "NextFloor turns Home Assistant into a living 3D model of your house: lamps light their room, blinds move, doors open, the TV shows what plays. Free, local, no account.",
|
||||
"cta": [["Start in 15 minutes", "quickstart"], ["Try the live demo", "https://therealmrbk.github.io/NextFloor/"]],
|
||||
"shot": "view-house.jpg",
|
||||
"shotAlt": "A house in NextFloor's 3D view with lit rooms and the floors apart",
|
||||
"pathsTitle": "Start where you are",
|
||||
"pathsLead": "The documentation follows the way you actually work. Pick the door that fits today.",
|
||||
"paths": [
|
||||
{ "title": "I am new here", "text": "Install NextFloor, draw the first room, place a lamp and switch it from the 3D view. About fifteen minutes, nothing to prepare.", "href": "quickstart", "go": "Start the quick start" },
|
||||
{ "title": "I want my devices in it", "text": "Link lights, blinds, sensors, the TV, the car and the garden to the plan.", "href": "devices", "go": "Connect devices" },
|
||||
{ "title": "I want to build on it", "text": "Dashboard card, automations, plugins and your own furniture.", "href": "cards", "go": "Connect and extend" }
|
||||
],
|
||||
"tourTitle": "What you get",
|
||||
"tourLead": "Everything below is built in and free, and works with the devices you already have.",
|
||||
"tour": [
|
||||
{ "title": "A plan editor that feels like a game", "text": "Floors, rooms, curved walls, doors, windows, stairs, roofs and gardens, with the 3D model growing beside the plan while you draw. Import a scan, a CAD drawing or a Sweet Home 3D plan instead of starting from zero.", "links": [["Draw the house", "draw"], ["Import and backup", "plan-tools"]], "img": "editor.jpg", "alt": "The plan editor with the 3D view beside it" },
|
||||
{ "title": "Furnish it with 800 models, or build your own", "text": "Forty basic models and forty-three free packs, from IKEA-style sofas to picture frames with your own photos. The furniture studio and the browser builder make anything that is missing.", "links": [["Furnish", "furnish"], ["Furniture packs", "packs"]], "img": "new-furniture.jpg", "alt": "Furniture from several packs in a room" },
|
||||
{ "title": "Tap a lamp, watch the room answer", "text": "Lights glow in their real colour, blinds travel, windows and doors open, the TV shows what plays, rain falls outside. The room panel puts every device of a room in one place.", "links": [["The 3D view", "view3d"], ["Live features", "live"]], "img": "view-room.jpg", "alt": "A room in 3D with its lamps and the room panel" },
|
||||
{ "title": "Climate, sun and energy, by room", "text": "Heat maps for temperature, humidity, CO₂ and mould risk, the hours of sun per room, and the power flow along the real cable routes of your house.", "links": [["Climate and energy", "climate-energy"], ["Outside and roof", "outside"]], "img": "view-energy.jpg", "alt": "The house with the energy flow from the solar field" },
|
||||
{ "title": "Made for the wall tablet", "text": "A dashboard card with a visual editor, kiosk mode that dims at night, announcements on every screen, and quality that steps down by itself on slow hardware.", "links": [["The card", "cards"], ["Wall tablet", "tablet"]], "img": "tablet.jpg", "alt": "NextFloor on a wall tablet" }
|
||||
],
|
||||
"refsTitle": "Look something up",
|
||||
"refs": [
|
||||
{ "title": "Reference", "links": [["Card options", "cards"], ["Services and sensors", "automations"], ["Plan format (JSON)", "plan-format"], ["Keyboard and gestures", "shortcuts"]] },
|
||||
{ "title": "Extend", "links": [["Write a plugin", "plugins"], ["Furniture pack format", "packs"], ["Own 3D models", "models"]] },
|
||||
{ "title": "Get unstuck", "links": [["FAQ and troubleshooting", "faq"], ["Changelog", "changelog"], ["Contributing", "contributing"]] }
|
||||
],
|
||||
"promiseTitle": "Free forever, and the licence says so",
|
||||
"promise": [
|
||||
"Every feature, every furniture pack and every update is free for everyone. There is no Pro version, no paid add-on, no supporter pass and no licence key.",
|
||||
"Your data stays in your Home Assistant. No account, no cloud, no usage data. NextFloor is MIT licensed, so nobody can take it away, not even its author."
|
||||
],
|
||||
"stats": [["43", "furniture packs"], ["~800", "models"], ["19", "languages"], ["0", "euros, ever"]]
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
---
|
||||
title: Announcements
|
||||
description: "Dinner is ready!" in the room that should hear it: through its speaker and on every open NextFloor screen.
|
||||
---
|
||||
|
||||
*"Dinner is ready!"* – and the room that should hear it, hears it.
|
||||
|
||||
## From a room
|
||||
|
||||
When a room has a speaker, its panel has an **📢 Announcement** section. Tap a sentence or type your own, and the room's speaker says it. Your own sentences go into *Editor → Settings*, one per line.
|
||||
|
||||
## Which speaker is used
|
||||
|
||||
NextFloor picks, in this order:
|
||||
|
||||
1. the speaker chosen in the room's form
|
||||
2. a speaker placed in the room
|
||||
3. a voice assistant (Voice PE and other satellites), an Echo or a speaker of the room's area
|
||||
|
||||
A TV or a speaker that is off is never picked by itself.
|
||||
|
||||
| Speaker | How it announces |
|
||||
|---|---|
|
||||
| Voice assistants | with their chime |
|
||||
| Echo | as a real announcement (Alexa Devices or Alexa Media Player) |
|
||||
| Sonos and others that support it | lower their music and play on afterwards |
|
||||
| Any other speaker | through Home Assistant's text-to-speech |
|
||||
|
||||
## Quiet time per room
|
||||
|
||||
In the room's form, for example 20:00–07:00 for a nursery. Announcements to several rooms then leave that room out; one meant only for it still gets through.
|
||||
|
||||
## On the screens
|
||||
|
||||
Every open NextFloor page (panel or card) shows the message big over the house, plays a soft chime and speaks it. **An old wall tablet becomes an announcement speaker.**
|
||||
|
||||
- Give a screen a name under ⚙ → 📢 (for example *Hallway*) to send announcements to it alone, or untick it there to keep it silent.
|
||||
- Browsers play sound only after the page was tapped once. In Fully Kiosk, switch on *Autoplay Audio* (Web Content Settings).
|
||||
|
||||
## In automations
|
||||
|
||||
The action **NextFloor: Announcement**:
|
||||
|
||||
```yaml
|
||||
action: nextfloor.announce
|
||||
data:
|
||||
message: "Someone is at the door!"
|
||||
rooms: [Kitchen, Living room] # by name, room id or area id; leave out for every room with a speaker
|
||||
on_screens: true # the open NextFloor screens show and speak it too
|
||||
screens: [Hallway] # optional: only these screens
|
||||
```
|
||||
|
||||
| Field | Meaning |
|
||||
|---|---|
|
||||
| `message` | the text (required) |
|
||||
| `rooms` | room names, room ids or area ids; leave out for every room with a speaker |
|
||||
| `floor` | limits it to one floor |
|
||||
| `on_speakers` | `false` keeps the speakers silent |
|
||||
| `on_screens` | `false` keeps the screens quiet |
|
||||
| `screens` | only these named screens |
|
||||
| `tts_entity` | picks the voice |
|
||||
|
||||
The action returns which speaker said it and which rooms were left out, and why.
|
||||
|
||||
## Next
|
||||
|
||||
[Wall tablet →](tablet.md)
|
||||
@@ -0,0 +1,60 @@
|
||||
---
|
||||
title: Services and sensors
|
||||
description: The sensors and actions NextFloor adds to Home Assistant, with examples for notifications and announcements.
|
||||
---
|
||||
|
||||
NextFloor adds a small, stable surface to Home Assistant: two kinds of sensors and two actions.
|
||||
|
||||
## Sensors
|
||||
|
||||
On the device *NextFloor* you find:
|
||||
|
||||
| Sensor | Counts |
|
||||
|---|---|
|
||||
| *Open windows and doors* | the contacts, garage doors and device pins of the plan that are open |
|
||||
| *Lights on* | the lamps of the plan that are on |
|
||||
|
||||
There is one of each **for the house** and one **for every floor**. The attribute `entities` lists what is open or on.
|
||||
|
||||
Example: a notification when the alarm is armed while something is open:
|
||||
|
||||
```yaml
|
||||
action: notify.mobile_app_phone
|
||||
data:
|
||||
message: >
|
||||
Still open: {{ state_attr('sensor.nextfloor_open_windows_and_doors', 'entities') | join(', ') }}
|
||||
```
|
||||
|
||||
> [!TIP]
|
||||
> Look up the exact entity ids under *Settings → Devices & services → NextFloor*. They follow the names of your floors.
|
||||
|
||||
## Actions
|
||||
|
||||
### `nextfloor.announce`
|
||||
|
||||
Speaks a message in the right rooms and on the open NextFloor screens. All fields are in [Announcements](announcements.md#in-automations).
|
||||
|
||||
```yaml
|
||||
action: nextfloor.announce
|
||||
data:
|
||||
message: "Someone is at the door!"
|
||||
rooms: [Hallway]
|
||||
```
|
||||
|
||||
### `nextfloor.reload_screens`
|
||||
|
||||
Makes open NextFloor pages load again a few seconds apart, for example after an update. With `template` only the cards that use that [card template](cards.md#card-templates) reload.
|
||||
|
||||
```yaml
|
||||
action: nextfloor.reload_screens
|
||||
data:
|
||||
template: kitchen_tablet
|
||||
```
|
||||
|
||||
## Everything off
|
||||
|
||||
*⏻ Everything off* is a button in the room panel and on the floor bar, not an action. It switches off lights, switches, fans and media, and *↶ Undo* brings them back for ten seconds.
|
||||
|
||||
## Next
|
||||
|
||||
[Write a plugin →](plugins.md)
|
||||
@@ -0,0 +1,62 @@
|
||||
---
|
||||
title: Bluetooth locating
|
||||
description: Find out which room a Bluetooth tag, watch or phone is in, learned by walking through the rooms, from the Bluetooth scanners Home Assistant already has.
|
||||
---
|
||||
|
||||
NextFloor can tell **which room a Bluetooth tag is in**: a key fob, a watch, a phone. You walk through the rooms with the tag once and record each room. Afterwards a sensor in Home Assistant shows the room name, and with *Presence* the person's avatar stands in that room.
|
||||
|
||||
> [!WARNING]
|
||||
> **This feature is new and experimental.** It is built and tested with simulated signals, not yet with a long run in a real house. Radio signals bounce off walls and people, so expect a wrong room now and then, mostly next to a wall between two rooms. Tell us how it works for you in the [discussions](https://github.com/therealMRBK/NextFloor/discussions).
|
||||
|
||||
## What you need
|
||||
|
||||
The method needs **at least two Bluetooth scanners, three or more is much better**, in different rooms. A scanner is anything that Home Assistant uses to listen to Bluetooth:
|
||||
|
||||
- an **ESPHome Bluetooth proxy** (an ESP32 board, a few euros),
|
||||
- a **Shelly device** (Gen2 and newer) with Bluetooth scanning switched on: in Home Assistant open the Shelly entry, press *Configure* and set the Bluetooth scanner mode to *passive*, *active* or *auto*. Shellys in the walls make good scanners, because they sit in many rooms,
|
||||
- the **Bluetooth adapter of the server** itself.
|
||||
|
||||
With only one scanner, NextFloor can tell near from far, but not one room from the next.
|
||||
|
||||
The tag can be:
|
||||
|
||||
- a **Bluetooth tag with a fixed address** (key fobs, many fitness bands, an ESP32 beacon),
|
||||
- a **phone or watch** through Home Assistant's [Private BLE Device](https://www.home-assistant.io/integrations/private_ble_device/) integration. Phones and watches change their Bluetooth address all the time; Private BLE Device follows them with their *identity resolving key*. NextFloor then asks that integration for the current address. Getting the key from an iPhone takes some effort, and the integration's page explains how.
|
||||
|
||||
## Set it up
|
||||
|
||||
1. In the editor, open **Settings → Bluetooth locating**.
|
||||
2. Under *Add a tag or device*, pick your tag. Phones and watches from Private BLE Device are listed first. A tag only appears in the list once a scanner has heard it, so hold it near a scanner and press *Reload the list*.
|
||||
3. Press **Add**, then **Learn rooms** on the new tag. The bars show how strongly every scanner hears the tag right now.
|
||||
4. Pick a room, press **Record** and walk slowly through the whole room for 30 seconds with the tag in your hand, into the corners too.
|
||||
5. Repeat for every room in which you want to locate the tag. **Now** shows the room NextFloor would answer at this moment, a good check after each room.
|
||||
|
||||
Recording a room again replaces it. Each room is kept as up to three recordings from different stretches of your walk.
|
||||
|
||||
## The sensor
|
||||
|
||||
Every tag gets a sensor on the device *NextFloor*. Its **state is the room name**, or `unknown` when no room fits well or no scanner has heard the tag for two minutes. The attributes carry the room id, the floor, how well the room matched (`distance_db`) and what each scanner hears.
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
- alias: "Lights follow me"
|
||||
triggers:
|
||||
- trigger: state
|
||||
entity_id: sensor.nextfloor_keys
|
||||
to: "Kitchen"
|
||||
actions:
|
||||
- action: light.turn_on
|
||||
target:
|
||||
area_id: kitchen
|
||||
```
|
||||
|
||||
The room only changes after three readings in a row (about six seconds), so the answer does not flicker. To show the person in 3D, choose the sensor as the room sensor of that person under **Presence**: its state is a room name, as Presence expects.
|
||||
|
||||
## How it works, and what it does not do
|
||||
|
||||
NextFloor reads the signal strength (RSSI) that each scanner reports for the tag, a few seconds apart, and takes the median of the last five readings. It compares that pattern with the recordings of every room and picks the nearest. A room is only answered when it is close enough; otherwise the answer is `unknown`.
|
||||
|
||||
- Nothing leaves Home Assistant. The recordings are stored with the plan, but **not** in shared plans and templates.
|
||||
- The scanners must keep their place. If you move a proxy, record the rooms again.
|
||||
- A person's body weakens the signal. Record with the tag where you normally carry it (pocket or hand).
|
||||
- Different tags hear differently, so each tag needs its own recordings.
|
||||
@@ -0,0 +1,119 @@
|
||||
---
|
||||
title: The dashboard card
|
||||
description: Add the NextFloor card to any dashboard, with a visual editor, card templates and a complete list of every option.
|
||||
---
|
||||
|
||||

|
||||
|
||||
Add **NextFloor** in the dashboard's card dialog, or write it in YAML:
|
||||
|
||||
```yaml
|
||||
type: custom:nextfloor-card
|
||||
floor: ground
|
||||
theme: neon
|
||||
room_buttons: true
|
||||
```
|
||||
|
||||
The **visual editor** sets everything below without YAML. The YAML names are the ones in this reference. Every option is optional, and the defaults are shown in the tables.
|
||||
|
||||
## Card templates
|
||||
|
||||
Set a card up once and use it on many tablets. *Settings → Card templates* in the editor takes a name (say `kitchen_tablet`) and the card's own settings dialog. On a dashboard card, choose the template in its settings or write:
|
||||
|
||||
```yaml
|
||||
type: custom:nextfloor-card
|
||||
template: kitchen_tablet
|
||||
```
|
||||
|
||||
The card's own options win. A change in the editor reaches every card that uses the template. *Reload screens with this template* and *Reload all screens* (also the action `nextfloor.reload_screens`, with an optional `template`) make the open tablets load their page again a few seconds apart, for example after an update.
|
||||
|
||||
## What the card shows
|
||||
|
||||
| Option | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `floor` | | start floor |
|
||||
| `room` | | start in this room (its id from the editor), for a display of one room |
|
||||
| `rooms` | | only these rooms (a list of ids) with what stands in them; the card cannot leave them |
|
||||
| `height` | | fixed height of the card |
|
||||
| `fill` | `false` | fill the screen below the dashboard header instead of a fixed height |
|
||||
| `plain` | `false` | floor plan only: no furniture (devices and their pins stay) |
|
||||
| `floor_stack` | `dim` | an opened floor with the floors below dimmed (`dim`), stacked (`stacked`) or alone (`single`) |
|
||||
| `explode` | `true` | pull the floors apart in the house view |
|
||||
| `roof_fade` | `true` | the roof lifts and fades while you zoom in |
|
||||
| `room_names` | `true` | room names in 3D |
|
||||
| `energy` | `true` | energy values at the top |
|
||||
| `sensor_bar` | `true` | the plan's own sensors at the top |
|
||||
| `weather` | `true` | rain, snow, fog, clouds, sun and moon outside the house |
|
||||
| `weather_entity` | first one | the weather entity to use |
|
||||
| `weather_density` | `1` | how much rain, hail and snow falls, 0.1 … 1 |
|
||||
| `today` | `true` | the *Today* card with appointments and bins |
|
||||
|
||||
## Look
|
||||
|
||||
| Option | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `theme` | `auto` | `neon`, `blueprint`, `day` |
|
||||
| `accent` | cyan | accent colour as `#rrggbb` |
|
||||
| `furniture_colors` | the house's | this card's own furniture colours, e.g. `{body: "#3a2a1a", fabric: "#552233"}`; roles: `body`, `wood`, `fabric`, `white`, `metal`, `dark` |
|
||||
| `walls` | | wall mode of the view |
|
||||
| `solid_walls` | `false` | opaque walls in their paint instead of glass |
|
||||
| `glass_walls` | `20` | how opaque the see-through walls are, 0 … 100 % |
|
||||
| `quality` | auto | `auto`, `tablet`, `high` |
|
||||
| `markers` | `important` | `none`, `important`, `all` |
|
||||
| `markers_outside` | | outside the opened room only markers of these kinds show |
|
||||
| `marker_names` | `false` | every device with an own name shows it under its marker |
|
||||
| `heatmap` | `none` | `none`, `temperature`, `humidity`, `co2` |
|
||||
| `clock` | `none` | `top_left`, `top_right`, `bottom_left`, `bottom_right` |
|
||||
| `readable` | `false` | stronger contrast and larger text, for wall tablets |
|
||||
| `zoom` | `1` | how much closer the fitted views come, 0.6 … 2.5 |
|
||||
| `stats` | `false` | show frames per second and draw calls |
|
||||
|
||||
## Controls and behaviour
|
||||
|
||||
| Option | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `controls` | | switches in the card: all (`true`) or a list of `walls`, `floors`, `temperature`, `humidity`, `co2` |
|
||||
| `controls_hidden` | | start with every bar and overlay hidden (the eye button brings them back) |
|
||||
| `controls_hide_after` | | hide every bar after this many seconds without a touch |
|
||||
| `room_panel` | `true` | tapping a room opens its details |
|
||||
| `room_buttons` | `false` | a row of buttons, one per room |
|
||||
| `floor_thumbs` | on without a start floor | small pictures of the floors to switch between them |
|
||||
| `central` | `true` | the star with the central menu |
|
||||
| `central_open` | `false` | the star menu stands open from the start, a size larger |
|
||||
| `buttons` | | own buttons in the central menu: `label`, `icon`, `action` (`navigate`, `more_info`, `service`, `fire_dom_event`), `target`, `data` |
|
||||
| `scenes` | `true` | scene and script chips of the selected room |
|
||||
| `tap_in_room` | `false` | devices are switched by a tap only in the opened room; elsewhere a tap opens the floor or room (a long press still acts) |
|
||||
| `room_double_tap` | `auto` | what a double tap on a room switches: `auto`, `area`, `plan`, `off` |
|
||||
| `keep_camera` | `false` | switching floors keeps the camera's side, height and distance |
|
||||
| `right_back` | `false` | a short right click goes one step back |
|
||||
| `start_view` | plan's | a start view of this card's own |
|
||||
| `lock_button` | `true` | the 🔒 button that locks the camera |
|
||||
| `walk_button` | `true` | the 🚶 button for walking through the house |
|
||||
| `time_travel` | `true` | the ⏪ button for replaying the last day or week |
|
||||
| `fullscreen_button` | `false` | a button for full screen |
|
||||
| `dashboard`, `dashboard_label` | | a button to another dashboard or view |
|
||||
| `flows` | switch | power flow lines always on or off |
|
||||
| `holograms` | switch | the live cards (energy balance, car, media) always on or off |
|
||||
|
||||
## Warnings and announcements
|
||||
|
||||
| Option | Default | Meaning |
|
||||
|---|---|---|
|
||||
| `alerts` | `true` | smoke, water, alarm and window-in-the-rain warnings as pulsing rooms and a banner |
|
||||
| `alert_jump` | `false` | jump to the room of a new warning |
|
||||
| `announcements` | `true` | announcements show and speak on this card |
|
||||
| `screen_name` | panel's name | the name of this screen, for announcements meant for some screens only |
|
||||
|
||||
## Kiosk
|
||||
|
||||
| Option | Meaning |
|
||||
|---|---|
|
||||
| `idle_return` | seconds without a touch before returning to the start view (0 = never) |
|
||||
| `night` | dim at night: `off`, `sun` or a range such as `22:00-06:00` |
|
||||
| `idle_orbit` | after the idle return, turn the view slowly until the next touch |
|
||||
|
||||
More in [Wall tablet](tablet.md).
|
||||
|
||||
## Next
|
||||
|
||||
[Services and sensors →](automations.md)
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
title: Changelog
|
||||
description: Everything that changed in every NextFloor release, newest first.
|
||||
generated: changelog
|
||||
---
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: Climate and energy
|
||||
description: Heat maps for temperature, humidity, CO₂ and mould risk, hours of sun and power per room, the Wi-Fi map, and the energy flow of your house.
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Heat maps
|
||||
|
||||
The map selector in the 3D view colours every room by a value. Besides **Temperature**, **Humidity** and **CO₂** there are:
|
||||
|
||||
| Map | What it shows |
|
||||
|---|---|
|
||||
| **Mould** | the risk at each room's coldest wall, with a comfort score |
|
||||
| **Values** | the numbers per room, with airing hints |
|
||||
| **Wi-Fi** | each access point's reach on the floor, its devices, and which network devices are offline |
|
||||
| **Sun** | the hours of sun each room gets today through its windows |
|
||||
| **Power** | what each room draws right now |
|
||||
|
||||
The temperature scale is a summer scale from May to September and a winter scale otherwise.
|
||||
|
||||
> [!NOTE]
|
||||
> The **sun hours** are worked out from the plan itself: its windows, the compass and the sun's path. Set the [compass](outside.md#compass-and-map) before you trust them.
|
||||
|
||||
## In the room panel
|
||||
|
||||
- The room's **temperature over the last 24 hours** and when to air it.
|
||||
- Today's and this month's **kWh and cost** for the room.
|
||||
- The **sun over the year**, a **shade hint** when the sun heats the room, and a hint when a window stands open while the heating runs.
|
||||
- **Low batteries** and **lights left on in empty rooms** are collected as hints.
|
||||
- **Underfloor heating** glows on the floor of rooms where you named its thermostat, valve or switch.
|
||||
|
||||
## Energy
|
||||
|
||||
The energy features need a **solar field**, a **meter** and an **inverter**. Battery and grid connection are optional. Setup is in [Outside, roof and energy](outside.md#energy).
|
||||
|
||||
- **Power flow:** particles run from the solar modules to the inverter, the house, the battery and the grid, along the real [cable routes](outside.md#energy) you drew. A glass card shows the balance and your self-sufficiency; the small button in its corner folds it down to the ring and the solar power (on phones and desktops alike, the browser remembers it).
|
||||
- **Battery:** a home battery shows its charge on its front.
|
||||
- **Meters:** gas and water meters add their readings to the balance.
|
||||
- **Floor meter:** a power sensor per floor shows its value on the floor label and its share of the house.
|
||||
- **House card:** the energy card over the roof shows the last 24 hours as a curve (solar as an area, consumption as a line) and the last **seven days** as bars. It also stays above an opened floor.
|
||||
- **Standby eaters:** the plan check lists devices that draw power while idle, with their yearly cost.
|
||||
|
||||
## Next
|
||||
|
||||
[Household and pets →](household.md)
|
||||
@@ -0,0 +1,53 @@
|
||||
---
|
||||
title: How NextFloor works
|
||||
description: The ideas behind NextFloor in five minutes: plan, areas, entities, the 3D view and what is stored where.
|
||||
---
|
||||
|
||||
NextFloor has a small number of ideas. Once you know them, every other page of this documentation is easy to place.
|
||||
|
||||
## The plan is the centre
|
||||
|
||||
You draw your home once, as a **plan**: floors, rooms, walls, doors, windows, stairs, roofs, outdoor areas and furniture. Everything else is made from the plan. The 3D view, the room panel, the heat maps, the dashboard card and the printed floor plan are different ways of looking at the same data.
|
||||
|
||||
## Areas link rooms to devices
|
||||
|
||||
A **room** in NextFloor points at an **area** of Home Assistant. That is how NextFloor knows which devices belong where. When you open a room's form, the *Devices* section lists the devices of that area, and you place the ones you want on the plan.
|
||||
|
||||
Devices without an area, or from another area, are still reachable through the *Other areas* and *No area* tabs.
|
||||
|
||||
## Placing a device never switches it
|
||||
|
||||
Placing a lamp, linking a blind or choosing an entity only tells NextFloor *what a picture stands for*. NextFloor never switches anything by assigning it. It reads the live state of the entity, and only a tap in the 3D view sends a command.
|
||||
|
||||
## Furniture is the face of a device
|
||||
|
||||
A piece of furniture is a 3D model. Some pieces are **electric** (a lamp, a TV, a washing machine) and can be linked to an entity; the model then shows the state: the lamp glows, the TV shows the running app, the washer shows the minutes left. Other pieces are decoration.
|
||||
|
||||
## One plan, several views
|
||||
|
||||
| View | What it is for |
|
||||
|---|---|
|
||||
| **3D view** | The house as a model. Tap, swipe and long-press to control things. |
|
||||
| **Room panel** | Every device of one room in one list, with scenes and quick menus. |
|
||||
| **Editor** | Where you draw and link. Administrators only. |
|
||||
| **Dashboard card** | The 3D view as a card, for any dashboard or wall tablet. |
|
||||
| **Plan on paper** | Each floor at 1:100 with measurements and a table of areas. |
|
||||
|
||||
## What is stored where
|
||||
|
||||
| Data | Where |
|
||||
|---|---|
|
||||
| The plan, its pictures, your furniture packs | Home Assistant's `.storage` folder, on your installation |
|
||||
| Plugins and extra models | Your Home Assistant, `www` folder or the store |
|
||||
| Map tiles (only if you switch the real map on) | Loaded by your browser straight from the map server |
|
||||
| Anything else | Nowhere. There is no account, no cloud and no usage data |
|
||||
|
||||
## What NextFloor adds to Home Assistant
|
||||
|
||||
- A sidebar panel and the card `custom:nextfloor-card`.
|
||||
- Sensors for open windows and doors and for lights on. See [Services and sensors](automations.md).
|
||||
- Actions such as `nextfloor.announce`. See [Announcements](announcements.md).
|
||||
|
||||
## Next
|
||||
|
||||
[Draw the house →](draw.md)
|
||||
@@ -0,0 +1,55 @@
|
||||
---
|
||||
title: Contributing
|
||||
description: How to report a bug, add a translation, build furniture or send a pull request.
|
||||
---
|
||||
|
||||
NextFloor is free and open source out of conviction. Whatever you add belongs to everyone, under the MIT licence.
|
||||
|
||||
## Ideas and bugs
|
||||
|
||||
- **Ideas and questions:** [Discussions](https://github.com/therealMRBK/NextFloor/discussions).
|
||||
- **Bugs:** [Issues](https://github.com/therealMRBK/NextFloor/issues/new/choose). Include the version, what you did, what you expected and what you saw. A screenshot helps.
|
||||
- **Security problems** go through [private reporting](https://github.com/therealMRBK/NextFloor/security/advisories/new), never a public issue.
|
||||
|
||||
## Translations
|
||||
|
||||
German and English are built in. Further languages are files in `frontend/lang/<code>.json`, with the keys of `frontend/src/i18n.ts`. They are fetched only when Home Assistant runs in that language, and a key a file lacks falls back to English. A pull request that completes a language is very welcome. This documentation also exists in German and English: the Markdown sources are in `docs/content/en` and `docs/content/de`.
|
||||
|
||||
## Furniture and plugins
|
||||
|
||||
- **Furniture:** build it in the [browser builder](https://therealmrbk.github.io/NextFloor/builder/) and share it in the community store. See [Furniture packs](packs.md). Please use only sizes and shapes you made yourself.
|
||||
- **Plugins:** see [Write a plugin](plugins.md) and the [plugin store](https://github.com/therealMRBK/NextFloor-Plugins).
|
||||
- **3D models you own** stay on your own Home Assistant and never go into the repository. See [Your own 3D models](models.md).
|
||||
|
||||
## Before a pull request
|
||||
|
||||
```bash
|
||||
cd frontend
|
||||
npm install
|
||||
npm run typecheck
|
||||
npm test
|
||||
npm run build # the built bundles are committed; CI fails when they are stale
|
||||
cd ..
|
||||
ruff check . && ruff format --check .
|
||||
pytest -q # the Home Assistant side
|
||||
```
|
||||
|
||||
- Keep a change small and say what it is for.
|
||||
- Commit messages follow Conventional Commits: `feat:`, `fix:`, `docs:`, `build:`, `test:`.
|
||||
- Every change users notice goes into `CHANGELOG.md` under **Unreleased**, in the same commit.
|
||||
- Work happens on `dev`; `main` is what HACS users receive and moves with releases.
|
||||
|
||||
The full guide is [CONTRIBUTING.md](https://github.com/therealMRBK/NextFloor/blob/main/CONTRIBUTING.md).
|
||||
|
||||
## Building this documentation
|
||||
|
||||
The site is built from `docs/content` by `tools/docs`:
|
||||
|
||||
```bash
|
||||
cd tools/docs
|
||||
npm install
|
||||
npm run build # writes tools/docs/dist
|
||||
npm run check # fails on broken links, missing images or a page that exists in only one language
|
||||
```
|
||||
|
||||
Every page exists in English and German. Callouts use `> [!NOTE]`, `> [!TIP]`, `> [!WARNING]` and `> [!IMPORTANT]`. A numbered list with three or more items becomes a step list.
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
title: Connect devices
|
||||
description: Link lights, blinds, TVs, printers, the car, pets and more to the plan. Favourites, own buttons and own warnings.
|
||||
---
|
||||
|
||||
In a room's form, the **Devices** section lists the Home Assistant devices of that room's area. Tabs: *This area*, *Other areas* and *No area*; search by name.
|
||||
|
||||
Each row has an eye (hide it from the 3D room panel), *Aa* (an own name), a star (add it to the room panel without placing it) and *Place*.
|
||||
|
||||
> [!NOTE]
|
||||
> Entity fields are searchable: type part of a name and pick. **NextFloor never switches anything by assigning it.**
|
||||
|
||||
## Lights
|
||||
|
||||
Placing a light turns it into a lamp. The lamp's form has these options:
|
||||
|
||||
| Option | What it does |
|
||||
|---|---|
|
||||
| *Light or switch* | names the light that belongs to the lamp |
|
||||
| *Colour and brightness from* | for bulbs switched by a relay and dimmed elsewhere |
|
||||
| *Glow in 3D* | scales the glow |
|
||||
| *Ask before switching* | protects against accidental taps |
|
||||
| *Marker in 3D* | decides about the pin above the lamp |
|
||||
|
||||
**Lamps with several bulbs:** *Bulb 2, 3 …* adds a night light or ambient ring of the same fixture. The lamp glows with them while its main light is off.
|
||||
|
||||
**Light programs:** under *Effect animations in 3D* you map every exact effect name Home Assistant reports to a look: *Static*, *Rainbow*, *Pulse* or *Flicker*. Unmapped effects stay static, because an effect name is only the name of a program. The mapping is stored with the plan and never writes to Home Assistant.
|
||||
|
||||
## Electric furniture
|
||||
|
||||
Furniture such as a TV, a fridge or a washer finds its entity in the same area by itself (*Automatic*). Technical devices (inverter, battery, PC …) also take a temperature sensor as *Device temperature*: its value shows on the pin, from 60 °C the pin is highlighted.
|
||||
|
||||
- **TVs** show the colour and title of the running app. *Glow behind the TV* sets or switches off the ambilight.
|
||||
- A **power sensor** shows the watts. Every electric piece shows its draw beside its state, and its status lights glow while it runs.
|
||||
- **Washer, dryer, dishwasher:** with a remaining-time sensor, the pin says "25 min left".
|
||||
|
||||
## Blinds
|
||||
|
||||
A window's *Kind of blind* is a roller shutter outside, a venetian blind whose slats follow the tilt, or a roller blind inside.
|
||||
|
||||
- *Second blind* covers the right half of a wide window.
|
||||
- *Favourite position "My"* adds a **My** button to the blind's quick menu (for example Somfy).
|
||||
- Roof windows take a blind and contacts too. See [Outside, roof and energy](outside.md).
|
||||
|
||||
## Doors, locks and gates
|
||||
|
||||
A door takes a **smart lock**: tap the door to lock or unlock, and it glows while unlocked. **Gates** in fences open in 3D after the state of an entity or contact you choose. See [Outside, roof and energy](outside.md#gates-in-fences).
|
||||
|
||||
## Printer, heat pump, car
|
||||
|
||||
- **3D printer and heat pump:** link the printer or heat pump from the packs to any entity of its device. A live card shows the print (picture, progress, time left, layer, temperatures, filaments, and the print grows on the bed) or the heat pump (mode, flow and return, power, heat, COP).
|
||||
- **Car (parking spot):** from the library section *Parking*. *Vehicle* picks the model, *Sensor "car present"* decides when it shows, and through any entity of the car NextFloor finds charge, range, plug, lock and climate on the car's device. Without a sensor the vehicle is always shown.
|
||||
|
||||
## Garden and pets
|
||||
|
||||
- **Robot mower:** a mower or dock from *Garden 2* linked to a `lawn_mower` mows lanes over its lawn while it mows.
|
||||
- **Robot vacuum:** a `robot_vacuum` on the plan can show its real position and track. See [Robot vacuum on the plan](live.md#robot-vacuum-on-the-plan).
|
||||
- **Pets:** a pet's *Room sensor* (Bermuda, ESPresense) lets it roam the room it really is in.
|
||||
- More: [Household and pets](household.md).
|
||||
|
||||
## Presence: people in their rooms
|
||||
|
||||
*House settings → Presence* lists every `person`. Pick a **room sensor** (ESPresense, Bermuda or similar, whose state is the room name) and, while the person is home, their avatar with the Home Assistant picture stands in that room. People are counted per floor in the house view.
|
||||
|
||||
- **Default room:** every person can have a default room. While they are home and no room sensor names a room, they stand there, so a room sensor is not required.
|
||||
- **Another entity:** below the list, add an input helper, a device tracker or a binary sensor. It counts as home while its state is `on` or `home`.
|
||||
|
||||
## Favourites, buttons and warnings
|
||||
|
||||
**Favourites and own buttons** (Settings, *Favourites*): scenes, scripts, automations, switches and buttons for the central menu. Own buttons open a dashboard path, entity details, a service call or a browser_mod popup. *Station or playlist* adds speaker presets, and a preset can be kept to some speakers.
|
||||
|
||||
**Own warnings** turn any entity into a line in the warning bar. Match a state, several states separated by commas, or a number with `<20` or `>80`, and give a text, a room and a colour.
|
||||
|
||||
**Calendars for "Today"** fill the *Today* card.
|
||||
|
||||
## Next
|
||||
|
||||
[Outside, roof and energy →](outside.md)
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
title: Draw the house
|
||||
description: Floors, rooms, walls, doors, windows, stairs and templates in the NextFloor plan editor.
|
||||
---
|
||||
|
||||
Open the **Editor** tab (administrators only). The toolbar holds the tools, the side panel always shows what is selected, and the hint at the bottom names what the active tool does. **Undo** (Ctrl+Z) takes back almost everything.
|
||||
|
||||

|
||||
|
||||
## Floors
|
||||
|
||||
*Add floor* offers the floors of Home Assistant, which keeps plan and Home Assistant connected, or an *Empty floor*. The floor form sets the name, the elevation, the ceiling height and the Home Assistant floor.
|
||||
|
||||
- *Shift* and *Turn 90°* move or turn the whole floor; *Take all floors along* applies it to the whole house.
|
||||
- *Create rooms from HA areas* places one room per area as a starting point.
|
||||
- *Duplicate floor* puts a copy on top of the house, optionally with furniture, device pins and outdoor areas. The copy is detached from Home Assistant and set up for the new storey.
|
||||
- *Close gaps* in the floor form joins hairline gaps between rooms.
|
||||
|
||||
## Rooms
|
||||
|
||||
- **Rectangle:** drag.
|
||||
- **Free shape:** place the corners, close the shape by tapping the first corner or pressing Enter. Esc cancels.
|
||||
- Corners snap to the grid and to existing walls. Hold **Alt** to switch snapping off for one move.
|
||||
|
||||
Describe each room in the side panel: name, **Area** (the link to your Home Assistant devices) and **Floor** material. Position and size can be typed. Drag a corner handle to reshape the room; the **+** on an edge adds a corner. A rectangular room shows its inside size from wall to wall.
|
||||
|
||||
> [!TIP]
|
||||
> **+ Area within the room** adds Home Assistant areas that are part of the room but have no walls of their own, such as a reading corner or a kitchenette. Their devices then belong to the room.
|
||||
|
||||
*Underfloor heating* names the thermostat, valve or switch whose heating makes the floor glow.
|
||||
|
||||
## Walls
|
||||
|
||||
Walls come from the room edges. Each edge has a height, a thickness, a scissors button that splits it into parts, and *No wall* for open edges.
|
||||
|
||||
- A lower height makes a parapet or a counter.
|
||||
- A split edge can have its own thickness on every part.
|
||||
- **Free-standing walls** use the *Wall* tool. Hold Shift to keep them straight.
|
||||
- **◠ Arc** on an edge, or on a free wall, opens the *Bulge* field: enter how far the middle bulges (negative bulges into the room), then press *Bend*. A neighbouring room along the whole wall bends with it, and doors and windows move along. A room that touches only part of the wall, or a free wall on it, stays straight. If a door or window is too wide for a deep arc, the wall does not bend and a note says why.
|
||||
- **Sloping free walls** have a height at each end for gables, ramps and sloping parapets.
|
||||
|
||||
## Doors and windows
|
||||
|
||||
Choose *Doors & windows*, tap a wall and pick the kind: door, front door, double door, window, double window, terrace door, French doors, garage door or glass wall. Set the width, the position from the corner, the sill and the height, and swap the hinge side or opening direction. The style *Automatic* picks a front door outside and a room door inside.
|
||||
|
||||
More on doors and windows lives in [Outside, roof and energy](outside.md#doors-and-windows-more) (smart locks, light wells) and in [Connect devices](devices.md#blinds) (blinds).
|
||||
|
||||
## Stairs and openings
|
||||
|
||||
The *Stairs* tool draws a stair where you drag; it runs along the long side.
|
||||
|
||||
| Setting | Options |
|
||||
|---|---|
|
||||
| Shape | straight, quarter turn, L with landing, half turn, U with landing, spiral |
|
||||
| Direction | turns left or right |
|
||||
| Build | solid, stringers, spine, cantilever; with or without risers and railing |
|
||||
|
||||
The rise comes from the floor height, and the form shows rise, tread and step length and warns about uncomfortable measures. *Leads down* makes a descent to a cellar that does not need to be drawn.
|
||||
|
||||
A stair opens the ceiling only where less than 2.2 m of headroom remains above the steps. The stairs from the *Stairs & railings* pack cut out their whole footprint. **Floor opening** cuts any other hole, for a gallery or a shaft.
|
||||
|
||||
## Template: trace a floor plan image
|
||||
|
||||
*Template (floor plan image)* puts a picture behind the plan. Move, scale, turn and straighten it, set the scale from a length you know, then trace it. For a scan or CAD file you can also [import it directly](plan-tools.md#import-from-other-programs).
|
||||
|
||||
## Lock
|
||||
|
||||
The *Floor plan* lock stops rooms, walls, openings and outdoor areas from moving by accident. Single pieces can be fixed with *Fix*.
|
||||
|
||||
## Useful switches
|
||||
|
||||
- **3D beside** shows the 3D model next to the plan while you draw.
|
||||
- *View as this floor's / room's start* remembers the current 3D camera for later.
|
||||
- **Right-click** (or long-press) a spot to pin a [note](plan-tools.md#notes).
|
||||
|
||||
## Next
|
||||
|
||||
[Furnish →](furnish.md)
|
||||
@@ -0,0 +1,78 @@
|
||||
---
|
||||
title: FAQ and troubleshooting
|
||||
description: Answers to the questions people ask most, and fixes for the problems people run into.
|
||||
---
|
||||
|
||||
## Questions
|
||||
|
||||
### Is NextFloor really free?
|
||||
|
||||
Yes, for good. Every feature, every furniture pack and every update is free. There is no Pro version, no paid add-on, no supporter pass and no licence key, and the MIT licence means nobody can take it away.
|
||||
|
||||
### Does it need a cloud or an account?
|
||||
|
||||
No. The plan, its pictures and the packs are stored on your Home Assistant. The only thing that can leave your installation is the map tiles, and only if you switch the real map on.
|
||||
|
||||
### Is it in the official Home Assistant integrations, without HACS?
|
||||
|
||||
No. NextFloor is in the **official HACS store**. The built-in integration list of Home Assistant is a separate process with its own rules (a published device library, a bundled frontend that fits Core's rules, a monthly release rhythm), and it does not suit a plan editor with its own frontend and fast fixes.
|
||||
|
||||
### Which Home Assistant version do I need?
|
||||
|
||||
2025.1 or newer.
|
||||
|
||||
### Can I switch things from NextFloor by accident while drawing?
|
||||
|
||||
No. In the editor, placing or linking a device never switches it. In the 3D view, a tap switches; *Ask before switching* on a lamp protects against accidental taps, and the 🔒 button locks the camera.
|
||||
|
||||
### Can several people use it?
|
||||
|
||||
Everyone with access to Home Assistant can use the 3D view and the card. Only administrators see the editor and save changes.
|
||||
|
||||
### Can I have several floor plans in one installation?
|
||||
|
||||
Not yet. One plan per installation is how NextFloor works today; the idea is being discussed in the [discussions](https://github.com/therealMRBK/NextFloor/discussions).
|
||||
|
||||
### I do not have the furniture I need.
|
||||
|
||||
Build it in the [furniture studio](furnish.md#the-furniture-studio) or the [browser builder](https://therealmrbk.github.io/NextFloor/builder/), or look in **Extensions → Community furniture**.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### A device is missing from the room
|
||||
|
||||
The room needs an **area**, and the device must belong to it (device or entity). Otherwise use the *Other areas* or *No area* tabs.
|
||||
|
||||
### The panel looks old after an update
|
||||
|
||||
Reload the browser tab. On the companion app, reset the frontend cache and close the app completely. **A restart of Home Assistant does not help for this.**
|
||||
|
||||
### Furniture shows as grey boxes
|
||||
|
||||
Its pack is not installed. Import it again under *Extensions → Furniture packs*, and everything is back.
|
||||
|
||||
### The car does not appear
|
||||
|
||||
Check the *Sensor "car present"*. Without a sensor the vehicle is always shown.
|
||||
|
||||
### The solar field lands on the wrong roof side
|
||||
|
||||
Check the [compass](outside.md#compass-and-map) in Settings. If north and south are swapped, use *Swap north ↔ south*.
|
||||
|
||||
### It is slow on a tablet
|
||||
|
||||
Set the quality to *Tablet* and switch weather and power flow off. See [Wall tablet](tablet.md).
|
||||
|
||||
### Saving fails
|
||||
|
||||
Only administrators can save. The message names the field Home Assistant rejected, and your changes stay in the browser until you can save. After an update, Home Assistant may need a restart before saving works again.
|
||||
|
||||
### Announcements make no sound on the tablet
|
||||
|
||||
Browsers play sound only after the page was tapped once. In Fully Kiosk, switch on *Autoplay Audio*.
|
||||
|
||||
## Still stuck?
|
||||
|
||||
- Ideas and questions: [Discussions](https://github.com/therealMRBK/NextFloor/discussions)
|
||||
- Bugs: [Issues](https://github.com/therealMRBK/NextFloor/issues/new/choose), with the version, what you did and what you saw
|
||||
- Security: [private report](https://github.com/therealMRBK/NextFloor/security/advisories/new), never a public issue
|
||||
@@ -0,0 +1,85 @@
|
||||
---
|
||||
title: Furnish
|
||||
description: The furniture library, packs, the furniture studio, resizing, tilting and special pieces such as sofas, picture frames and light switches.
|
||||
---
|
||||
|
||||
Choose the *Furniture* tool, tap a room, and pick from the library on the right. New pieces appear in the middle of the room.
|
||||
|
||||

|
||||
|
||||
## The library
|
||||
|
||||
- It has sections (lights, living, dining, kitchen, sleeping, bath, work, parking) followed by the **furniture packs**. NextFloor ships 40 basic models and 43 packs with about 800 more.
|
||||
- The **search** finds German and English names, pack names and several words in any order.
|
||||
- Furniture is sorted by kind (seating, beds, kitchen …) with a picture and its size. A model that comes in several sizes is one card with size chips.
|
||||
- With a room selected, what fits it comes first (*Fits …*). *Show all rooms* lifts that.
|
||||
- Filters: ⚡ can be linked to a device, 💡 glows, 🌳 outdoors. ★ Favourites and *Recently used* sit on top.
|
||||
|
||||
## Move, resize, copy
|
||||
|
||||
- Drag to move, drag the corners to resize, use the turn handle, or type position, size and rotation.
|
||||
- **Mirror** flips left and right. **Duplicate** copies. **Fix** locks a piece. **Move to floor** takes it to the same spot on another floor.
|
||||
- **Resizing** keeps legs, arms, plates and handles at their real size; only the middle grows.
|
||||
- **Tilt:** *Tilt front/back* and *Tilt sideways* (degrees) lean a ladder, tilt a picture or follow a sloped shelf. Owned 3D models are not tilted.
|
||||
- **Place spots:** a room's *Place spots* lays out a grid of lamps (columns × rows) that all follow one light, undoable in one step.
|
||||
- **Wall view (▣):** in a room's wall list, *Wall view* shows a wall from the front with its doors, windows and the furniture against it. Drag, or type the distance and height.
|
||||
|
||||
## The furniture studio
|
||||
|
||||
*🛠️ Build your own piece* sits at the top of the library.
|
||||
|
||||
1. Pick a template: cabinet, shelf, lamp or device.
|
||||
2. Type the measurements in centimetres and set doors, drawers, boards, handles, base and colours. The front view follows every change.
|
||||
3. *Put in the plan* stores it in the pack *Own furniture*, so it also shows in the library.
|
||||
|
||||
To change it later, select the piece and press *Change in the studio*. Every copy in the plan takes the new size.
|
||||
|
||||
> [!TIP]
|
||||
> Need something the studio cannot make? The browser-based [furniture builder](https://therealmrbk.github.io/NextFloor/builder/) builds a model exactly as NextFloor draws it, and you can share it. See [Furniture packs](packs.md).
|
||||
|
||||
## Special pieces
|
||||
|
||||
### Lamps
|
||||
|
||||
Lamps are furniture with a light behind them; the lights section has twelve kinds. Link them as described in [Connect devices](devices.md).
|
||||
|
||||
### Light switches and sockets
|
||||
|
||||
In the smart home pack, 1- to 4-gang. Each button has its own entity and glows while what it switches is on.
|
||||
|
||||
### Awnings, curtains, blinds, screens and gates
|
||||
|
||||
*Moves with* picks the cover entity the piece follows. *Reverse the direction* turns it round for things that move the opposite way in the plan than in reality.
|
||||
|
||||
### Sofas
|
||||
|
||||
The built-in sofa has a *Shape*: straight, L (mirror it for the other side) or U.
|
||||
|
||||
### Picture frames
|
||||
|
||||
From the pack *Pictures & frames*: upload a photo in the form, type a picture address (`/local/…`) or pick an image or camera entity. The mat and whether the photo fills the frame are adjustable.
|
||||
|
||||
### Show only while …
|
||||
|
||||
Any piece can wait for an entity: the Christmas tree only while a helper is on. Use several states separated by commas, or the other way round. The editor always shows the piece.
|
||||
|
||||
### Under the roof slope
|
||||
|
||||
Ceiling lamps and hanging pieces in an attic room have *📐 Up to the roof slope*.
|
||||
|
||||
### Seasonal decoration
|
||||
|
||||
The packs *Winter & Christmas* and *Halloween* come with glowing parts that follow a light or switch you link. Combine them with *Show only while …* to show a decoration only in its season.
|
||||
|
||||
## Layers and floor meters
|
||||
|
||||
- **Layers:** a floor marked *Layer* in its form (the trees, the decoration) gets an eye at the top of the 3D view that shows or hides it.
|
||||
- **Floor meter:** *Floor meter (power)* in the floor form takes a power sensor for that floor alone. Its value shows on the floor label, and the house card in that floor's view shows it with its share of the house.
|
||||
|
||||
## Move the pin
|
||||
|
||||
Pins of devices that stand close together can be pushed aside or up in the form; the device itself stays where it is.
|
||||
|
||||
## Next
|
||||
|
||||
[Connect devices →](devices.md)
|
||||
@@ -0,0 +1,46 @@
|
||||
---
|
||||
title: Household and pets
|
||||
description: Waste bins, the mailbox, thirsty plants, washing machines, pets, robot mowers, sprinklers and pools in the 3D view.
|
||||
---
|
||||
|
||||
Furniture from the garden and household packs turns everyday things into small live signals.
|
||||
|
||||
## Waste bins
|
||||
|
||||
Waste bins (garden pack, four colours, 120 and 240 l) take a *Pickup date (sensor)*, for example from Waste Collection Schedule or any sensor with days or a date. The day before and on the day, the bin glows and shows its pin. The *Today* card lists the bins due today or tomorrow.
|
||||
|
||||
## Mailbox
|
||||
|
||||
Pick the *Post sensor* (for example a contact on the flap). While there is post, the mailbox glows.
|
||||
|
||||
## Plants
|
||||
|
||||
Set *Soil moisture (sensor)* and *Thirsty below (%)*. Below that value the plant glows.
|
||||
|
||||
## Washer, dryer, dishwasher
|
||||
|
||||
When the device has a remaining-time sensor in Home Assistant, its pin says "25 min left".
|
||||
|
||||
## Pets
|
||||
|
||||
Pets (the pets pack: cat, dog, rabbit) walk around their room, round the furniture, with breaks in between. With a **Room sensor** (Bermuda, ESPresense) a pet roams the room it really is in.
|
||||
|
||||
## Garden
|
||||
|
||||
- **Robot mowers:** a mower or dock from *Garden 2* linked to a `lawn_mower` mows lanes over its lawn while it mows.
|
||||
- **Sprinklers, pools and ponds:** pools, ponds and beds show water temperature and pump on their pin.
|
||||
- **Gardens linked to their area:** an outdoor area linked to a Home Assistant area brings its devices into the [Outside panel](outside.md#the-outside-panel).
|
||||
|
||||
## Cleaning and the fuse box
|
||||
|
||||
- *🧹 Clean* per room.
|
||||
- The fuse box's circuits per room.
|
||||
- Robot vacuums are covered under [Live features](live.md#robot-vacuum-on-the-plan).
|
||||
|
||||
## People
|
||||
|
||||
People are shown in their rooms through [Presence](devices.md#presence-people-in-their-rooms).
|
||||
|
||||
## Next
|
||||
|
||||
[Announcements →](announcements.md)
|
||||
@@ -0,0 +1,47 @@
|
||||
---
|
||||
title: Install NextFloor
|
||||
description: Install NextFloor through HACS or by hand, add the integration and update it safely.
|
||||
---
|
||||
|
||||
NextFloor needs **Home Assistant 2025.1 or newer**. It installs like any custom integration and adds a *NextFloor* entry to the sidebar.
|
||||
|
||||
## With HACS (recommended)
|
||||
|
||||
NextFloor is in the **official HACS store**, so there is no custom repository to add.
|
||||
|
||||
1. Open **HACS**, search for *NextFloor* and press **Download**.
|
||||
2. **Restart Home Assistant.**
|
||||
3. Go to **Settings → Devices & services → Add integration** and pick *NextFloor*.
|
||||
4. A *NextFloor* entry appears in the sidebar. Open it, and you are in.
|
||||
|
||||
[](https://my.home-assistant.io/redirect/hacs_repository/?owner=therealMRBK&repository=NextFloor&category=integration)
|
||||
|
||||
> [!NOTE]
|
||||
> Installed NextFloor earlier as a custom repository? You do not have to change anything. HACS keeps it as a normal repository by itself, and updates keep coming.
|
||||
|
||||
## By hand
|
||||
|
||||
1. Download `nextfloor.zip` from the [latest release](https://github.com/therealMRBK/NextFloor/releases/latest).
|
||||
2. Copy the `custom_components/nextfloor` folder into your Home Assistant configuration folder.
|
||||
3. Restart Home Assistant and add the integration as in step 3 above.
|
||||
|
||||
## Update
|
||||
|
||||
1. Update through HACS.
|
||||
2. Restart Home Assistant.
|
||||
3. **Reload the browser tab.** On the companion app, use *Settings → Companion app → Reset frontend cache* and close the app completely.
|
||||
|
||||
> [!WARNING]
|
||||
> If a panel looks old after an update, it is the browser cache, not Home Assistant. A restart of Home Assistant does not help for this, but reloading the tab does.
|
||||
|
||||
## Where your data lives
|
||||
|
||||
The plan, its pictures and the furniture packs are stored in Home Assistant's `.storage` folder. Nothing leaves your installation: there is no account, no cloud and no usage data. See [Backup and import](plan-tools.md#backup-and-import) for how to keep a copy.
|
||||
|
||||
## Who can do what
|
||||
|
||||
Everyone with access to Home Assistant can open NextFloor and use the 3D view. Only **administrators** see the **Editor** tab and can save changes to the plan.
|
||||
|
||||
## Next
|
||||
|
||||
[Quick start →](quickstart.md): draw your first room and switch a lamp in 3D.
|
||||
@@ -0,0 +1,76 @@
|
||||
---
|
||||
title: Live features
|
||||
description: Weather, sun and shadows, power flow, TV screens, sound, the car, the robot vacuum and Everything off. Built in, free, and made from the devices you already have.
|
||||
---
|
||||
|
||||
These features are built in and free. They only need the devices you already have.
|
||||
|
||||

|
||||
|
||||
## Weather at the house
|
||||
|
||||
Rain, snow, hail, sleet, fog, clouds with shadows, lightning, sun and moon, driven by a weather entity and the compass. Stars come out on a clear night. Snow lies white on the ground while it snows, and the ground turns wet in the rain.
|
||||
|
||||
## Sun and shadows
|
||||
|
||||
The house throws its shadow from the real sun (setting *Sunlight and shadows*, off on *Tablet*).
|
||||
|
||||
With *☀ Time of day* switched on in the view options (⚙), the **☀** switch under the 3D view opens a slider over the hours of today. Sun patches, shadow, sky and the *Auto* look follow the chosen hour; tap again to go back to now.
|
||||
|
||||
*Sun arc and compass* (Settings) draws today's path of the sun as an arc over the property.
|
||||
|
||||
## Power flow
|
||||
|
||||
Particles run from the solar modules to the inverter, the house, the battery and the grid, along the real cable routes. A glass card shows the balance and your self-sufficiency. More in [Climate and energy](climate-energy.md).
|
||||
|
||||
## TV screens
|
||||
|
||||
What plays, in the app's colour, plus an ambilight glow behind the TV.
|
||||
|
||||
## Sound
|
||||
|
||||
A card hovers over every playing speaker or TV with cover and controls. Sound rings in the app's colour grow with the volume. *Sound rings (%)* on a speaker scales them from 0 (off) to 100 (full size). Multiroom groups are joined by a thread.
|
||||
|
||||
## Car
|
||||
|
||||
A card over the parking spot shows the charge ring, range, charging power, plug, inside temperature and buttons for lock, climate and charging.
|
||||
|
||||
- Away from home, it tells how far the car is.
|
||||
- It shows the departure time and warns about open doors and hatches.
|
||||
- Plugged in at a wallbox, it hangs on its cable.
|
||||
|
||||
## Robot vacuum on the plan {#robot-vacuum-on-the-plan}
|
||||
|
||||
A `robot_vacuum` on the plan used to drive lanes that the view invented inside the room it reports. When the robot's integration puts its map on a camera (`vacuum_position`, `charger`, `path`, as NarwalIntegration's map card does), NextFloor shows the truth instead: the robot stands where it says it is, facing where it faces, and the floor keeps the pad it has really driven. The dock is drawn where the robot reports it.
|
||||
|
||||
The camera is found by itself: any `camera` whose attributes carry `vacuum_position` will do, so nothing has to be chosen. What the view cannot know is how the robot's grid lies on your plan, because the robot counts in its own cells and the plan counts in metres.
|
||||
|
||||
### Calibrate
|
||||
|
||||
**From the rooms (easiest):** when the robot's map names its rooms (the Dreame integration does, as `rooms`), the dock shows the button *Calibrate from the rooms*. It lays the map's rooms onto the rooms with the same names on the dock's floor. Case, spaces and hyphens do not count. At least two rooms must share a name; from three on, NextFloor also spots a mirrored map by itself. The robot does not have to move.
|
||||
|
||||
**Fine-tune by hand:** if the map sits a little off afterwards, the arrows under the calibration move it by 10 cm, ⟲ ⟳ turn it by 1°, − + change its size by 1 %. Each click is saved at once.
|
||||
|
||||
**From the robot's position:**
|
||||
|
||||
1. Select the robot's **dock** in the plan.
|
||||
2. Let the robot drive at least 1.5 m away.
|
||||
3. Press *Calibrate from where the robot is now* and tap the robot where it stands on the plan.
|
||||
|
||||
The dock is the anchor: the plan knows where it stands, and the camera knows where it and the robot lie in the robot's grid. One tap is enough, and everything else (position, heading, track, dock) follows.
|
||||
|
||||
> [!NOTE]
|
||||
> Two places cannot tell a mirror from a turn. A map whose y axis runs along plan −z needs the *mirrored* tick; without it the rooms come out flipped. The calibration is stored as `settings.vacuum_map` (`a`/`ga` and `b`/`gb`, plus `mirror`). A plan without it keeps drawing the lanes the view invents.
|
||||
|
||||
- The track is as detailed as the robot's integration sends it. A map card that trims its `path` to a few hundred points gives a coarse track, one that sends more gives a finer one.
|
||||
- Ten minutes after the robot docks, the pad fades out, so the floor does not keep last night's clean. The timeline (⏪) is where a finished clean stays, and it holds the whole day.
|
||||
- The attribute names are the vacuum map card's, not one brand's: the Xiaomi map extractors (Roborock, Viomi, Roidmi, Dreame, Ijai), the Roborock integration and NarwalIntegration all publish them. A unit that reports in millimetres rather than map cells works just as well, because the two places set the scale.
|
||||
- The integration has to expose them as attributes. Some do so only when asked: the map extractors want `vacuum_position` and `path` in their `attributes:` list.
|
||||
|
||||
## Everything off
|
||||
|
||||
*⏻ Everything off* in the room panel, or *⏻* in the bar on top for the open floor, switches off lights, switches, fans and media. *↶ Undo* brings it all back for ten seconds.
|
||||
|
||||
## Next
|
||||
|
||||
[Climate and energy →](climate-energy.md)
|
||||
@@ -0,0 +1,75 @@
|
||||
---
|
||||
title: Your own 3D models
|
||||
description: Upload your own GLB model for a vehicle slot: how NextFloor prepares it and how to prepare one by hand.
|
||||
---
|
||||
|
||||
NextFloor draws furniture and vehicles from simple shapes. For a few items (the Tesla models so far) it can show a
|
||||
real 3D model instead, **if you own one and put it on your own Home Assistant**. NextFloor ships none of these
|
||||
files: without yours, the item looks as it always did.
|
||||
|
||||
## How it works
|
||||
|
||||
- A pack item can name a model (`"mesh": "tesla_model_y"`). When the file `tesla_model_y.glb` exists in the folder
|
||||
`nextfloor_meshes` of your Home Assistant configuration, the 3D view draws it, stretched to the size of the item.
|
||||
Everyone who is logged in to Home Assistant can read it, nobody else.
|
||||
- The model's body paint follows the colour you pick in the editor (the round colour dots under the item's
|
||||
settings). That works for parts whose material is marked as paint (see below).
|
||||
- Parts of the model that are not paint (glass, tyres, trim) stay as they are.
|
||||
|
||||
## Putting a model on your Home Assistant
|
||||
|
||||
**The easy way:** open the Extensions page of NextFloor (as administrator). Every item that takes a model is listed
|
||||
with an "Add a model" button. Choose your `.glb`, turn its front towards the viewer, check which material is the body
|
||||
paint (NextFloor guesses it), pick a level of detail and look at the preview. "Store on Home Assistant" does the rest;
|
||||
reload the panel afterwards. Compressed files (Draco, Meshopt, KTX) are refused: export the model without compression.
|
||||
|
||||
**By hand:**
|
||||
|
||||
1. Get a model you may use, as a binary glTF (`.glb`), for example a purchased one. Check its licence: it must
|
||||
allow you to use it in your own installation.
|
||||
2. Prepare it (lighter, front to +z, paint marked), see below.
|
||||
3. Copy the result to `<config>/nextfloor_meshes/<id>.glb`, with the id from the table, **or** upload it as an
|
||||
administrator:
|
||||
|
||||
```
|
||||
curl -X POST -H "Authorization: Bearer <long-lived access token>" \
|
||||
--data-binary @tesla_model_y.glb http://homeassistant.local:8123/api/nextfloor/mesh/tesla_model_y
|
||||
```
|
||||
|
||||
4. Reload the NextFloor panel.
|
||||
|
||||
| Item | Model id |
|
||||
| --- | --- |
|
||||
| Tesla Model 3 | `tesla_model_3` |
|
||||
| Tesla Model 3 (2024) | `tesla_model_3_2024` |
|
||||
| Tesla Model 3 Performance (2024) | `tesla_model_3_2024_performance` |
|
||||
| Tesla Model S | `tesla_model_s` |
|
||||
| Tesla Model S Plaid | `tesla_model_s_plaid` |
|
||||
| Tesla Model X | `tesla_model_x` |
|
||||
| Tesla Model Y | `tesla_model_y` |
|
||||
| Tesla Model Y Standard (2025) | `tesla_model_y_2025` |
|
||||
| Tesla Model Y Premium (2025) | `tesla_model_y_2025_premium` |
|
||||
| Tesla Model Y Performance (2025) | `tesla_model_y_2025_performance` |
|
||||
| Tesla Model Y L | `tesla_model_y_l` |
|
||||
| Tesla Cybertruck | `tesla_cybertruck` |
|
||||
|
||||
## Preparing a model by hand
|
||||
|
||||
The Extensions page does this in the browser. If you prefer the command line:
|
||||
|
||||
The 3D view reads plain binary glTF without Draco compression and without textures, and a model with 200,000
|
||||
triangles would be too heavy for a tablet. `tools/prepare-model.mjs` does the work:
|
||||
|
||||
```
|
||||
npm install @gltf-transform/core @gltf-transform/extensions @gltf-transform/functions draco3dgltf meshoptimizer
|
||||
node tools/prepare-model.mjs original.glb tesla_model_y.glb --ratio=0.35 --rear=^Charge --paint=^Paint --drop-materials="Fade|^Light$" --drop="^(Fade|Underhood_Piece)"
|
||||
```
|
||||
|
||||
`--front` (or `--rear`, for a part at the back such as the charge port) is a pattern for the name of a part that tells which end is which, so the car points to +z; `--drop-materials` leaves out see-through fade layers and light beams that would float around the car; `--paint` is a pattern for the material
|
||||
names of the body paint. Both depend on how your model's author named things; open the file in a glTF viewer to look.
|
||||
With a ratio of 0.35, a Model Y has about 70,000 triangles and 1 MB.
|
||||
|
||||
## Licence note
|
||||
|
||||
The model files are yours and stay on your Home Assistant. Do not put them in a public repository, and do not share
|
||||
them in a pack. Vehicle names are trademarks of their owners; NextFloor uses them only to say which model is meant.
|
||||
@@ -0,0 +1,81 @@
|
||||
---
|
||||
title: Outside, roof and energy
|
||||
description: Outdoor areas, fences and gates, the roof tool, solar fields, cable routes, the compass, the real map and the sun arc.
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Outdoor areas
|
||||
|
||||
Drag out a lawn, terrace, path, driveway, pool, flower bed, wild patch, hedge, fence or pergola.
|
||||
|
||||
| Setting | What it does |
|
||||
|---|---|
|
||||
| *Height offset* | lowers or raises the area |
|
||||
| *Slope* | tilts it |
|
||||
| *Show the outline* | toggles the glowing edge |
|
||||
| *Cut out of the areas beneath* | makes a hole, for a pond |
|
||||
|
||||
An area can be linked to a Home Assistant **Area**: its devices join Outside, and a pin opens it. Pools, ponds and beds can show a water temperature and a pump on that pin. Hedges and fences take a height. Garden and path lights come from the library and light the areas.
|
||||
|
||||
### Gates in fences
|
||||
|
||||
A fence can have **gates**: garden gate, double gate or sliding gate. Each gate sits at a position along the fence and takes an entity or contact; in 3D it opens when that entity is open or on.
|
||||
|
||||
### Opacity
|
||||
|
||||
*Opacity (%)* in an area's form makes it see-through, from 100 (solid) down to 10. That way a driveway or a lawn no longer hides the cellar in the stacked view, and the outline keeps it recognisable. The value is saved with the plan.
|
||||
|
||||
## The Outside panel
|
||||
|
||||
As soon as a device stands outside the rooms, the bar above the 3D view gets a **🌳 Outside** chip next to the floors. It opens the house view with a panel like a room's that lists the garden's devices.
|
||||
|
||||
A device that stands on the roof or over a room but belongs outside (a weather station) gets *Belongs to Outside* in its form. It then no longer counts for the room below and shows in the Outside panel. The dashboard card shows the chip with its room buttons.
|
||||
|
||||
In the editor, Outside has a section of its own, *🌳 Outside* (below *Start view*). There *Outside: hide devices* keeps devices out of the Outside panel, and *Use this view for Outside* stores the camera of the editor's 3D preview: turn it to the garden first, and opening Outside flies there.
|
||||
|
||||
## Roof
|
||||
|
||||
The *Roof* tool builds roof sections from the rooms: shape, ridge direction, eaves, pitch. Drag to move, drag corners to resize. The simple roof shape lives in Settings.
|
||||
|
||||
- **Roof windows** sit on a section and take a blind and contacts.
|
||||
- **Chimneys** (*+ Chimney* in the roof tool) come in brick, round, wide with two flues, or as a steel flue pipe with a rain cap. Width, depth (or diameter) and the height above the roof can be set; drag one in the plan or in the 3D view, also onto another roof face.
|
||||
- **Gable, hip and half-hip** sections can end differently at each end of the ridge. A wing that butts against a bigger roof runs into it with valleys.
|
||||
- A section turns about its middle with *Turn (°)*, for a wing at an angle.
|
||||
- A half-hip end has a slider for how high its hip starts.
|
||||
- **Overhang per side:** *Overhang per side* sets the eaves overhang on every side separately. Without own values the overhang is automatic: the same everywhere, except where the roof part meets the house (none there).
|
||||
- **Solar fields** on flat roofs can stand on east-west racks, and on pitched roofs on a rack with its own tilt.
|
||||
|
||||
## Doors and windows (more)
|
||||
|
||||
- A door takes a **smart lock**: tap the door to lock or unlock, it glows while unlocked.
|
||||
- A window chooses its sill and board, can be left out of the rain warning, and below the ground gets a light well.
|
||||
|
||||
## Energy
|
||||
|
||||
The checklist asks for a **solar field**, a **meter** and an **inverter**. Battery and grid connection are optional.
|
||||
|
||||
1. Place the **solar field** on the best south-facing roof section (it uses the compass), in the garden or on a wall. Set rows, columns and portrait or landscape.
|
||||
2. Place the meter, inverter, battery and wallbox as devices.
|
||||
3. The energy balance fields default to *Automatic*. *Take over from the energy dashboard* reads your existing setup.
|
||||
|
||||
**Cable routes** draw where a cable really runs: solar field to inverter, battery, inverter and grid to the house, sub-meters. Press *Draw route*, tap the points on the plan, switch floors where the cable goes through a ceiling, then *Done*. The flow follows the route instead of an arc, and *Show as cable* draws it as a visible cable. A battery's route is walked either way as it charges or discharges.
|
||||
|
||||
*Gas meter* and *Water meter* add their readings to the balance. For what you see in 3D, see [Climate and energy](climate-energy.md).
|
||||
|
||||
## Compass and map
|
||||
|
||||
Under **Settings**:
|
||||
|
||||
- **Compass.** A dial shows where north lies, in degrees clockwise from up. Sunlight, wind and the compass direction of roof faces follow it. If north and south are the wrong way round, press **Swap north ↔ south**; drawing, roof sections and solar fields stay as they are, only the directions change. Quarter turns and any angle are available too.
|
||||
- **Real map.** Off by default. When on, a dimmed map (OpenStreetMap, or your own `https://…/{z}/{x}/{y}` tile address) lies under the plan in the editor and under the house in 3D. It starts at Home Assistant's location. Set visibility and detail, and move it with the arrows until the house sits on its plot.
|
||||
|
||||
> [!NOTE]
|
||||
> Your browser loads the map tiles directly from the map server, and only while the map is on. Nothing else about your home leaves your installation.
|
||||
|
||||
- **Sun arc and compass ring:** *Sun arc and compass* draws today's path of the sun as an arc over the property, with a ring and the compass directions on the ground (north in red). It needs your home's position in Home Assistant.
|
||||
- Also here: wall thickness, grid, lengths in metres or feet and inches, roof shape, weather entity and effects, rain warning (optionally from your own rain sensor), a power outage sensor, sunlight patches, and an own background (a colour or a picture) behind the house.
|
||||
|
||||
## Next
|
||||
|
||||
[Plan tools →](plan-tools.md)
|
||||
@@ -0,0 +1,83 @@
|
||||
---
|
||||
title: Furniture packs
|
||||
description: Import, build and share furniture packs. The JSON format of a pack with every field.
|
||||
---
|
||||
|
||||
Furniture packs bring extra furniture to NextFloor. They are built from boxes, cylinders and lofts just like the built-in furniture, so they run as smoothly on weak tablets.
|
||||
|
||||
A pack is a plain JSON file. Anyone can build, share and import their own.
|
||||
|
||||
## Furniture builder and community furniture
|
||||
|
||||
The easiest way to build furniture is the **[furniture builder](https://therealmrbk.github.io/NextFloor/builder/)** in your browser: add parts, type the measurements in centimetres, choose colours. The 3D preview draws the piece exactly as NextFloor does. The builder checks the pack like the import does, saves it as a file and shares it with one button in the **community store** ([NextFloor-Plugins](https://github.com/therealMRBK/NextFloor-Plugins#community-furniture)). Shared packs then wait in NextFloor under **Extensions → Community furniture**, ready to install.
|
||||
|
||||
## Packs that come with it
|
||||
|
||||
43 packs with about 800 models come with the integration (`custom_components/nextfloor/packs/nextfloor.*.json`) and are always there; see the overview in [the library](furnish.md#the-library). They are generated with `python3 tools/build_packs.py` from the definitions in `tools/` (`build_packs.py` and the `area_*.py` modules). After a change there, run the script, check with `python3 tools/check_packs.py` and commit the JSON files too. Built-in packs cannot be removed, and an imported pack must not use the same ID.
|
||||
|
||||
## Your own pack
|
||||
|
||||
1. Write the pack (JSON, format below). The `id` should start with your name (`myname.kitchen`) so it collides with nobody; `nextfloor.*` is reserved for the built-in packs.
|
||||
2. Import it in Home Assistant under **Extensions → Furniture packs**: with **Import pack files …** (several files at once work) or paste the JSON into the text field and press **Import JSON**. Your own packs can also be removed there.
|
||||
3. A newer version with the same `id` replaces the old one; furniture in the plan stays. If a pack is removed, its furniture stays in the plan as plain boxes and comes back when you import it again.
|
||||
|
||||
## Format
|
||||
|
||||
```json
|
||||
{
|
||||
"format": "nfpack",
|
||||
"version": 1,
|
||||
"id": "myname.kitchen",
|
||||
"name": "Kitchen pack",
|
||||
"publisher": "My name",
|
||||
"description": "optional",
|
||||
"items": [
|
||||
{
|
||||
"id": "retro_fridge",
|
||||
"name": { "de": "Retro-Kühlschrank", "en": "Retro fridge" },
|
||||
"size": [0.6, 0.65, 1.5],
|
||||
"electric": true,
|
||||
"parts": [{ "shape": "box", "x": 0, "z": 0, "w": 1, "d": 1, "y": 0, "h": 1, "color": "white", "edges": true }],
|
||||
"symbol": [{ "shape": "rect", "x": 0, "z": 0, "w": 1, "d": 1 }]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Size and resizing
|
||||
|
||||
`size` is the default size in metres (width, depth, height). In the plan every piece can be scaled freely afterwards. Parts within 22 cm of either end keep their real size and their distance from the edge (arms, legs, plates, handles); only the middle is stretched. `"stretch": true` on the item lets all parts grow evenly instead. Vehicles always grow evenly.
|
||||
|
||||
### Parts
|
||||
|
||||
`parts` (at most 60) are `box`, `cyl`, `loft` or `sweep`. All measures are **fractions of the furniture's size**.
|
||||
|
||||
| Field | Meaning |
|
||||
|---|---|
|
||||
| `x`, `z` | centre, −0.5 … 0.5 (the front is +z) |
|
||||
| `w`, `d` | width and depth, 0 … 1 |
|
||||
| `y`, `h` | bottom edge and height, 0 … 1 of the height |
|
||||
| `rot` | degrees about the part's own centre on the vertical axis, for spiral stairs or diagonal struts |
|
||||
| `color` | `#rrggbb` or a role of the built-in palette: `body`, `fabric`, `cushion`, `wood`, `white`, `metal`, `dark`, `glass`, `plant`, `pot`, `accent`. Roles fit the look |
|
||||
| `top` | an own colour for the top face |
|
||||
| `edges` | glowing edges: `true` subtle blue, `"glow"` cyan like the walls, `"faint"` very delicate |
|
||||
|
||||
- A **cylinder** takes the smaller of `w` and `d` as its diameter. With `axis: "x"` or `"z"` it lies down (wheels, rollers); the length is the extent along the axis, the diameter the smaller of the cross extent and `h`.
|
||||
- A **loft** is a box whose top face is another rectangle (`tx`/`tz` centre, `tw`/`td` size) for sloping surfaces such as bonnets, windscreens or lampshades. A narrow loft with an offset top makes a slanted rod (handrail).
|
||||
- A **sweep** is a smooth body: cross-sections along the depth (z) with skin stretched between them, for anything round such as cars, boats or mudguards. `stations` is a list of `[z, bottom, top, width]`: `z` the centre of the cross-section (−0.5 … 0.5), `bottom` and `top` as a fraction of the height, `width` as a fraction of the width. `x` shifts the body sideways. `exp` shapes the cross-section (2 = ellipse, higher is boxier, default 2.6) and `n` is the number of points around (6 … 32, default 16). The vehicles of the pack *Vehicles* are built this way, see `tools/build_packs.py`.
|
||||
|
||||
### Plan symbol
|
||||
|
||||
`symbol` (optional, at most 40) is the top view in the plan, made of `rect` (`fill` for filled), `circle` (`r` as a fraction of the smaller side) and `line` (`x1`, `z1`, `x2`, `z2`). Without a symbol the plan draws the parts from above.
|
||||
|
||||
### Behaviour flags
|
||||
|
||||
| Flag | What it does |
|
||||
|---|---|
|
||||
| `electric` | the piece can be linked to a switch and a power sensor |
|
||||
| `climate` | marks an air conditioner or heat pump; links to a `climate` entity and optionally a power sensor. Automatic matching looks for `climate` entities in the room's area. Adds no 3D animation yet |
|
||||
| `mount` | where the piece sits: `floor` (default), `surface` (on the piece below, such as a coffee machine on a worktop), `wall` (bottom edge at `wall_y` metres, such as a wallbox) or `ceiling` (hangs from the ceiling, such as an extractor hood or pendant lamps) |
|
||||
| `surface` | the top carries other furniture (table, kitchen island, workbench) |
|
||||
| `hole` | a stair: if it reaches the floor above, it cuts the stairwell opening into that floor like the built-in stair; the steps rise from the front edge (+z) to the back |
|
||||
| `light` | the piece is a lamp and is linked to a light (or switch). The value says how the light fills the room (`ceiling`, `pendant`, `floor`, `table`, `wall`, `spot`, `garden` …). Parts with `"glow": true` glow in the light's colour and brightness |
|
||||
| `screen` | a part with `"screen": true` is a display (TV, monitor); the piece can then be linked to a media player, and the front (+z) shows the running app's colour and picture like the built-in TVs |
|
||||
@@ -0,0 +1,106 @@
|
||||
---
|
||||
title: Plan format
|
||||
description: The JSON format of a NextFloor plan, and how to let an AI draw your plan from a picture of your floor plan.
|
||||
---
|
||||
|
||||
NextFloor stores the house as one JSON document. *Editor → Backup → Import* reads it, so you can write a plan by hand, convert one from another program, or let an AI turn a picture of your floor plan into one. This page lists what a plan needs; everything left out gets a sensible default when it is imported.
|
||||
|
||||
## The smallest plan
|
||||
|
||||
```json
|
||||
{
|
||||
"floors": [
|
||||
{
|
||||
"name": "Ground floor",
|
||||
"elevation": 0,
|
||||
"height": 2.5,
|
||||
"rooms": [
|
||||
{ "id": "living", "name": "Living room", "points": [[0, 0], [5, 0], [5, 4], [0, 4]] },
|
||||
{ "id": "garage", "name": "Garage", "points": [[5, 0], [11, 0], [11, 4], [5, 4]] }
|
||||
],
|
||||
"openings": [
|
||||
{ "room_id": "living", "edge": 0, "offset": 2.5, "type": "door", "style": "front" },
|
||||
{ "room_id": "living", "edge": 2, "offset": 2.0, "type": "window", "width": 1.6, "leaves": 2 },
|
||||
{ "room_id": "garage", "edge": 2, "offset": 3.0, "type": "garage" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
- **Units are metres.** `points` are the corners of a room as `[x, z]`, seen from above: x grows to the right, z grows downwards in the plan. Go round the room in either direction; do not repeat the first corner at the end.
|
||||
- **Rooms that touch share their walls.** Draw neighbouring rooms with the same corner coordinates on the shared side and NextFloor builds one wall between them.
|
||||
- **ids** are optional. Missing or repeated ids are replaced on import, but an opening needs the `id` of its room in `room_id`, so give rooms an id when they have openings.
|
||||
|
||||
## Floors
|
||||
|
||||
| Field | Meaning | Default |
|
||||
|---|---|---|
|
||||
| `name` | Shown in the floor bar | "Floor 1", "Floor 2" … |
|
||||
| `elevation` | Height of the floor above the ground floor, in m (cellar: negative) | 2.8 m per floor |
|
||||
| `height` | Floor-to-ceiling height in m | 2.5 |
|
||||
| `rooms`, `openings`, `furniture`, `outdoor`, `walls` | Lists, see below | empty |
|
||||
|
||||
## Rooms
|
||||
|
||||
| Field | Meaning | Default |
|
||||
|---|---|---|
|
||||
| `id` | Any short text, unique on the floor | made up |
|
||||
| `name` | Room name | empty |
|
||||
| `points` | Corners `[x, z]` in m | required |
|
||||
| `area_id` | The Home Assistant area (its id, e.g. `living_room`), so the room finds its devices | none |
|
||||
| `floor_material` | `wood`, `oak`, `tiles`, `carpet`, `stone` or `concrete` | `wood` |
|
||||
| `ceiling` | Own ceiling height in m | the floor's height |
|
||||
|
||||
## Doors and windows (`openings`)
|
||||
|
||||
An opening sits on one edge of a room: edge `0` runs from the first corner to the second, edge `1` from the second to the third, and so on; the last edge runs back to the first corner.
|
||||
|
||||
| Field | Meaning | Default |
|
||||
|---|---|---|
|
||||
| `room_id` | The room whose edge it sits on | required |
|
||||
| `edge` | Index of that edge | 0 |
|
||||
| `offset` | Distance of the opening's **middle** from the edge's first corner, in m | 0.5 |
|
||||
| `type` | `door`, `window` or `garage` | `door` |
|
||||
| `width`, `height` | In m | door 0.9 × 2.05, window 1.2 × 1.3, garage 2.5 × 2.1 |
|
||||
| `sill` | Bottom of a window above the floor, in m (0 = terrace door) | window 0.9, else 0 |
|
||||
| `leaves` | `1` or `2` (double door, French window) | 1 |
|
||||
| `style` | Doors: `front`, `interior`; windows: `glass_wall` | automatic |
|
||||
|
||||
Everything else (hinge side, swing, contacts, blinds) is easiest to set afterwards in the editor: select the door or window and pick its kind at the top of its form.
|
||||
|
||||
## Furniture, free walls, outdoor areas and devices
|
||||
|
||||
All of these are optional lists on a floor.
|
||||
|
||||
**`furniture`**: a piece of the library or a pack.
|
||||
|
||||
| Field | Meaning |
|
||||
|---|---|
|
||||
| `id` | Short unique id |
|
||||
| `type` | A built-in type such as `sofa`, `bed`, `table`, `chair`, `desk`, `wardrobe`, `kitchen`, `fridge`, `bathtub`, `wc`, `washbasin`, `plant`, `rug`, `tv_board`, or `pack:<pack id>:<item id>` |
|
||||
| `x`, `z` | Centre in m, in the same plan coordinates as the rooms |
|
||||
| `w`, `d`, `h` | Width, depth and height in m |
|
||||
| `rotation` | Degrees around the vertical axis (0 = the front looks along +z) |
|
||||
| `variant` | `null` |
|
||||
| `entity` | Linked Home Assistant entity, or `null` (automatic) |
|
||||
|
||||
**`walls`** (free-standing walls, for a partition inside a room): `{ "id": "w1", "a": [x, z], "b": [x, z], "thickness": 0.1, "height": null }`. Room walls come from the room edges, so do not draw those again.
|
||||
|
||||
**`outdoor`** (lawn, terrace, path, driveway, pool, bed, hedge, fence, pergola): `{ "id": "o1", "type": "terrace", "points": [[x, z], …] }`, outside the rooms.
|
||||
|
||||
**`placements`** (a Home Assistant device on the plan): `{ "entity_id": "light.kitchen", "x": 2.0, "z": 3.0, "y": null }`.
|
||||
|
||||
Coordinates are metres, x to the right and z **down** the plan (the top left corner of the house is about `[0, 0]`). Anything the AI leaves out can be added in the editor; anything unknown is ignored when the plan is read.
|
||||
|
||||
## Other ways in
|
||||
|
||||
Besides a NextFloor plan, the import takes Sweet Home 3D (`.sh3d`), DXF, IFC and the JSON of an Apple **RoomPlan** scan (an iPhone or iPad with LiDAR, scanned with an app that exports the RoomPlan JSON): walls, doors and windows come over, a few objects become furniture.
|
||||
|
||||
## Let an AI draw it
|
||||
|
||||
Give the AI a picture of your floor plan and this prompt:
|
||||
|
||||
> Turn this floor plan into a NextFloor plan, as JSON following https://github.com/therealMRBK/NextFloor/blob/main/docs/plan-format.md. Use metres; read the scale from the dimensions in the picture. One floor object per storey. Rooms as polygons of their inner corners, touching rooms must share exact coordinates. Give every room a short id. Put every door, window and garage door into `openings` with its room, edge index and the distance of its middle from the edge's first corner. Output only the JSON.
|
||||
|
||||
Then *Editor → Backup → Import*, check the result in the editor, and fix what the AI got wrong. Drawing the plan over the picture (*Template*) is often just as fast for small houses.
|
||||
@@ -0,0 +1,69 @@
|
||||
---
|
||||
title: Plan tools
|
||||
description: Check the plan, areas and the plan on paper, notes, versions, backup, sharing and imports from other programs.
|
||||
---
|
||||
|
||||
## Check the plan
|
||||
|
||||
*✓ Check the plan* at the top of the editor's side panel lists what is missing or off, floor by floor:
|
||||
|
||||
- rooms without an area, and areas without a room
|
||||
- devices of a room that are not placed yet
|
||||
- overlapping rooms
|
||||
- doors and windows off their wall
|
||||
- links to entities Home Assistant no longer knows
|
||||
- standby eaters, with their yearly cost
|
||||
|
||||
Blue buttons fix a finding with one tap (Undo works as always); *Show* opens the spot. A short tour guides you through a new plan, and the sheet of keys opens with `?`.
|
||||
|
||||
## Areas and the plan on paper
|
||||
|
||||
The room form shows the room's **Living area**, counted like the German *Wohnflächenverordnung*:
|
||||
|
||||
- in full from 2 m clear height
|
||||
- half between 1 m and 2 m
|
||||
- nothing below 1 m
|
||||
|
||||
Garages, cellars and utility rooms are left out by their name; *Counts as living area* decides by hand. The floor form adds the areas up for the floor and the house.
|
||||
|
||||
*🖨️ Print plan / PDF* opens every floor at **1:100** with measurements and a table of areas. Print it, or save it as PDF from the print dialog.
|
||||
|
||||
## Notes
|
||||
|
||||
Right-click (or long-press) a spot in the plan and choose *✎ Note here*. Type the text and, if you like, the day it is due. Notes stand as yellow pins in their floor's 3D view (orange once due). A tap shows the whole text, and the search finds them.
|
||||
|
||||
A note can also show *exactly where* something is: its **height above the floor** puts the pin, say, under the basement ceiling at the shutoff valve. A **photo** (uploaded or as a URL) shows when the note is tapped, so someone who has never done it sees what the valve looks like.
|
||||
|
||||
## Versions
|
||||
|
||||
*📌 Save this state …* keeps the plan under a name, for example "before the renovation". It stays when the automatic restore points go. *Compare* on a version lists, floor by floor, what differs from the plan now.
|
||||
|
||||
## Backup and import
|
||||
|
||||
Under *Backup* in the editor:
|
||||
|
||||
| Action | What it does |
|
||||
|---|---|
|
||||
| **Export** / **Import** | the plan as a file |
|
||||
| **Share as template** | the plan without your personal device data |
|
||||
| **Back up everything** | plan, pictures and packs in one file |
|
||||
| **Restore a full backup** | brings that file back |
|
||||
| *🔗 Share a view* | saves the house as a small HTML file that opens in any browser without Home Assistant (through the online demo, without devices), to show it to someone |
|
||||
|
||||
> [!TIP]
|
||||
> Back up before big changes.
|
||||
|
||||
### Import from other programs
|
||||
|
||||
Under *Backup → Import*:
|
||||
|
||||
- **iPhone room scan:** a scan made with Apple's RoomPlan loads as rooms, walls, doors and windows.
|
||||
- **Sweet Home 3D** (`.sh3d`, version 5.3 and newer): levels become floors, rooms become rooms, doors and windows sit in their walls, free walls stay free. Furniture is not taken over.
|
||||
- **DXF** (`.dxf`, from a CAD program): closed polylines become rooms, lines become free walls.
|
||||
- **IFC** (`.ifc`, from Revit, ArchiCAD, Allplan …): its storeys become floors and its spaces become rooms; NextFloor draws the walls from the rooms.
|
||||
|
||||
A plan can also be written by hand, converted from another program, or drawn by an AI from a picture of your floor plan. The format and a ready prompt are in [Plan format](plan-format.md).
|
||||
|
||||
## 3D print export
|
||||
|
||||
*3D print (STL)* in the 3D view's settings saves the house as an STL file at 1:100, one metre becoming 10 mm. It holds walls, floors, furniture and outdoor areas of every floor; windows, lights and the roof are not in it.
|
||||
@@ -0,0 +1,143 @@
|
||||
---
|
||||
title: Write a plugin
|
||||
description: Install plugins from the store or write your own: light animations, new device kinds and room sections.
|
||||
---
|
||||
|
||||
Plugins add things to NextFloor without changing its code: your own light animations, support for
|
||||
entities NextFloor does not know, and small cards in a room's panel. A plugin is one JavaScript
|
||||
file (an ES module) that calls `window.NextFloor.register({...})`.
|
||||
|
||||
> [!WARNING]
|
||||
> **Trust:** a plugin runs in your browser with the same rights as NextFloor and Home Assistant's
|
||||
> frontend. Only install plugins whose source you trust.
|
||||
|
||||
## Installing a plugin
|
||||
|
||||
**From the store:** open **Extensions → Plugins → Open plugin store** and press **Install**. The store
|
||||
lists plugins that were reviewed and added through a pull request to
|
||||
[NextFloor-Plugins](https://github.com/therealMRBK/NextFloor-Plugins), where you also find how to submit your own.
|
||||
Each entry is pinned to one commit and carries the file's SHA-256, which NextFloor checks before the
|
||||
plugin runs. A newer version of a plugin shows up as **Update** in the store. Store plugins must be a
|
||||
single self-contained file, because they are run from memory after the check.
|
||||
|
||||
**Your own file:**
|
||||
|
||||
1. Put the file into Home Assistant's `www` folder, e.g. `/config/www/nextfloor/my-plugin.js`.
|
||||
2. In NextFloor open **Extensions → Plugins**, enter `/local/nextfloor/my-plugin.js` and press **Add**.
|
||||
3. The plugin loads right away. Turning a plugin off or removing it takes effect after reloading the page.
|
||||
|
||||
Allowed addresses: `/local/…` (the `www` folder), `/hacsfiles/…` (installed by HACS) and `https://…`,
|
||||
each ending in `.js` or `.mjs`. At most 20 plugins.
|
||||
|
||||
A plugin can also be loaded as a **dashboard resource** (Settings → Dashboards → Resources, type
|
||||
JavaScript module), which is how HACS installs frontend plugins. It then shows up on the Extensions
|
||||
page as "registered by a dashboard resource". Resources only load with dashboards, so for the
|
||||
sidebar panel add the plugin on the Extensions page as well.
|
||||
|
||||
## The API (version 1)
|
||||
|
||||
```js
|
||||
const plugin = {
|
||||
id: "my-plugin", // required: letters, digits, '.', '_', '-'; the same id again replaces the plugin
|
||||
name: "My plugin", // shown on the Extensions page and as the room-section title
|
||||
version: "1.0.0",
|
||||
apiVersion: 1, // required: must be 1
|
||||
|
||||
lightAnimations: { … },
|
||||
devices: [ … ],
|
||||
roomSections: [ … ],
|
||||
};
|
||||
|
||||
// works whether NextFloor loaded before or after your script
|
||||
if (window.NextFloor) window.NextFloor.register(plugin);
|
||||
else (window.__nextfloorPlugins ??= []).push(plugin);
|
||||
```
|
||||
|
||||
`register` throws when the plugin is not valid (wrong `apiVersion`, a missing function, a built-in
|
||||
animation name). Errors your functions throw later are caught; NextFloor keeps working and shows
|
||||
the error next to the plugin on the Extensions page.
|
||||
|
||||
### `lightAnimations`
|
||||
|
||||
A map from an animation name to a function `(glow, seconds) => glow`. `glow` is
|
||||
`{ color: [r, g, b], level }` with every value between 0 and 1, after the light's brightness was
|
||||
applied; `seconds` counts up while the page is open. Return a new glow; values are clamped to 0–1.
|
||||
|
||||
The names appear in a light's **Effects** settings next to the built-in Rainbow, Pulse and Flicker,
|
||||
so you can map e.g. the WLED effect "Fireworks" to your `"strobe"`. The names `none`, `rainbow`,
|
||||
`pulse` and `flicker` are taken. Keep the function cheap: it runs every frame for every lit lamp.
|
||||
|
||||
```js
|
||||
lightAnimations: {
|
||||
strobe: (glow, seconds) => ({ ...glow, level: seconds % 0.5 < 0.25 ? glow.level : 0 }),
|
||||
},
|
||||
```
|
||||
|
||||
### `devices`
|
||||
|
||||
Each entry handles the entities its `match(entityId, state)` returns `true` for:
|
||||
|
||||
| Field | What it does |
|
||||
|---|---|
|
||||
| `match(entityId, state)` | Required. Runs for every placed entity, so keep it cheap. |
|
||||
| `kind` | For entities of domains NextFloor does not know (`vacuum`, `lawn_mower`, `todo`, …): NextFloor then shows them like this kind (`light`, `switch`, `fan`, `cover`, `climate`, `media`, `lock`, `sensor`, `binary`, `scene`, `script`; default `sensor`). |
|
||||
| `marker({ hass, entityId, state })` | Returns what to change on the device's marker: `icon` (`"mdi:name"` or inline SVG), `text` (max. 60 characters), `active` (highlighted like an "on" device). Leave a field out to keep NextFloor's value. An icon picked in the plan wins over the plugin's. |
|
||||
|
||||
| `watch({ hass, entityId, state })` | Further entity ids whose changes redraw this device (e.g. a camera's motion sensor that colours its wedge). The 3D view only redraws for entities it watches. |
|
||||
| `settings` | Extra fields in the device's form in the editor (see below). The values are stored with the placement and handed to `floorWedge` and `tap`. |
|
||||
| `floorWedge({ hass, entityId, state, placement, settings })` | A field of view or range drawn flat on the floor from the device, stopping at walls. Return `{ angle, reach, near?, color?, opacity?, tapThrough? }` or `null`: `angle` in degrees (360 all around), `reach` and `near` in metres, `color` as `"#rrggbb"`, `opacity` 0–1. It points the way the device is turned (the handle in front of it in the editor). A tap on the wedge taps the device, unless `tapThrough`. |
|
||||
| `tap({ hass, entityId, state, placement, settings, showWindow, moreInfo })` | A tap on the device's marker or wedge. Return `true` when you handled it; otherwise NextFloor does its usual thing. `showWindow(node, { title })` shows a node in a small window in the lower right corner of the 3D view (`null` closes it; a node with a `hass` property gets every new hass object). `moreInfo(entityId?)` opens Home Assistant's dialog. |
|
||||
|
||||
`placement` is where the device stands: `floorId`, `roomId`, `x`, `z`, `y` (height above the floor) and `rotation` (degrees).
|
||||
|
||||
```js
|
||||
devices: [{
|
||||
match: (id) => id.startsWith("vacuum."),
|
||||
kind: "switch",
|
||||
marker: ({ state }) => ({ icon: "mdi:robot-vacuum", text: state.state, active: state.state === "cleaning" }),
|
||||
}],
|
||||
```
|
||||
|
||||
#### Device settings
|
||||
|
||||
Each entry of `settings` adds a field to the device's form, under the plugin's name:
|
||||
|
||||
```js
|
||||
settings: [
|
||||
{ key: "fov", label: { en: "Field of view (°)", de: "Blickwinkel (°)" }, type: "number", default: 90, min: 20, max: 180, step: 5 },
|
||||
{ key: "mount", label: "Mount", type: "select", default: "wall", options: [["wall", "Wall"], ["dome", "Ceiling"]] },
|
||||
{ key: "wedge", label: "Show the wedge", type: "boolean", default: true, hint: "Shown when hovering" },
|
||||
],
|
||||
```
|
||||
|
||||
`key` is 1–32 letters, digits or `_`; `type` is `number`, `select` or `boolean`. Labels, hints and option labels are
|
||||
plain text or texts by language code (English is the fallback). Your functions get `settings` with every key filled
|
||||
in: the stored value when it fits the field, the default otherwise.
|
||||
|
||||
A complete plugin with all of this: [NextFloor Cameras](https://github.com/therealMRBK/NextFloor-Plugins/blob/main/plugins/cameras/nextfloor-cameras.js)
|
||||
(field-of-view wedges, red on detection, live picture in the corner, alarm panels).
|
||||
|
||||
### `roomSections`
|
||||
|
||||
Extra blocks at the end of a room's panel, titled with the plugin's name. `render({ hass, room, entities })`
|
||||
gets the room (`id`, `name`, `area_id`) and the entities the panel lists; return a DOM node, a string,
|
||||
or `null` to show nothing in this room. It runs again whenever Home Assistant's state changes, so
|
||||
build the content fresh each time and keep it small.
|
||||
|
||||
```js
|
||||
roomSections: [{
|
||||
id: "open-windows",
|
||||
render: ({ hass, entities }) => {
|
||||
const open = entities.filter((id) => hass.states[id]?.attributes.device_class === "window" && hass.states[id]?.state === "on");
|
||||
return open.length ? `🪟 ${open.length} window(s) open` : null;
|
||||
},
|
||||
}],
|
||||
```
|
||||
|
||||
A complete example with all three: [`docs/examples/nextfloor-plugin-example.js`](https://github.com/therealMRBK/NextFloor/blob/main/docs/examples/nextfloor-plugin-example.js).
|
||||
|
||||
## Compatibility
|
||||
|
||||
The API version only changes when something breaks existing plugins; new optional fields can come
|
||||
in any release. A plugin written for another API version is refused with a message on the
|
||||
Extensions page instead of half-working.
|
||||
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: Quick start
|
||||
description: Draw your first room, place a lamp, and switch it from the 3D view. About fifteen minutes.
|
||||
---
|
||||
|
||||
By the end of this page you will have a floor with one room, a lamp that belongs to a real light in Home Assistant, and a 3D view you can tap. Nothing needs preparing except an **area** in Home Assistant with at least one light in it.
|
||||
|
||||
> [!TIP]
|
||||
> Prefer to watch first? The [setup video](https://therealmrbk.github.io/NextFloor/tutorial/) draws a whole house from the empty page (45 minutes, English voice, subtitles in English and German). Or try the [live demo](https://therealmrbk.github.io/NextFloor/) with invented data.
|
||||
|
||||
## Before you start
|
||||
|
||||
- [NextFloor is installed](install.md) and you are logged in as an administrator.
|
||||
- In Home Assistant, the room already exists as an **area** (Settings → Areas) and a light belongs to it.
|
||||
|
||||
## Draw and light your first room
|
||||
|
||||
1. **Open the Editor.** In the NextFloor sidebar entry, switch to the **Editor** tab. The toolbar holds the tools, the side panel shows what is selected, and a hint at the bottom names what the active tool does.
|
||||
2. **Add a floor.** Press *Add floor*. It offers the floors of Home Assistant (this keeps plan and Home Assistant connected) or an *Empty floor*. Pick one.
|
||||
3. **Draw a room.** Choose the *Rectangle* tool and drag on the plan. Corners snap to the grid.
|
||||
4. **Describe it.** In the side panel give the room a name, pick its **Area** (this is the link to your devices), and choose a floor material.
|
||||
5. **Add a door and a window.** Choose *Doors & windows*, tap a wall, and pick the kind. Set width and position if the defaults do not fit.
|
||||
6. **Furnish.** Choose the *Furniture* tool, tap the room and pick a sofa, a bed or a lamp from the library on the right. New pieces appear in the middle of the room; drag them into place.
|
||||
7. **Place your light.** Open the room and scroll to **Devices**. Your area's devices are listed. Press **Place** on a light: it becomes a lamp in the room.
|
||||
8. **Look at it in 3D.** Switch on *3D beside*, or leave the editor and open the **3D** tab.
|
||||
|
||||
Tap the lamp: the real light switches. Swipe on it to dim, and long-press for colours.
|
||||
|
||||

|
||||
|
||||
> [!NOTE]
|
||||
> **Undo** (Ctrl+Z) takes back almost everything. If saving ever fails, your changes stay in this browser and the editor tells you why.
|
||||
|
||||
## Where to go from here
|
||||
|
||||
- Draw the rest of the house: [Draw the house](draw.md).
|
||||
- Make it look like home: [Furnish](furnish.md).
|
||||
- Bring in the rest of your devices: [Connect devices](devices.md).
|
||||
- Put it on a dashboard or a wall tablet: [The dashboard card](cards.md).
|
||||
@@ -0,0 +1,48 @@
|
||||
---
|
||||
title: Keyboard and gestures
|
||||
description: Every key and gesture of the editor and the 3D view in one place.
|
||||
---
|
||||
|
||||
Press `?` in the editor for the sheet of keys. This page lists what the documentation knows about.
|
||||
|
||||
## 3D view
|
||||
|
||||
| Action | Mouse | Touch |
|
||||
|---|---|---|
|
||||
| Turn | drag | drag |
|
||||
| Zoom | wheel | pinch |
|
||||
| Pan | right button, drag | two fingers |
|
||||
| Switch a lamp | click the pin | tap the pin |
|
||||
| Dim | | swipe on the pin |
|
||||
| Quick menu with colours | long press | long press |
|
||||
| Go one step back | double click on empty space; optionally a short right click | double tap on empty space |
|
||||
| Leave a room or walk mode | `Esc` | ✕ |
|
||||
|
||||
## Walk through the house
|
||||
|
||||
| Key | Action |
|
||||
|---|---|
|
||||
| `W` `A` `S` `D` or arrows | walk |
|
||||
| `Q` / `E` | turn |
|
||||
| mouse wheel | one step |
|
||||
| stick (tablets) | steer |
|
||||
|
||||
## Editor
|
||||
|
||||
| Key | Action |
|
||||
|---|---|
|
||||
| `Ctrl` + `Z` | undo |
|
||||
| `Enter` | close a free shape |
|
||||
| `Esc` | cancel the current action |
|
||||
| `Alt` | switch snapping off for one move |
|
||||
| `Shift` | keep a free wall straight |
|
||||
| `?` | open the sheet of keys |
|
||||
| right-click or long-press | pin a [note](plan-tools.md#notes) |
|
||||
|
||||
## This documentation
|
||||
|
||||
| Key | Action |
|
||||
|---|---|
|
||||
| `Ctrl` + `K` or `/` | search |
|
||||
| `↑` `↓` `Enter` | choose and open a result |
|
||||
| `Esc` | close the search |
|
||||
@@ -0,0 +1,43 @@
|
||||
---
|
||||
title: Wall tablet
|
||||
description: Kiosk mode, night dimming, screensaver, readable mode and quality settings for tablets on the wall.
|
||||
---
|
||||
|
||||

|
||||
|
||||
NextFloor is made for the tablet on your wall. These options live in the card's **kiosk** section (see [The dashboard card](cards.md)).
|
||||
|
||||
## Kiosk
|
||||
|
||||
| Option | What it does |
|
||||
|---|---|
|
||||
| `idle_return` | seconds without a touch after which the card returns to its start view (0 = never) |
|
||||
| `night` | dim at night: `off`, `sun` (the sun is below the horizon) or a time range such as `22:00-06:00`. Colour effects rest while dimmed |
|
||||
| `idle_orbit` | after the idle return, turn the view slowly by itself until the next touch: a screensaver |
|
||||
| `dashboard` and `dashboard_label` | a button to another dashboard or view |
|
||||
| `controls_hidden` / `controls_hide_after` | hide every bar and overlay at start, or after some seconds without a touch |
|
||||
| `fullscreen_button` | a button for full screen |
|
||||
| `central_open` | the star menu stands open from the start, a size larger |
|
||||
| `keep_camera` | switching floors keeps the camera's side, height and distance |
|
||||
| `room` | start in one room, for a display in the kids' room |
|
||||
|
||||
## Readable mode
|
||||
|
||||
`readable: true` gives stronger contrast and larger text, for tablets seen from a distance.
|
||||
|
||||
## Quality
|
||||
|
||||
Quality **steps down by itself** on slow tablets. You can also set it: use *Tablet* on Fire tablets and similar. If the view is slow, also switch off weather and power flow.
|
||||
|
||||
## Small screens
|
||||
|
||||
- `zoom` (0.6–2.5) brings the fitted views closer.
|
||||
- *🎥 Keep camera* avoids re-aiming at every floor change.
|
||||
|
||||
## Announcements on the tablet
|
||||
|
||||
Every open page speaks announcements. Name the tablet with `screen_name` to address it alone. See [Announcements](announcements.md).
|
||||
|
||||
## Next
|
||||
|
||||
[The dashboard card →](cards.md)
|
||||
@@ -0,0 +1,73 @@
|
||||
---
|
||||
title: The 3D view
|
||||
description: Move around, switch devices, use the room panel and the central menu, and set up the look: themes, walls, markers, maps and warnings.
|
||||
---
|
||||
|
||||

|
||||
|
||||
## Move
|
||||
|
||||
- **Drag** to turn, **wheel** to zoom, **right button** or **two fingers** to pan.
|
||||
- The floor and room buttons at the top fly the camera there. *Back* or Esc goes up one level. Optionally, a short right click goes back too (the view's setting, or the card option `right_back`).
|
||||
- **Floor plan only** hides the furniture for a clean plan view.
|
||||
|
||||
## Control things
|
||||
|
||||
- **Tap** a lamp pin to switch it, **swipe** to dim, **long-press** for the quick menu with colours. A blind opens its menu.
|
||||
- Speakers and TVs open a quick menu with play and pause, skip, volume, sources and presets.
|
||||
- Tap a door with a smart lock to lock or unlock it.
|
||||
|
||||
## The room panel
|
||||
|
||||
Open a room to get its panel:
|
||||
|
||||
- lights (switch, brightness, colour temperature, colour dots, *All off*)
|
||||
- blinds, media, sensors
|
||||
- **scenes** stand at the top; *+ Save mood* keeps the room's lights as a mood to set again or carry over to another room (→)
|
||||
- the room's temperature over the last 24 hours and when to air it
|
||||
|
||||
## Central menu and search
|
||||
|
||||
- **Central menu (star):** all lights and blinds of the floor or house plus your favourites. *★ Menu open* in ⚙ keeps it open and larger on this device. Own buttons light up while their entity is on.
|
||||
- **Search (magnifier):** type a device or a room, and the camera flies there.
|
||||
|
||||
## Look and feel
|
||||
|
||||
| Setting | Options |
|
||||
|---|---|
|
||||
| Quality | *Auto*, *Tablet*, *High* |
|
||||
| Theme | *Neon*, *Blueprint*, *Day*, with an accent colour |
|
||||
| Furniture colours | in the editor under *Settings*: one colour per material (body, wood, fabric, white, metal, dark) for the whole house, pieces from the furniture builder and the packs included. Shows most in the Neon look |
|
||||
| Markers | *None*, *Important*, *All* |
|
||||
| Look *Auto* | the day look while the sun is up, neon after sunset |
|
||||
|
||||
**Switches at the bottom:** *Tall walls / Cut / Sloped*, *Solid*, *Apart / Stacked*, *Roof stays*, heat map, *Room names*, *Weather*, *Power flow*, *Cards*.
|
||||
|
||||
### Walls
|
||||
|
||||
- **Sloped** cuts the walls on a slope, half height in front and full height at the back, like a doll's house. The slope turns with the camera.
|
||||
- **Solid** shows opaque walls in their colours instead of glass. In an open room the walls in front of the camera are lowered.
|
||||
- *Solid* and *Sloped* can be combined.
|
||||
- Set the colours in the editor: *Settings → Wall colour outside / inside*, per floor *Wall colour outside (this floor)* (a plinth, a garage) and per room *Wall colour inside (this room)*.
|
||||
|
||||
## Maps
|
||||
|
||||
Besides temperature, humidity and CO₂ the map selector has **Mould**, **Values** and **Wi-Fi**. See [Climate and energy](climate-energy.md).
|
||||
|
||||
## Warnings
|
||||
|
||||
Smoke, gas, CO, water, the alarm panel and windows left open in the rain appear as banners. A tap jumps into the room. A triggered alarm names the sensor that set it off and pulses its room. You can add [your own warnings](devices.md#favourites-buttons-and-warnings).
|
||||
|
||||
## Getting around
|
||||
|
||||
- **Walk through the house (🚶):** on the open floor at eye height. Drag to look around, `W A S D` or the arrow keys walk (`Q`/`E` turn), the mouse wheel takes a step, and on tablets the stick at the bottom right steers. ✕ ends it.
|
||||
- **Time travel (⏪):** replays the last 24 hours or 7 days from Home Assistant's history: lamps, blinds, doors and windows, locks, media and robots. The bar marks every change. Play at 1 min, 10 min or 1 h per second, or drag to a moment. *Live* comes back. **Nothing is switched while you are in the past.**
|
||||
- **3D lock (🔒):** turning, zooming and panning are off on this device; taps on devices still work.
|
||||
- **Clock:** 🕒 in the header puts a large clock in a corner of the view.
|
||||
- **Small screens:** 🔍 in ⚙ brings the fitted views closer. *🎥 Keep camera* keeps side, height and distance when switching floors.
|
||||
- **Today:** with calendars chosen, a card top right lists today's appointments and the bins due today or tomorrow. *Days on the "Today" card* (house settings, with the calendars) shows up to seven days, each later day under its own heading.
|
||||
- **Weather forecast:** in the house settings under *Weather forecast*, pick 3, 5 or 7 days and a corner (top left, or top right below *Today*). The card shows the weather of each day, its high and low and the rain (amount or chance). It reads the weather entity of the settings through `weather.get_forecasts`; an entity without a daily forecast shows no card.
|
||||
|
||||
## Next
|
||||
|
||||
[Live features →](live.md)
|
||||
@@ -0,0 +1,70 @@
|
||||
{
|
||||
"sections": [
|
||||
{
|
||||
"title": {
|
||||
"en": "Get started",
|
||||
"de": "Loslegen"
|
||||
},
|
||||
"pages": [
|
||||
"index",
|
||||
"install",
|
||||
"quickstart",
|
||||
"concepts"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "Build your home",
|
||||
"de": "Dein Zuhause bauen"
|
||||
},
|
||||
"pages": [
|
||||
"draw",
|
||||
"furnish",
|
||||
"devices",
|
||||
"outside",
|
||||
"plan-tools"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "Use it",
|
||||
"de": "Benutzen"
|
||||
},
|
||||
"pages": [
|
||||
"view3d",
|
||||
"live",
|
||||
"climate-energy",
|
||||
"household",
|
||||
"bluetooth",
|
||||
"announcements",
|
||||
"tablet"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "Connect and extend",
|
||||
"de": "Verbinden und erweitern"
|
||||
},
|
||||
"pages": [
|
||||
"cards",
|
||||
"automations",
|
||||
"plugins",
|
||||
"packs",
|
||||
"models",
|
||||
"plan-format"
|
||||
]
|
||||
},
|
||||
{
|
||||
"title": {
|
||||
"en": "Help",
|
||||
"de": "Hilfe"
|
||||
},
|
||||
"pages": [
|
||||
"shortcuts",
|
||||
"faq",
|
||||
"changelog",
|
||||
"contributing"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user