2.Integrate Google Home กับ Home Assistant
ไปที่ https://console.actions.google.com/ สมัครใช้งาน
จากนั้นไปกดสร้าง New Project ตั้งชื่อ
หลังจากตั้งชื่อ project แล้ว จะเข้า Get Started
เลือก Smart Home เลือก Start Building
เลือก Build your Action
กด Add Action(s) จะขึ้น
Build your first Action เลือก Get Started
เลือก Smart Home เลือก Build
ตรง Fulfillment URL
นำลิงค์ tunnel ที่ได้จาก ngrok บน home assistant มาใส่แล้วตามด้วย /api/google_assistant แล้วกด save
กดปุ่มจุด 3 จุดบนมุมขวาบนแล้วเลือก Project Setting
คัดลอก Project ID ไว้
ไปที่ Develop เลือก Account linking
เลือก No, I Only want to allow accoubnt creation on my website
ที่ Linking type เลือก OAuth