Friday, January 1, 2021

Turning your house into a smart home with the Google Assistant

These include push-button, toggle switch, temperature sensor, streamer, indicator, etc. which can be used to control and monitor your IoT projects. Creating dashboardClick on the Actions drop-down menu button and select create a new dashboard. As you can see from the above image, I created a dashboard and named it “Home Automation“. 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.

how to control home appliances using google assistant

Since this is your first time on the platform, click on the “Explore” at the upper right and then the “Add + button” as seen in the image below. Obtaining or generating new AIO keyCongratulation! You will be able to integrate this cloud broker in your Google Home Appliance Control project.

Control smart home devices added to the Google Home app

Sign in using your Whirlpool account username and password. This will link your Whirlpool account to Google Home. Google Assistant will display a linking page to connect your Whirlpool® smart appliance user account with Google Home.

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.

Oven Commands “Hey Google...”

You can tell Google Home to turn on the lights, adjust the temperature, or play music. It’s a convenient way to control all of your devices without having to fumble around for your phone or remote control. All you need to do is link your account with the Google Home app and then give voice commands to your device. With the Google Assistant, you can easily control all the connected devices in your home, from lights, to thermostats, to appliances, all in one simple place.

Thus, I have created 4 applets to control 2-channel relay module from google assistant. You can create multiple applets as per the requirement. What does it take to start your day with a cup of delicious coffee and preheated oven for your croissants?

What is MQTT?

You can also do some pretty rad things through automation. Like having your smartphone ping your thermostat when you leave work and then automatically cooling your house so it’s just the way you like it when you get home. You can read the full list of supported devices here. Check for your device in the Home control list.

how to control home appliances using google assistant

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“).

Click Save and click the three dots, then select Project settings. Click Name your Smart Home action and then type a name, such as "Home Assistant". Enter a name for the project, such as "HomeAssistant" and then choose your language and country. Did you miss a session at Intelligent Security Summit? Head over to the on-demand library to hear insights from experts and learn the importance of cybersecurity in your organization. Tap the three dots in the upper right-hand corner to open the settings menu.

Choose a location for where you wish to assign the connected appliance within the “Home” previously selected. Home Connect works with Google Home to make every category of Home Connect enabled appliances accessible with just your voice. If you want to add some wash to a running washer or dryer, start the dishwasher after a dinner party, turn off the hood or get your favorite cup of coffee, you can ask Google to help. Or simply ask Google to preheat the oven to 200 degrees. During this time the NodeMCU should be connected with the WiFi. Now again tap on the "+" icon to add devices.

For coding the ESP8266 we are going to use Adafruit MQTT Library which you can download it from my GitHub account. In that library, we are just going to modify the example code called “mqtt_esp8266”. Sir Boateng Online is a platform for electronics projects, tutorials and educational resources. Aside creating tech tutorials, we also provide GES and NTC resources such as teaching syllabus, lesson notes, scheme of work and NTC trial questions. In the setup function (void setup () ) several pins to serve as outputs to drive the relays were declared. Connection to WiFi Hotspot and MQTT server was also done.

You can also ask Alexa to turn on and off the appliances. You can also ask Google Assistant to turn on and off the appliances. One of the most popular ways people use the Google Assistant in their homes is to watch movies and shows on their TV and play music.

You can control, monitor the real-time status of the relays in the Google Home App from anywhere in the world. You don't need any Google Home Nest device for this home automation project. The circuit is very simple, I have used the GPIO pins D1, D2, D5 & D6 to control the 4 relays. Millions of people already have access to the Assistant on smart TVs powered by Android TV, and we're still seeing tremendous growth. We’re also making it easy to turn any TV into a smart TV with Chromecast, so you can easily control what you’re watching with the Google Assistant from smart speakers like Google Home. And we’re working closely with partners to build the Assistant into the next generation of TVs available later this year.

how to control home appliances using google assistant

1 text for button and then click on create. This will create toggle button on your dashboard which can be used to control things remotely. This dashboard is a user interface to control things remotely.

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."

However, you can choose to write any phrases you like, something “switch on light one” or “switch on bedroom light“. Write what you will want google assistant to say when you command it with a trigger ( I chose “Ok boss turning on relay one” ). Arduino serial monitor connected to adafruit ioNow, open your adafruit dashboard and flip the toggle switch on and off while watching your serial monitor. You should see “Relay1 to Relay4” toggling from 0 to 1 in response to a switch state change on the adafruit dashboard. The code is pretty forward, with few modifications you will be able to control your appliance with google voice assistant app from your android phone.

No comments:

Post a Comment

13 Best Hair Glosses of 2024, According to Experts

Table Of Content Welcome the warm weather by adopting a spring-friendly hair care routine that'll leave you with luscious locks. Best Cr...