Działania w ramach inteligentnego działania domu opierają się na Google Home Graph , a database that stores and provides contextual data about the home and its devices. The Home Graph database stores information about structures (for example, home or office), rooms (for example, bedroom or living room), and devices (for example, speaker and light bulb). For example, Home Graph can store the concept of a home with a living room that contains multiple types of devices from different manufacturers such as a light, television, and speaker. This information is available to Google Assistant in order to execute user requests based on the appropriate context. State data, such as if a light bulb is on, is not stored in the long term - it’s ephemeral and is only used in the Home Graph.
Home Graph to w zasadzie logiczna mapa Twojego domu. Pozwala na naturalną rozmowę z: Assistant. Jeśli chcesz usiąść w salonie i chcesz wyłączyć światło w pomieszczeniu, powiedz po prostu OK Google, wyłącz światło i nie wspominaj w sali, w której aktualnie się znajdujesz.
Zalety aplikacji Home Graph:
- Polecenia niejawne. Ty, Google Home device, and your lights are in the same room. All you have to say is turn on the lights. You do not need to specify what room the lights are in.
- Lepsza kontrola nad kierowaniem na treści o charakterze jednoznacznie seksualnym. W innym pomieszczeniu możesz wyłączyć światło w kuchni nawet wtedy, gdy światła należą do wielu producentów. smart home intent is determined for a particular room that is identified in Home Graph.
Konstrukcje
Google Home app (GHA) lets a user configure multiple structures which allows a user to manage multiple houses. Each structure has its own set of rooms and devices. A structure consists of the following:
- Menedżerowie – konto właścicieli domu. Każda struktura musi mieć co najmniej 1 menedżera. Po zdefiniowaniu menedżera może on udostępniać elementy innym użytkownikom i cofać ich udostępnianie.
- Pokoje – pomieszczenia będące częścią budynku.
- Etykiety – etykieta określająca strukturę, na przykład „Dom Jana”.
- Urządzenia – urządzenia, które stanowią część struktury. Mogą to być urządzenia wielu producentów.
Ilustracja 1 przedstawia dom z konstrukcją, 3 salami i kilkoma urządzeniami:

Pokoje
Pokój należy do budynku i składa się z tych elementów:
- Etykiety – etykieta, która identyfikuje pokój, np. „Główna sypialnia”.
- Urządzenia – urządzenia będące częścią pokoju. Mogą to być urządzenia wielu producentów.
Urządzenia
Urządzenie musi należeć do co najmniej 1 struktury, może należeć do maksymalnie 1 pokoju i musi mieć następujące właściwości:
- Typ – typ urządzenia, np. lampa, aparat lub klimatyzacja.
- Cechy charakterystyczne – typ cech obsługiwanych przez urządzenie. Każde urządzenie może
mieć różne cechy. Światło może mieć cechy takie jak
Brightness
iColorSetting
.
Cechy
Cechy charakterystyczne to:
- Atrybuty – statyczne atrybuty urządzenia. Może to być np. jednostka temperatury lub tryb.
- Stan – stan urządzenia. Lampa może zwracać jasny stan, który wskazuje aktualną jasność danej lampy. Każda cecha urządzenia dodaje inne stany urządzenia.
- Etykiety – etykieta, która identyfikuje urządzenie, np. „Lampa w sypialni”.