Table of Content
For example, an applet may send an e-mail message if the user tweets using a hashtag or copy a photo on Facebook to a user's archive if someone tags a user in a photo. After selecting toggle feed, pop-up window appears as shown below. I'm obsessed with smart home tech and channel my obsession into new stories for Consumer Reports. When I'm not writing about products, I spend time either outside hiking and skiing or up in the air in small airplanes. For my latest obsessions, follow me onFacebook andTwitter (@danwroc).
Now, select “Say a simple phrase” as a specific trigger. For more detailed instructions on how to use voice commands to control your Philips Hue lights, check out this support article from Philips. Now you know how to control lights with Google Home using theGoogle Home app andtheGoogle Assistant. Google Home support is available on select Whirlpool® smart appliances when set to Remote Enable.
Control smart home devices with voice commands
We’ve been working with device brands around the world to ensure the Assistant works with all the most popular smart home devices. We recently announced support for IKEA lights and Deutsche Telekom’s Magenta hub which enables dozens of devices to be controlled by Google Assistant. Here, I used IFTTT to use google assistant service and Adafruit service in chain.
Since this is your first time on the platform, you will be prompted to connect to Adafruit. Click on the “Connect” button and log in to accept the connection. Connect the NodeMCU to your computer and upload the code. When the upload is successful, switch on your router or phone hotspot and open the Arduino IDE serial monitor. The final code is needed to connect and reconnect as necessary to the Adafruit MQTT server. This snippet was part of the example code provided by Adafruit when you installed the library.
Washer Commands “Hey Google...”
Then Add devices one by one and give the nickname for each device. Sinric will assign a unique device ID for each device. You will get an APP KEY and APP SECRET for the account, which will be required in the code. After that, I have soldered all the components as per the circuit diagram.
Open thislink, highlight and copy thecodefrom the text editor to your Arduino IDE text editor and save.Now edit the sketch with your own credentials as shown below. Selecting a blockAs soon as you click on the toggle button, you will be prompted to choose a feed. Select one of the feeds and click on Next.
Configure IFTTT
If This Then That, also known as IFTTT is a free web-based service to create chains of simple conditional statements, called applets. An applet is triggered by changes that occur within other web services such as Gmail, Facebook, Telegram, Instagram, or Pinterest. IFTTT stands for If This Then That which basically provides a platform on which we can merge two different services. Now you can call up your routine simply by asking Google, or it can be triggered by your chosen time of day. As you create more routines and connect more devices, your home can be smarter and more convenient. Open the assistant with the google account used for activating on the IFTTT page.
After selecting all the Parameters for PCB click on SAVE TO CART button. Click on the "Add your Gerber file" button. Then browse and select the Gerber file you have downloaded. The NodeMCU will check for the WiFi after every 5 seconds. When the WiFi is available, the NodeMCU will automatically connect with the WiFi. You don't need any Echo DOT device for this home automation project.
In some cases, if you are unable to connect to the assistant, you can also use the Google messaging app which includes the Google Assistant. That’s it, you have a complete IFTTT applet linked to both Google Assistant and Adafruit IO. Now, in your IFTTT platform, you should now see two applets. One for turning on and the other for turning off. You will be prompted with a new list of fields to fill in. This includes variations of the trigger phrase and the Google Assistant’s response as well as the language.
Start by clicking on the blue button with + sign at the upper right and select the appropriate button or block. Not only does Adafruit provide a free MQTT service but they also allow users to customize dashboards that let them directly manipulate or view their current value of each topic. Adafruit dashboardAdafruit IO is an internet of things platform developed using the Message-Queue-Telemetry-Transport Protocol. The broker will perform all the background magic while we concentrate on the projects’ performance and extended functionality. In this project , I used the adafruit MQTTbroker. To use Google Home with Whirlpool after unlinking, you will need to relink your account.
There are lot of changes you need to do in that code, so better watch my tutorial video. And yes you also need to make an account in io.adafruit.com before uploading the code as there are few details of your account which you need to enter in the code. So watch out my video attached in the end of the article to know the process. You can repeat the steps to get as many applets as you want. For this tutorial, I created eight applets . This window has the applet editor, where you can choose a particular trigger (“If This“) and the corresponding action (“Then That“).
For example, you can control a TV if you have the Logitech Harmony Hub. Officially, Google Assistant does not support this platform, but you can use IFTTT to make it work. After you set up your device in the Google Home app, you'll also be able to control it from your phone or tablet. // The following line will set the api key and device name. It will be auto-initialized by Bolt cloud. "The project is completed and you can control the light bulb through Java script and your Google Voice Assistant."
BOLT, users can control and monitor devices from any part of the world. This application includes Google assistant along with Adafruit server and IFTTT service. Making acoount in IFTTT and making applets in that application is a bit lengthy process and it will be difficult to explain it in words. So for this kindly watch my tutorial video. For example, you could automate your devices so that when you say “Hey Google, goodnight,” your lights turn off, your front door locks, and your thermostat turns down for the night. Type in “1” which is part of the controlled commands the NodeMCU is waiting for.
Navigate to the “Home Control” option and choose it. The sync is complete when the circle disappears. There was a problem preparing your codespace, please try again. // Create an ESP8266 WiFiClient class to connect to the MQTT server.
We can control smart home devices including lights, switches, fans and thermostats using our Google Assistant. The Google Assistant is the voice service available on Google Home, the Google Assistant app, and on supported Google Home devices. Google Home allows you to use voice commands to simply and quickly control your Whirlpool® connected appliances. You may also link your appliances to other smart home devices, scenes, and automations via the Google Home app.
No comments:
Post a Comment