윈도우 10에서 구글 어시스턴트 명령

by DDART posted Sep 08, 2019
?

단축키

Prev이전 문서

Next다음 문서

ESC닫기

크게 작게 위로 아래로 댓글로 가기 인쇄

python 3 최신버전 다운받아 깐다. path에 등록 옵션 켜기

구글 클라우드 플랫폼에 새프로젝트추가

Google Asisstant API 추가 및 Enable

OAuth client ID 타입의 Credentials 생성후 PC로 json파일 저장

 

py -m pip install google-assistant-sdk[samples]

pip install --upgrade google-auth-oauthlib[tool]

google-oauthlib-tool --client-secrets e:\googleassistant\client_secret_943755704428-o05gdoc3i0m42qdqpoqgnkrrnrh8tgbd.apps.googleusercontent.com.json --scope https://www.googleapis.com/auth/assistant-sdk-prototype --save --headless

-> 제시된 URL로 접속후 나온 authorization code 입력해서 사용자디렉토리에 credentials 파일 생성

 

pip install --upgrade google-assistant-sdk[samples]

googlesamples-assistant-audiotest --record-time 10

googlesamples-assistant-devicetool --project-id ga-on-pc-252311 register-model  --manufacturer “Assistant SDK developer” --product-name “Assistant SDK light” --type LIGHT --model DDART8700K 

googlesamples-assistant-pushtotalk --project-id ga-on-pc-252311 --device-model-id DDART8700K --lang ko-KR