Google Assistant such as "Hey Google, turn on the bedroom light", Hey Google is the invocation and turn on the bedroom light is known as the grammar. Google determines the smart home intent from the grammar and sends it over to the developer cloud (fulfillment). The developer can then execute the command on the device and returns a response back to Google.님과 대화를 나눌 때
fulfillment에서 인텐트를 처리하고 응답을 반환한 후 smart home 작업이 Google Home Graph . With Home Graph, Assistant can sync devices, query device states, and execute commands on a device.를 사용합니다.
기기 유형
기기 유형은 Assistant를 통해 기기에 사용해야 하는 문법을 알려줍니다. 예를 들어 기기를 조명으로 정의하면 사용자는 Hey Google, 조명 켜 줘로 Assistant를 통해 기기와 상호작용할 수 있습니다.
지원되는 기기 유형의 전체 목록은 기기 유형을 참고하세요.
기기 특성
기기 특성은 기기 유형의 기능을 정의합니다. 여러 기기 특성을 모든 기기 유형과 결합할 수 있습니다. 예를 들어 Light 기기가 OnOff, Brightness, FanSpeed 특성을 사용하도록 할 수 있습니다. FanSpeed 특성은 빛에 사용하는 가장 일반적인 특성은 아닐 수도 있지만, 새 기기에 원하는 어떤 특성도 사용할 수 있습니다.
기기 유형에 기기 특성을 추가하면 추가한 각 기기 특성의 상태가 기기에 상속됩니다. 예를 들어 OnOff 특성을 사용하면 이제 기기에서 on
상태를 true
또는 false
로 보고할 수 있습니다.
지원되는 특성의 전체 목록은 기기 특성을 참고하세요.