Git Product home page Git Product logo

Comments (14)

andrei-tatar avatar andrei-tatar commented on May 26, 2024 1

You can try this one: https://flows.nodered.org/node/node-red-contrib-google-action

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

@WoodyLetsCode there's no plan for it in the near future. This project only supports the smarthome action for now https://developers.google.com/assistant/smarthome/develop/create

However it might be interesting to add, though I'm not sure how easy it is to certify and publish something like this (if even possible).

from node-red-contrib-smartnora.

JaspervanKol avatar JaspervanKol commented on May 26, 2024

A few days ago I was thinking about the same thing (kind of). A node where you can use a string as input and then your selected Google device would say what is inside the string.

I think this would be really nice to have so you can make announcements trough out your home when something happens.

from node-red-contrib-smartnora.

w00000dy avatar w00000dy commented on May 26, 2024

Do you know any other way to do this?
I searched for other Node-RED modules, but I haven't found anything.
I tried IFTTT, but there you can only set a fixed answer and no interactive answers.
For example, I want to ask "What is the current power consumption?" and then it should return the value it gets from my outlet.

from node-red-contrib-smartnora.

JaspervanKol avatar JaspervanKol commented on May 26, 2024

@WoodyLetsCode I don't know how to do that.
I think you want an input node as trigger when you ask something to google and an output as return where you can use a string with the text and data you want.

The node that @andrei-tatar send is what you want (I think).
Could you @WoodyLetsCode look in to this if it works?

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

@JaspervanKol you can try this node for your use case https://flows.nodered.org/node/node-red-contrib-cast

from node-red-contrib-smartnora.

w00000dy avatar w00000dy commented on May 26, 2024

You can try this one: https://flows.nodered.org/node/node-red-contrib-google-action

@andrei-tatar Do you use this?

The description of it says that you have to say something like "Hey Google, talk to my test app" to have access to my commands.
I'm looking for a solution like it is on IFTTT, but with interactive answers. I want to use my voice commands whenever I want and not to start an app first.

@andrei-tatar Do you know if I have to start the app first or can I always use my commands like it is on IFTTT?

Could you @WoodyLetsCode look in to this if it works?

@JaspervanKol Because this is only what I assume when reading the description and I'm not 100% sure about this, I maybe test it on weekend.

from node-red-contrib-smartnora.

JaspervanKol avatar JaspervanKol commented on May 26, 2024

@JaspervanKol you can try this node for your use case https://flows.nodered.org/node/node-red-contrib-cast

@andrei-tatar I already looked at a few different nodes but the problem with this is that it will override the current casting media and that it is not using the Google Assistant voice but the Google translate voice.

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

@andrei-tatar Do you use this?

@WoodyLetsCode nope, for me the smarthome action is enough for now. Maybe I'll have a look in the future.

@andrei-tatar I already looked at a few different nodes but the problem with this is that it will override the current casting media and that it is not using the Google Assistant voice but the Google translate voice.

If you specify en-us as the language/locale, maybe it will use the voice you're used to. I guess you can ask over on that repo...

from node-red-contrib-smartnora.

crixster avatar crixster commented on May 26, 2024

@andrei-tatar Fantastic work you've accomplished here. I can finally link google assistant to home assistant and node red. I may have a workaround for this feature request. @WoodyLetsCode You can consider using routines on google assistant
https://support.google.com/googlenest/answer/7029585?co=GENIE.Platform%3DAndroid&hl=en
However the catch is since google is a "racist" (lol) , you will have to change google assistant language to English (US).
https://support.google.com/googlenest/answer/7550584?co=GENIE.Platform%3DAndroid&hl=en
Try to use only 1 language. I tried adding Japanese and it wouldn't say out the response message. It seems to only work with English (US).

For your info, here is my setup. I have a broadlink RM4C universal remote that transmit IR commands to my Samsung TV. This is connected to home asssistant on my rpi4. Node-red is also running on the pi. I use smart nora switch nodes and give them appropriate names in Node-red for example "Press Enter" and i connect the output to my home assistant service that will trigger the IR command to send out to my TV
flow1
flow 2
flow 3

Go to google assistant on your phone. say "Set up routines" and go to routines settings. Create a new routine. Click on + add starter and choose voice command. Put in anything you want to say and click on done. Next click on + add action and click on adjust home devices and then click on the right chevron of adjust lights, plugs and more to pull out a list of connected devices in google home. Assuming google home can detect the node "Press Enter" that was created earlier, you should be able to see it in the list here. Set the device to Turn On. and then click done. To add a custom response, add another action and select communicate and announce. Click on the right chevron of say something and type out your response. Then click on done until you can click on save to save the routine. For my case, whenever i say "Press Enter", it will turn on the smart nora switch node which will turn on the home assistant node that sends the command out to my TV. Finally i can skips youtube ads by saying "Press Enter"

"We go through extraordinary lengths to be lazy"

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

I will close this issue for now as for the near future NORA will not support conversational actions, nor voice notifications to Google Home devices.

from node-red-contrib-smartnora.

w00000dy avatar w00000dy commented on May 26, 2024

@crixster Thank you for your detailed guide. But the problem here is I can't get "intelligent" answers. For example, I want to ask how many windows are open and get the corresponding response. As far as I know is this currently not possible. Or do you have a solution for this?

from node-red-contrib-smartnora.

andrei-tatar avatar andrei-tatar commented on May 26, 2024

Not sure, as I don't have any window devices setup to check, but I think Google Home supports "how many windows are open" question.
At least is supports "how many lights are on"...

from node-red-contrib-smartnora.

w00000dy avatar w00000dy commented on May 26, 2024

Okay, maybe this was a bad example. 😆 Above I had the example with the power consumption:

For example, I want to ask "What is the current power consumption?" and then it should return the value it gets from my outlet.

It is sad that the Google outlet device is so undeveloped.
And Google routines can only return fixed answers and no individual ones. 😞

from node-red-contrib-smartnora.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.