hostmen.blogg.se

Install google assistant tag
Install google assistant tag












  1. #INSTALL GOOGLE ASSISTANT TAG INSTALL#
  2. #INSTALL GOOGLE ASSISTANT TAG CODE#

Use the standard IDE from the Arduino website. The Adafruit feed is protected for security reasons with an account name and a unique Adafruit IOKEY only known to the account owner. The Arduino MKR1000 is programmed to check this website reguarly, reading out the data in the feed and then it switches the relevant switching relay on or off.

#INSTALL GOOGLE ASSISTANT TAG CODE#

IFTTT sends the code associated with the command (in our case “one_on”) to this feed. Adafruit is an electronics supplier maintaining a website to store smart switching data. A well-understood command will be forwarded by IFTTT to the Adafruit website. If the command is not understood, the Google Assistant will return another answer to make it clear that no switching action will follow. If the command is fully understood the answer from IFTTT will be returned digitally to the Google Nest Mini and there it will be converted into an audio signal. IFTTT (If This Than That or “if you do one thing the other thing happens”) is a kind of intermediate station that analyzes the command, gives the answer and forwards the actions to the next cloud, the Adafruit IO. It is then forwarded to the IFTTT cloud where the answer is made. This analog audio signal is digitized and is sent to the Google Assistant cloud. The Google Nest Mini hears the voice command, for example “Hey Google, switch light number one on”. So set the language to English via settings / more settings / assistant / languages and then choose English (United States). Understanding your own voice commands with Google Home only works with the English language.

#INSTALL GOOGLE ASSISTANT TAG INSTALL#

Download it from the Playstore on your Android phone and install the app. You have to create an account for every cloud service… It is a bit cumbersome but it works!įirst you will need the Google Home app. Three (!) cloud services are required to do this.

install google assistant tag

Switching on and off via the voice commands runs completely via the internet. In this image you can see step by step how the whole process works. You will need the following components:ġ A smart speaker, for example a Google Nest Mini.Ģ An Arduino MKR1000 computer to convert the voice commands into switching commands.ģ One or more 5 Volt switching relays, one for each lamp you want to control.Ĥ A USB power supply for the Arduino MKR1000 with micro-USB plug.ĥ Main wiring (1.5 sqmm) and sockets for a safe connection of the lights and other appliances.Ħ An Android smartphone for the Google Home app.

install google assistant tag install google assistant tag

I will describe step by step how you can do this. You can also buy plenty very cheap smart lights and connction sockets but making it yourself is much more fun. You do not need many parts for it and it is a nice experiment to build this voice control yourself with a smart speaker, an Arduino mini computer and a few switching relays. With the help of the Google Home app and the Google assistant this is really a piece of cake …… Who doesn't want a smart home ? One of the nicest things you can do is switching the lights or other appliances in your house by voice control.














Install google assistant tag