How to connect ESP8266 and Arduino with Google Assistant and Google Home App without IFTTT - Part 2

How to connect ESP8266 and Arduino with Google Assistant and Google Home App without IFTTT - Part 2

ElectroFun

54 года назад

19,429 Просмотров

This vide shows how to connect ESP8266 and Arduino devices with Google Home and Google Assistant without third party like IFTTT.

This video shows how to set up the a front-end application to create devices to be used with Google Assistant and Google Home app. Then you can connect through MQTT your IOT devices like ESP8266/Arduino/ESP32.

Instructions

Clone the github project smart-home-frontend :
git clone https://github.com/actions-on-google/smart-home-frontend.git
- Make sure you have Node.js and npm installed, if not, install both.
- At the directory smart-home-frontend give the commands below:
- Obs: run cmds in a shell terminal in linux or gitbash in windows:
firebase login
- Use the same project-id as used for java backend application, part 1.
firebase use --add project-id

npm install
npm run create-firebase-config
npm run serve

Open the front-end application.
After adding devices, do not forget to add field errorCode with an empty string, as explained in the video.

ESP8266 code example on this video can be found here:
https://github.com/electrofun-smart/smart-switch-esp8266-google-home
git clone https://github.com/electrofun-smart/smart-switch-esp8266-google-home.git

Mqtt library used: https://www.arduinolibraries.info/libraries/mqtt version 2.4.7

If you have any questions or suggestions, please add your comments down below and I will answer!
Thanks for watching!

Тэги:

#smart-home-frontend #smart-home #google_assistant #google_home_app #esp8266 #arduino #without_ifttt #smart-switch #mqtt
Ссылки и html тэги не поддерживаются


Комментарии: