Create smart home devices using Google Actions | Integrate smart home devices with Google Assistant

  Рет қаралды 20,967

Sid's E Classroom

Sid's E Classroom

4 жыл бұрын

A guide to develop your own smart home devices using Google Actions and Google Assistant. A guide to integrate Google Actions and Google Assistant. Integrate Google Actions with Google Assistant. Create smart home devices using Google Actions Device Types and Device Traits. Home automation without IFTTT and Adafruit.io. Homeautomation without IFTTT.
Link to the Project: github.com/shivasiddharth/goo...
Link to Nodejs: nodejs.org/en/download/

Пікірлер: 203
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Regarding the blaze plan, yes now without setting up the blaze plan the deployment is not going to work. I went through the documentation and terms. Though we need to setup a payment plan, the usage will be within the free limits of the Blaze plan (thats based on normal usage). But if you are going to hammer requests every second, you may end up paying. As it is the project is not broken, but it requires people to setup a payment plan. Most of them would not do that, it hurts me bad to see this project getting stagnant after putting in so much of efforts. The devices need to be configured in a seperate JSON file instead of directly modifying in the index.js. Please go through the README in the GitHub for updated instructions. Other than nothing has changed from the video demo.
@simoneromeo2229
@simoneromeo2229 3 жыл бұрын
Ciao, this tutorial looks very interesting! I've arrived to the deploy of firebase and it is asking for Blaze plan. I'm quite a n00b in that, but I would like to know what you means with "if you are going to hammer requests every second, you may end up paying", you mean that if I make request to google home to use a device in continuous way I'll pay? Thank you
@brunobeletti3891
@brunobeletti3891 3 жыл бұрын
@@simoneromeo2229 Firebase has free limits that you can check at firebase.google.com/pricing , If you exceed them you will have to pay them, the cost is also minimal.
@shantanusingh6699
@shantanusingh6699 3 жыл бұрын
you are my lifesaver dude i was going through all the google documentation and was running into errors and wasn't able to do anything this video helped me more than anything loved it thanks a lot
@baliegomurilo
@baliegomurilo 4 жыл бұрын
Hi, I'm using the code example available on github (actions-on-google/smart-home-java) that is similar to what you've used here using Node.js. I've setup everything accrdingly, also I'm using the front-end application that builds the devices json in database (similar as your devices.json). Now I'm just wondering how to code in arduino as Cloud Firestore database is used instead of RealTime Database used in your example. Could you give me some hints? Thks
@RahulPandit-fm9bg
@RahulPandit-fm9bg 3 жыл бұрын
Why device id is showing in real-time database
@ayanchakraborty9055
@ayanchakraborty9055 4 жыл бұрын
hi #sid can you please help me out. iam trying to connect ghome with a nodemcu by mqtt not with firebase.
@CarlosGarciaFPV
@CarlosGarciaFPV Жыл бұрын
Hello! I think I found a problem in the index.js file, at line 269 change: "let state, let ref;" by: "let state, ref;" I had problems compiling with this. Cheers
@RahulPandit-fm9bg
@RahulPandit-fm9bg 3 жыл бұрын
Can we use this project in different device with some unique ID's Please reply
@anuragrai2002
@anuragrai2002 3 жыл бұрын
If yes what are the changes I have to do
@saassociates1589
@saassociates1589 3 жыл бұрын
Hi, hope you're doing good, sid can you please tell me how do i make my device to google assistance so everyone can see as i've seen alot of devices are being added like altro smart, tuya, AGL home, i just want to add my device so that it could be public for everyone, kindly please guide
@booksintamil
@booksintamil 3 жыл бұрын
how to add podcast to google action??
@RahulPandit-fm9bg
@RahulPandit-fm9bg 3 жыл бұрын
How can scale this products in big amount please reply
@vijayvikma4994
@vijayvikma4994 4 жыл бұрын
Great Video. Thanks for sharing. Is it possible to avoid Firebase and have all logic in my own aws server where I already have websocket connection with my device
@vulppidev
@vulppidev 2 жыл бұрын
Thanks man. Your video is very helpful.
@oleksandrvorovchenko8674
@oleksandrvorovchenko8674 4 жыл бұрын
Great job! Thanks!
@andreacostantino7388
@andreacostantino7388 4 жыл бұрын
Could you please explain how to send HTTP requests with Google Home and voice control? Thank you very much
@christianbricaud4577
@christianbricaud4577 3 жыл бұрын
It's very good, I would like to add other types of devices like a door, a garage, a gate. Can you give any advice. Thank you
@anuragrai2002
@anuragrai2002 3 жыл бұрын
Can we use arduino uno board
@kienmic99
@kienmic99 3 жыл бұрын
Thank for your tutorial !
@sparsh_editx
@sparsh_editx 4 жыл бұрын
please make in depth video i want to learn more how its all working (in depth )
@naderhany3639
@naderhany3639 4 ай бұрын
man you are awesome
@augustpreisler1565
@augustpreisler1565 3 жыл бұрын
Thanks for the great tutorial! I’m facing a problem where my ESP responds only once to the firebase. The google actions is working fine though and I can see my values changing in my Realtime database. Do I have an outdated version of your code, or am I missing something?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Can you check if the versions of the libraries installed match the version given in the readme ?
@shilpagoswami2477
@shilpagoswami2477 3 жыл бұрын
Hi Mr. Shivasiddharth Can you please suggest me how to retrieve the email of login user? So that I can generate the list of devices from my database. Thanks Shilpa
@adammizam7716
@adammizam7716 2 жыл бұрын
Hi Sid's E Classroom, are you familiar with CSRMesh libraries?
@anish.g6235
@anish.g6235 3 жыл бұрын
I want to configure it for multiple switches do I have change anything in the loop part or only adding the device id to the string is enough in Arduino IDE code
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
You cannot have multiple devices per one ESP. Based on my tests, I found it to crash. Its one device per ESP.
@baliegomurilo
@baliegomurilo 4 жыл бұрын
Hi, thanks for this great tutorial! What is the correct WIFIManager library used in NODEMCU examples?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
github.com/tzapu/WiFiManager this one
@baliegomurilo
@baliegomurilo 4 жыл бұрын
@@SidsEClassroom Thanks for your replay!
@stashfeen
@stashfeen 3 жыл бұрын
I have downloaded the project from GIT but the devices are not added in the index.js file like the RGB color changing or the switch. Can you please help me in this
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Please go through the pinned comment here or the README of the project
@ANILKUMAR-ot9ic
@ANILKUMAR-ot9ic 3 жыл бұрын
BRO how to link other mail accounts through the account linking option....please help me ......thank you and awesome video...
@chrisrosenkreuz23
@chrisrosenkreuz23 2 жыл бұрын
wait so this is to add non-smart devices to google home? like an old webcam to use as surveillance or stuff like that?
@SidsEClassroom
@SidsEClassroom 2 жыл бұрын
Yes
@alfiansyahroni334
@alfiansyahroni334 3 жыл бұрын
how to connect to mqtt broker?
@zleipnirgoh5972
@zleipnirgoh5972 4 жыл бұрын
Thanks. So how does the hardware side link up? through Wifi or IR hub or what?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Its via WiFi. I have provided the sample device files check that out.
@zleipnirgoh5972
@zleipnirgoh5972 4 жыл бұрын
@@SidsEClassroom Can it also work on Kyla IR Smart Cube remote UI elements?
@TioMuhamadNur
@TioMuhamadNur 4 жыл бұрын
Where can i find the updated index.js from this project?
@jacktheripper2109
@jacktheripper2109 4 жыл бұрын
github link in description
@user-lm7rz5mv9x
@user-lm7rz5mv9x 3 ай бұрын
i have done everything what you show in video but when i try to connect my test device suing google home app it shows page not found when i click on my test device. so can you please tell me what's the wrong with my setup
@keshavgogia3090
@keshavgogia3090 Ай бұрын
same problem, did u find a solution to it?
@igorguryev
@igorguryev 4 жыл бұрын
Great video! Need help though. I don't get it, how does it work on the server side? I'm hosting my own server. So when I run the script it just does something and quits. It should actually stay active and listen to a port. Right? So when you deploy it, what's going on on the other side? Is it integrated into functioning web-server?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Once you get the URL to the functions, its pretty much done. It is being hosted in cloud so, you dont need to have your system or port open. There is another project the smart-home-nodejs in the git which requires the system to be running as you are hosting the web interface locally.
@igorguryev
@igorguryev 4 жыл бұрын
@@SidsEClassroom Thanks for the fast reply! I'm actually decided to follow exactly the steps you've described (on your GitHub project). And I can't get the devices to appear on Google Home app. A deployed the firebase and revised it. All the functions are there. However, when I select the account from "Manage Accounts" page, I'm being redirected to the fakeauth page. After this it is returned back to the accounts list and nothing else happens. Can you suggest what can be wrong?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
This is an issue with the web interface for authentication. When you click on the test app, a webpage will open on the top right, you will have three dots or hamburger icon, click on that and choose some other browser.
@igorguryev
@igorguryev 4 жыл бұрын
@@SidsEClassroom That was the issue! Thanks a lot. I haven't been sleeping for the last 3 days trying to figure this out. You practically saved me.
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Cheers !
@waveon962
@waveon962 Жыл бұрын
Thank you for the video, Apart from the Blaze plan , i get an error when i try to deploy firebase: "Error: Failed to load function definition from source: Failed to generate manifest from function source: SyntaxError: Unexpected strict mode reserved word" Do you have an idea where it come from?
@Nicolas_Gonzalez
@Nicolas_Gonzalez Жыл бұрын
Hey, I have the same error have you found a solution ?
@CarlosGarciaFPV
@CarlosGarciaFPV Жыл бұрын
Hello! I think I found a problem in the index.js file, at line 269 change: "let state, let ref;" by: "let state, ref;" I had problems compiling with this. Cheers
@CarlosGarciaFPV
@CarlosGarciaFPV Жыл бұрын
@@Nicolas_Gonzalez Hello! I think I found a problem in the index.js file, at line 269 change: "let state, let ref;" by: "let state, ref;" I had problems compiling with this. Cheers
@Marcosdandrea
@Marcosdandrea 3 жыл бұрын
Thanks a lot for this tutorial, it helps me to clarify a lot about iot ecosystems with google. Now I have a question, if I create a project, with an iot device like a lamp, and I want to give it to someone else to use it, will this person configure the "works with google" feature at his google home account? Like in this case is "[test] my home devices"? How do you remove the [Test] status? The project will be visible for everyone?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
What you are trying to achieve is a public app. The authentication tokens are dummy in this case. For a full fledged app you need to setup account linking something similar to this www.jovo.tech/tutorials/google-action-account-linking-auth0 to give public access. The firebase has limited free usage. If you are opening it to public, you may have to upgrade your plan. Once you have all the basses covered you need to submit the finished app to Google for them to approve.
@Marcosdandrea
@Marcosdandrea 3 жыл бұрын
@@SidsEClassroom what app? An android app?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@Marcosdandrea These are called apps or applications for Google Actions/Assistant.
@roshanverma3008
@roshanverma3008 3 жыл бұрын
successfully deployed the project but while connecting the device in google home app it opens the browser saying Link devices but after clicking on that nothing happens no devices is showing on my home app please help its been 3 days i haven't slept properly !
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Check Tomas's and Derek's comments.
@syedaizaznaqviofficial5453
@syedaizaznaqviofficial5453 4 жыл бұрын
Where to place project id in our own fullfilment url
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
2:47
@massimodileo7169
@massimodileo7169 4 жыл бұрын
Hi Sid, will this method be suitable for a mass production device? I mean if I would like to distribute many devices of the same kind, will it be possible to let the users control their devices at home without the need to create their own action? Could this method be used with a public action?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Yes but for that you need to set up an authentication service.
@massimodileo7169
@massimodileo7169 4 жыл бұрын
Sid's E Classroom thanks. Do you know any tutorial to suggest?!
@letechtamil3089
@letechtamil3089 4 жыл бұрын
@@massimodileo7169 I am also trying to do the same but i couldn't find any tutorial for it .
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Something similar to this www.jovo.tech/tutorials/google-action-account-linking-auth0
@aishwaryakanchan4673
@aishwaryakanchan4673 3 жыл бұрын
Hi Thank you for this wonderful project. I wanted to ask if we could use a raspberry Pi instead of the esp as mentioned in the video. Also, if we can, can someone please suggest some resources to help me port my code to python. Thanks :)
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
These are just javascripts that can be run on any linux machine. The README instructions can be used for Raspberry Pi. If you want to use a raspberry pi client instead of ESP, please check for python samples for firebase database.
@hitenlulla2713
@hitenlulla2713 3 жыл бұрын
Hello sir. Could you list all the libraries and the versions that you have used in the .ino files?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Please go through the README
@sohamkorgaonkar4152
@sohamkorgaonkar4152 3 жыл бұрын
There is some error that has come recently, this happened when I tried to add a project on my 2nd account. Everything works till the app part but when i try to add the devices in google home, it just doesn't link, like nothing happens when i click on the [test]Project name. Any fix?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Check Tomas's and Derek's comments.
@sohamkorgaonkar4152
@sohamkorgaonkar4152 3 жыл бұрын
@@SidsEClassroom thank you soo much It worked I added the device using my old phone and it worked like before.
@ramanpahwa2845
@ramanpahwa2845 3 жыл бұрын
Hi, Can you please guide from where i can get the client ID and secret? and also the fulfilment URL.
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Please go through the video carefully, I have covered every bit in detail. ALso go through the project README.
@ramanpahwa2845
@ramanpahwa2845 3 жыл бұрын
@@SidsEClassroom Thanks for your reply! Still not understood from where i will get the fulfilment URL? Do i need to create it on my own server and how it is programmed?
@khalidshaka
@khalidshaka 4 жыл бұрын
Hi, 1st, really great work! I have followed your video and guide (only DHT22 sensor) and I got my data to get to firebase, I can see the live results. I had to enable OAuth consent screens before I could add the device in my androind home app. Now I can see the ambient temperature sensor but it says off and i cant figure out why. Can you pint me in the right direction please
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
There are two aspects to thermostat trait: 1) Control, that is you can set temperature, modes etc. 2) Query, where we query the temperature sensor values. We dont have a temperature sensor device strait, so we use the thermostat trait and disable the control aspect and use only the query aspect to get the temperature. As we have disabled the control aspect it is reporting the status of the sensor to be "off". People have opened an issue with google regarding this and it is work in progress. Regarding the homegraph errors, check point number 3 under the note. github.com/shivasiddharth/google-actions-smarthome#note you need to give a unique user agent id
@tomixug
@tomixug 4 жыл бұрын
Hello, I tried following your tutorial. I think I did everything correctly. After adding the [test] service. It goes to Firebase hosted authentication website then it closes and does nothing. In Firebase in functions tab there is logs tab. In there there aren't any errors but before auth url it says: Billing account not configured. External network is not accessible and quotas are severely limited. Configure billing account to remove these restrictions'. Is this why it doesn't work? Ty for reply
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Billing has nothing to do with this. Did you run or test the app in the actions console ? Run the firebase deploy command 3-4 times. If you had issues with authentication of the test app, i would suggest you to try using another device like a tablet which has your google account running. If you would like me to take a look at the logs, you can open an issue here github.com/shivasiddharth/google-actions-smarthome
@tomixug
@tomixug 4 жыл бұрын
@@SidsEClassroom Ok I will try thanks Edit: yes I ran the test app
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Let me know if it worked.
@tomixug
@tomixug 4 жыл бұрын
@@SidsEClassroom I tried it on Samsung Galaxy A5 2016 default ROM. And it worked thanks :D Edit: I have Pixel Expierence 9 Pie ROM my main phone
@zjihf
@zjihf 2 жыл бұрын
Google should hire you! Why can't they provide such good Turtorials for their own products?
@letechtamil3089
@letechtamil3089 4 жыл бұрын
Is Client ID and Client Secret is common for all ?
@ramanpahwa2845
@ramanpahwa2845 3 жыл бұрын
hi, did u find the client id and secret?
@roshanverma3008
@roshanverma3008 3 жыл бұрын
I have deployed the project but now i am getting error while compiling the NodeMCU-Wemos-Switch.ino code it says Error compiling for Nodemcu so please help and also How can i add 4 devices into this code ?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Please check the README for appropriate library versions. Mostly it will be a version error.
@roshanverma3008
@roshanverma3008 3 жыл бұрын
@@SidsEClassroom yes its done now but after uploading the code it's not working I can see the database change but nothing is printed kn the serial monitor also the led is not turning on/off plzz help m very close
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@roshanverma3008 Check the code. Make sure to make changes to the correct pin numbers and baud rate.
@EAlegodude
@EAlegodude 3 жыл бұрын
deploying to firebase fails. i followed this video but it seems not to work. Error message is: It looks like you haven't created a Realtime Database instance in this project before. Please run firebase init database to create your default Realtime Database instance. Can you assist please?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Have you made any changes to the devices json file ?
@EAlegodude
@EAlegodude 3 жыл бұрын
@@SidsEClassroom no none at all. Firebase also complains that node 8 is not supported anymore.
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Node 8 is just a warning. Did you rename the json to smart-home-key.json? Does firebase use command bring up anything ? I would prefer to look at a screenshot. There could be some details that could catch my eye.
@LizMyers
@LizMyers 3 жыл бұрын
Hi Sid - thanks very much for the great video tutorial and README doc. I've got everything working - EXCEPT the Neopixel strip doesn't change state (on/off) or brightness. I can see the state/brightness change in FB RTDB. And I can change the data with both voice and G. Home app. DataPin IN = D6. Power and Ground are connected correctly. (Other scripts work with this NodeMCU, Neo strip and wiring. What am I missing?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Which NodeMCU are you using ? Did you check the serial monitor ?
@LizMyers
@LizMyers 3 жыл бұрын
@@SidsEClassroom I’m using a generic one and the Serial monitor prints the path /OffOn and /Brightness but doesn’t seem to execute the if statement below that
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@LizMyers Have you used the same library versions that I have indicated in the project README ? Have you modified any part of the code ?
@LizMyers
@LizMyers 3 жыл бұрын
@@SidsEClassroom let me double check and come back to you later today. I noticed Node.js 8 has been deprecated and wonder if the eventType “put” or “patch” have changed? That conditional statement doesn’t get executed b/c I don’t see any Serial.print statements within that if statement
@LizMyers
@LizMyers 3 жыл бұрын
@@SidsEClassroom Good News!
@letechtamil3089
@letechtamil3089 4 жыл бұрын
Thank you #sid I was hitting my head to figure it out for the past two months Your previous Integration of Google assistant to raspberry GitHub page was also helped me a lot. I would like to learn from you more can you tech me ?
@parthkothiya8226
@parthkothiya8226 4 жыл бұрын
how can i create new devices is there any example or any resource to learn this code?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Please go through the pinned comment and another comment where you can find instructions.
@parthkothiya8226
@parthkothiya8226 4 жыл бұрын
@@SidsEClassroom deploy of functions gives error it require blaze plane for upgrade project.
@akshatkumar369
@akshatkumar369 4 жыл бұрын
Can I control multiple devices from a single esp module?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Each ESP is a separate client which receives commands directly from firebase.
@akshatkumar369
@akshatkumar369 4 жыл бұрын
@@SidsEClassroom So I cannot control multiple devices with a single esp board?
@hitenlulla2713
@hitenlulla2713 3 жыл бұрын
Hello sir, I followed all your steps from the github as well as video, Still while connecting the Google Home to Test, It gives an error, "Could not reach [test] My Home Devices. Please Try Again." Can you help me with this? It's urgent as I'm making this project for my college and I'm on a deadline.
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Check if the deployment was successful. Also, you need to test the app in the actions console.
@hitenlulla2713
@hitenlulla2713 3 жыл бұрын
@@SidsEClassroom Done sir, There was a bug in index.js - something related to strict mode. Fixed it and it worked.
@xXFULLFU210NXx
@xXFULLFU210NXx 2 жыл бұрын
@@hitenlulla2713 hi how did you fix this? I have the same error
@pierre1737
@pierre1737 3 жыл бұрын
THE SOUNNNNNNDDDDDDDDD .... i don't have ears anymore.
@adityavijayvargiya1330
@adityavijayvargiya1330 2 жыл бұрын
Hey, it's a great video brother, but I am facing a problem that when I try to link my app through the app then i says "couldn't connect please try again later". I followed exactly what you've done but still not getting the output can you help me in this
@SidsEClassroom
@SidsEClassroom 2 жыл бұрын
Please go through the comments below. I have answered it already.
@adityavijayvargiya1330
@adityavijayvargiya1330 2 жыл бұрын
@@SidsEClassroom Thank you brother can you help me for how can I validate new users in the cloud functions?
@RR-rz7jp
@RR-rz7jp 3 жыл бұрын
Hey, I have been trying to create a smart home project and would love some guidance. Would I be able to ask you some questions?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Shoot your questions. Will try my best to be of any help.
@RR-rz7jp
@RR-rz7jp 3 жыл бұрын
@@SidsEClassroom I am interested in using the heart beat sensor to turn off my TV when my heart rate drops below 55 bpm. You could do this by also connecting the IR sender to the board as well. Do you think this is possible?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Can be done
@RR-rz7jp
@RR-rz7jp 3 жыл бұрын
@@SidsEClassroom you should make a video on it hahaha, that would be really awesome
@Danuka_Savinda
@Danuka_Savinda 3 жыл бұрын
Can I use single esp to control multiple devices with this??
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
You need one ESP per device. NodeMCUs are dirt cheap.
@Danuka_Savinda
@Danuka_Savinda 3 жыл бұрын
@@SidsEClassroom ok man thanks
@p._7555
@p._7555 4 жыл бұрын
I got some problems on the two first tries, but at last it end-up working, THANKS!!! PD: how i update the devices? where should i upload the new "devices.json"?
@p._7555
@p._7555 4 жыл бұрын
#sid is the a way to feedback the success of the action on the ESP?
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Glad you got it working. You can edit the existing devices.json. Remeber to place it in the functions folder where you have the index.js file. If the action is executed correctly, the changes will be reflected in the ESP immediately. You cna use the sample NodeMCU codes that i have given.
@p._7555
@p._7555 4 жыл бұрын
@@SidsEClassroom Thanks again. I've had not explain well: I mean a feedback to the HOME or Firebase that the command had successfully execute on the ESP. PD: I was thinking of a ID=0 or a child on the same ID, that the ESP could write the "command executed successfully". Then alter the "status: 'SUCCESS' " according to the response of the ESP. PD2: have no idea of nodejs. PD3: maybe a WDT to the response of the ESP to the cloud. (did i express correctly?)
@ravdeepsinghkhanna6222
@ravdeepsinghkhanna6222 3 жыл бұрын
I am getting an error `Something went wrong. Try again.` when i click on the action while adding a device. I have followed all the steps and the firebase deployment was successful. Could you please help?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Something went wrong usually occurs if the assistant has lost connection to internet.
@ravdeepsinghkhanna6222
@ravdeepsinghkhanna6222 3 жыл бұрын
@@SidsEClassroom I checked the internet on my phone and it is working fine. I tried the above steps again and it still gave me the same error :(
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@ravdeepsinghkhanna6222 I dont understand as to what you mean by clicking on the action while adding a device. Can you explain a bit more ?
@ravdeepsinghkhanna6222
@ravdeepsinghkhanna6222 3 жыл бұрын
@@SidsEClassroom when i open my google home on ios, i clicked on set up a device. From that, i selected the second option which says Works with Google. This opens a list of apps. From the list, i selected mine. When i click on that, it gives me an error
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Much clearer. Check Tomas's and Derek's comments.
@zakhisyah974
@zakhisyah974 4 жыл бұрын
hi, this is a great project but when I opened your index.js, I didn't find the configuration that you explained, if you don't mind please write it in index.js thank you very much
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Please go through the README or the project page in the GitHub. The devices have to be configured in a seperate JSON file.
@zakhisyah974
@zakhisyah974 4 жыл бұрын
@@SidsEClassroom thank you for replying, I've tried to download and move my JSON file but in the index.js it still doesn't display the configuration that you explained, please help me
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
index.js will no longer display the devices information. The devices need to be setup in the devices.json file. What you see at 12:24 in the video is same as what is in the devices.json. The devices list has not changed. In the video it was shown inside index.js, but now it has been moved out of index.js and has been placed inside devices.json. Thats all.
@zakhisyah974
@zakhisyah974 4 жыл бұрын
@@SidsEClassroom hello thanks for the tutorial and it worked for me, but I have a problem in the code wemos can you make a video tutorial about it, thank you
@2rugall
@2rugall 3 жыл бұрын
Muchas gracias me funciono e incluso lo modifique para enviar datos a mi broker mqtt para los dispositivos que ya tenia configurados como clientes mqtt. Solo tengo una duda: por ejemplo cuando creo un dispositivo smart switch y digo ok google encender la luz de mi habitacion, este me responde: luz de mi habitacion encendida. como podria cambiar la respues para que diga, se ha encendido la luz de tu habitacion.
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
We cannot change that. Google decides those kind of stuff at least as far as I know.
@narendok2115
@narendok2115 3 жыл бұрын
Hi bro, can please let me know the possibilities of doing this control with raspberry pi? is there a reference on Pi code.
@narendok2115
@narendok2115 3 жыл бұрын
I did it, Btw thanks , Thanks Mr. Sid for such great tutorials...
@shan_singh
@shan_singh 3 жыл бұрын
15:51 It shows error - you haven't created a real-time database instance in this project before.
@chetanjain4685
@chetanjain4685 3 жыл бұрын
same. how to overcome that ?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@chetanjain4685 Did you setup the billing account properly. ?
@shan_singh
@shan_singh 3 жыл бұрын
@@SidsEClassroom hey thanks for replying I read few discussion I followed all the steps in the video But I'm using the free account version Google didn't support node8 anymore for cloud services, we have to upgrade to node10 or else it won't work And node10 uses some of the paid features so we also have to upgrade our plan Maybe this is the reason for project not working Also I set up database directly from Google cloud using your link just changing project id, but I wasn't able to get that app in Google home Is you project still working? Also, have you done this project using free version or paid of Google cloud account?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@shan_singh just a week a ago I heard from someone that it was working. Node 8 is just a warning. I will give it a test run and revert back.
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@shan_singh Hello. The database needs to be initialized before , I have added the command for that in the README document. You need to use firebase init database to initialize the database. Regarding the blaze plan, yes now without setting up the blaze plan the deployment is not going to work. I went through the documentation and terms. Though we need to setup a payment plan, the usage will be within the free limits of the Blaze plan (thats based on normal usage). But if you are going to hammer requests every second, you may end up paying. As it is the project is not broken, but it requires people to setup a payment plan. I know that most would not do that, if you intend to control just RGB strips and relays, I have something coming up thats free.
@danielalejandrogonzalezmor9437
@danielalejandrogonzalezmor9437 3 жыл бұрын
Hello Mr. just a question, do i need to be on the Blaze plan to be able to deploy?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
There is no need to pay. Please do not make any plan choices. This is FREE.
@vatspanchal6146
@vatspanchal6146 3 жыл бұрын
@@SidsEClassroom but it shows, it cant be done without the blaze plan it shows: Your project ********** must be on the Blaze (pay-as-you-go) plan to complete this command. Required API cloudbuild.googleapis.com can't be enabled until the upgrade is complete.
@amitshaw9511
@amitshaw9511 3 жыл бұрын
@@vatspanchal6146 It was free before, now if you want to use cloud functions you need Blaze plan.
@myblueman312
@myblueman312 3 жыл бұрын
Hi Sir, I able to run ur project successfully. Thanks but sorry for disturb. I am going to do a smart home actions. Here I have some questions: 1. How do I prepare a login page for authentication? 2. I am confusing on the fulfilment/webhook that how to communicate to my server.Based on others’ comments, it seemed to remain the fulfillment url which you prepared. 3. I am adding another devices such as curtain panel, camera gateway, and scene panel, they did not show up the ui after tap it from google home dashboard page, so is it have to design by own? Anyone might share your opinions here, because i really no idea and stuck on it. Thanks a lot.
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Check this link for account linking for businesses www.jovo.tech/tutorials/google-action-account-linking-auth0 If you dont add the devices properly, it will not show up. There could be an issue with the format or the parameters for the devices that you added. It took me several tries to get things right. The Google's document helps to some extent.
@myblueman312
@myblueman312 3 жыл бұрын
Thanks sir
@krishankrish7657
@krishankrish7657 3 жыл бұрын
I used the same code from GitHub. I was getting the issue "could not update setting. please check connection ". I am new to google home integration. I have checked the console log it was showing "SYNC: Request ID 8469436960751451386 failed with code: BACKEND_FAILURE" could you help me
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
Did you follow all the steps properly ? Did you change anything in the device list ?
@krishankrish7657
@krishankrish7657 3 жыл бұрын
yes.i did not change anything
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@krishankrish7657 Did you change the agentUserid ?
@krishankrish7657
@krishankrish7657 3 жыл бұрын
@@SidsEClassroom No. should I change agent Userid. Where do I get an agent Userid?
@SidsEClassroom
@SidsEClassroom 3 жыл бұрын
@@krishankrish7657 Please go through the notes that I have given in the project README.
@ramshiva4558
@ramshiva4558 4 жыл бұрын
Dear sir I have been following you video Can u plz u r email address so for clarifying my doubts .and how will the esp8266 connect to wifi which to the internet should we define the username and password in Arduino program
@jacktheripper2109
@jacktheripper2109 4 жыл бұрын
hi and thanks for great tutorial. I just have one comment. For me immediate redirect on authentication page didn't work (test account wasn't connected with my google home). Had to change it so auth page showed clickable link. From then everything worked without problem.
@SidsEClassroom
@SidsEClassroom 4 жыл бұрын
Authentication issue hopefully will be resolved in the next update.
@hitenlulla2713
@hitenlulla2713 3 жыл бұрын
Hello, I'm also facing the same problem. Can you help me solving it?
@jacktheripper2109
@jacktheripper2109 3 жыл бұрын
@@hitenlulla2713 yes, how Can I help you?
@hitenlulla2713
@hitenlulla2713 3 жыл бұрын
@@jacktheripper2109 Can you help me with NodeMCU programming? I'm not able to find all the libraries used in the video. Also can you share a mail id so we can discuss the issue properly?
@anuragrai2002
@anuragrai2002 3 жыл бұрын
Board
@shubhambajaj4939
@shubhambajaj4939 4 жыл бұрын
Poor voice quality
@debduttapanda2018
@debduttapanda2018 3 жыл бұрын
May be, but the content is important
Send Commands to Any Google Assistant Controlled Device // ft. Vont Home
17:23
Google's NEW Script Editor! | Home Automations
9:58
Let's Automate
Рет қаралды 3,1 М.
Heartwarming Unity at School Event #shorts
00:19
Fabiosa Stories
Рет қаралды 17 МЛН
DEFINITELY NOT HAPPENING ON MY WATCH! 😒
00:12
Laro Benz
Рет қаралды 56 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
Building smart home apps with Google Home Mobile SDK
17:08
Google for Developers
Рет қаралды 8 М.
Smart home actions tutorial: Google assistant with ESP8266 and Firebase
11:51
TAPIT - AIoT Learning
Рет қаралды 6 М.
Controlling Google Home With Home Assistant!
8:17
Everything Smart Home
Рет қаралды 163 М.
3 Ways to Integrate Google Home with Home Assistant for Your Smart Home
34:04
The Bearded Tech Guy
Рет қаралды 70 М.
Google Assistant Quick Start for Developers
9:12
Fireship
Рет қаралды 83 М.
The Ultimate Voice Assistant Battle.
9:51
Mrwhosetheboss
Рет қаралды 12 МЛН
How Google Assistant powers voice features in your apps with App Actions
13:33
Google for Developers
Рет қаралды 6 М.
The Seven FREE Wonders that make the Modern Smart Home
15:21
Hands On Katie
Рет қаралды 191 М.
Integrate your smart home device with the Google Assistant (Google I/O '18)
37:30
CAA Conversion kit at ZAHAL 🎯
0:14
Zahal Youtube
Рет қаралды 23 МЛН
Some muslims mistakes #muslimfemale #hijab
0:11
Asel Mustafaeva
Рет қаралды 11 МЛН
Машина Жириновского.  #shorts Лиса рулит
0:52
Лиса рулит shorts
Рет қаралды 4,3 МЛН