getting node-red to work with google assistant










0















Totally new to node-red & sensehat & this whole IoT thing.



I've followed the article on:
https://flows.nodered.org/node/node-red-contrib-google-action



Everything worked until the part where I have to test. Google Action encountered an error which says:
"xxx isn't responding right now. Try again soon." (where xxx is my project name).



Also, in the google action node, there is a "SSL private key file" and a "SSL certificate file" which i have no idea how to find the path for.



I've tried a guide to create the private key and cert and after everything's done, when i attempt to boot node-red, it says access denied & my node-red is unable to start up..



Edit:
It's a school proj so everythjng is local,under a normal router with Internet access (no vpn etc)



Question2:
According to this link:
https://flows.nodered.org/node/node-red-contrib-google-action
i just need a https web server in order for this to work right?










share|improve this question
























  • You haven't explained where Node-RED running. Is it accessable from the outside world?

    – hardillb
    Nov 14 '18 at 13:28











  • @hardillb hi yes sorry, no it is not. It is in my local host.

    – Eric Lim
    Nov 15 '18 at 1:24















0















Totally new to node-red & sensehat & this whole IoT thing.



I've followed the article on:
https://flows.nodered.org/node/node-red-contrib-google-action



Everything worked until the part where I have to test. Google Action encountered an error which says:
"xxx isn't responding right now. Try again soon." (where xxx is my project name).



Also, in the google action node, there is a "SSL private key file" and a "SSL certificate file" which i have no idea how to find the path for.



I've tried a guide to create the private key and cert and after everything's done, when i attempt to boot node-red, it says access denied & my node-red is unable to start up..



Edit:
It's a school proj so everythjng is local,under a normal router with Internet access (no vpn etc)



Question2:
According to this link:
https://flows.nodered.org/node/node-red-contrib-google-action
i just need a https web server in order for this to work right?










share|improve this question
























  • You haven't explained where Node-RED running. Is it accessable from the outside world?

    – hardillb
    Nov 14 '18 at 13:28











  • @hardillb hi yes sorry, no it is not. It is in my local host.

    – Eric Lim
    Nov 15 '18 at 1:24













0












0








0








Totally new to node-red & sensehat & this whole IoT thing.



I've followed the article on:
https://flows.nodered.org/node/node-red-contrib-google-action



Everything worked until the part where I have to test. Google Action encountered an error which says:
"xxx isn't responding right now. Try again soon." (where xxx is my project name).



Also, in the google action node, there is a "SSL private key file" and a "SSL certificate file" which i have no idea how to find the path for.



I've tried a guide to create the private key and cert and after everything's done, when i attempt to boot node-red, it says access denied & my node-red is unable to start up..



Edit:
It's a school proj so everythjng is local,under a normal router with Internet access (no vpn etc)



Question2:
According to this link:
https://flows.nodered.org/node/node-red-contrib-google-action
i just need a https web server in order for this to work right?










share|improve this question
















Totally new to node-red & sensehat & this whole IoT thing.



I've followed the article on:
https://flows.nodered.org/node/node-red-contrib-google-action



Everything worked until the part where I have to test. Google Action encountered an error which says:
"xxx isn't responding right now. Try again soon." (where xxx is my project name).



Also, in the google action node, there is a "SSL private key file" and a "SSL certificate file" which i have no idea how to find the path for.



I've tried a guide to create the private key and cert and after everything's done, when i attempt to boot node-red, it says access denied & my node-red is unable to start up..



Edit:
It's a school proj so everythjng is local,under a normal router with Internet access (no vpn etc)



Question2:
According to this link:
https://flows.nodered.org/node/node-red-contrib-google-action
i just need a https web server in order for this to work right?







node-red






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 2:41







Eric Lim

















asked Nov 14 '18 at 7:57









Eric LimEric Lim

126




126












  • You haven't explained where Node-RED running. Is it accessable from the outside world?

    – hardillb
    Nov 14 '18 at 13:28











  • @hardillb hi yes sorry, no it is not. It is in my local host.

    – Eric Lim
    Nov 15 '18 at 1:24

















  • You haven't explained where Node-RED running. Is it accessable from the outside world?

    – hardillb
    Nov 14 '18 at 13:28











  • @hardillb hi yes sorry, no it is not. It is in my local host.

    – Eric Lim
    Nov 15 '18 at 1:24
















You haven't explained where Node-RED running. Is it accessable from the outside world?

– hardillb
Nov 14 '18 at 13:28





You haven't explained where Node-RED running. Is it accessable from the outside world?

– hardillb
Nov 14 '18 at 13:28













@hardillb hi yes sorry, no it is not. It is in my local host.

– Eric Lim
Nov 15 '18 at 1:24





@hardillb hi yes sorry, no it is not. It is in my local host.

– Eric Lim
Nov 15 '18 at 1:24












1 Answer
1






active

oldest

votes


















0














From the doc for the node:




The node runs an Express web server to listen for Action request from
Google. By using a separate web server from Node Red, it allows the
node to listen on a different port. This allows the Action listener to
be exposed to the Internet without having the rest of Node Red also
exposed. The web server is required to run HTTPS so you will need SSL
certificates. Self signed certificates are OK




You will need to set up port forwarding or some other way to expose this express endpoint to the internet. The Google Assistant servers need to be able to reach this endpoint for anything to work.






share|improve this answer























  • hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

    – Eric Lim
    Nov 15 '18 at 15:52











  • Which port did you expose? Node-RED should not be accessable, just the Assistant node

    – hardillb
    Nov 15 '18 at 16:10











  • 1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

    – Eric Lim
    Nov 15 '18 at 16:52












  • correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

    – Eric Lim
    Nov 15 '18 at 17:06











  • No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

    – hardillb
    Nov 15 '18 at 20:11










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53295401%2fgetting-node-red-to-work-with-google-assistant%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














From the doc for the node:




The node runs an Express web server to listen for Action request from
Google. By using a separate web server from Node Red, it allows the
node to listen on a different port. This allows the Action listener to
be exposed to the Internet without having the rest of Node Red also
exposed. The web server is required to run HTTPS so you will need SSL
certificates. Self signed certificates are OK




You will need to set up port forwarding or some other way to expose this express endpoint to the internet. The Google Assistant servers need to be able to reach this endpoint for anything to work.






share|improve this answer























  • hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

    – Eric Lim
    Nov 15 '18 at 15:52











  • Which port did you expose? Node-RED should not be accessable, just the Assistant node

    – hardillb
    Nov 15 '18 at 16:10











  • 1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

    – Eric Lim
    Nov 15 '18 at 16:52












  • correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

    – Eric Lim
    Nov 15 '18 at 17:06











  • No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

    – hardillb
    Nov 15 '18 at 20:11















0














From the doc for the node:




The node runs an Express web server to listen for Action request from
Google. By using a separate web server from Node Red, it allows the
node to listen on a different port. This allows the Action listener to
be exposed to the Internet without having the rest of Node Red also
exposed. The web server is required to run HTTPS so you will need SSL
certificates. Self signed certificates are OK




You will need to set up port forwarding or some other way to expose this express endpoint to the internet. The Google Assistant servers need to be able to reach this endpoint for anything to work.






share|improve this answer























  • hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

    – Eric Lim
    Nov 15 '18 at 15:52











  • Which port did you expose? Node-RED should not be accessable, just the Assistant node

    – hardillb
    Nov 15 '18 at 16:10











  • 1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

    – Eric Lim
    Nov 15 '18 at 16:52












  • correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

    – Eric Lim
    Nov 15 '18 at 17:06











  • No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

    – hardillb
    Nov 15 '18 at 20:11













0












0








0







From the doc for the node:




The node runs an Express web server to listen for Action request from
Google. By using a separate web server from Node Red, it allows the
node to listen on a different port. This allows the Action listener to
be exposed to the Internet without having the rest of Node Red also
exposed. The web server is required to run HTTPS so you will need SSL
certificates. Self signed certificates are OK




You will need to set up port forwarding or some other way to expose this express endpoint to the internet. The Google Assistant servers need to be able to reach this endpoint for anything to work.






share|improve this answer













From the doc for the node:




The node runs an Express web server to listen for Action request from
Google. By using a separate web server from Node Red, it allows the
node to listen on a different port. This allows the Action listener to
be exposed to the Internet without having the rest of Node Red also
exposed. The web server is required to run HTTPS so you will need SSL
certificates. Self signed certificates are OK




You will need to set up port forwarding or some other way to expose this express endpoint to the internet. The Google Assistant servers need to be able to reach this endpoint for anything to work.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 15 '18 at 14:10









hardillbhardillb

24.7k73161




24.7k73161












  • hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

    – Eric Lim
    Nov 15 '18 at 15:52











  • Which port did you expose? Node-RED should not be accessable, just the Assistant node

    – hardillb
    Nov 15 '18 at 16:10











  • 1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

    – Eric Lim
    Nov 15 '18 at 16:52












  • correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

    – Eric Lim
    Nov 15 '18 at 17:06











  • No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

    – hardillb
    Nov 15 '18 at 20:11

















  • hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

    – Eric Lim
    Nov 15 '18 at 15:52











  • Which port did you expose? Node-RED should not be accessable, just the Assistant node

    – hardillb
    Nov 15 '18 at 16:10











  • 1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

    – Eric Lim
    Nov 15 '18 at 16:52












  • correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

    – Eric Lim
    Nov 15 '18 at 17:06











  • No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

    – hardillb
    Nov 15 '18 at 20:11
















hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

– Eric Lim
Nov 15 '18 at 15:52





hi. i've just configured my pi with ngrok and managed to make my node-red public with a temporary dns. that after, i still encountered the same error after following the docs. or am i missing something?

– Eric Lim
Nov 15 '18 at 15:52













Which port did you expose? Node-RED should not be accessable, just the Assistant node

– hardillb
Nov 15 '18 at 16:10





Which port did you expose? Node-RED should not be accessable, just the Assistant node

– hardillb
Nov 15 '18 at 16:10













1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

– Eric Lim
Nov 15 '18 at 16:52






1880. sorry am new and am abit lost in this. following this guide link under 'ngrok' . im slightly lost as to how i can configure jjust the node to be accessible to the internet. then what is my web server?, if not the node-red

– Eric Lim
Nov 15 '18 at 16:52














correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

– Eric Lim
Nov 15 '18 at 17:06





correct me if im wrong, from what i'm getting so far is this: What im supposed to do is to create a web server, give it a domain name, secure it, then link the google nodes to that web server, then it should work... is that right?

– Eric Lim
Nov 15 '18 at 17:06













No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

– hardillb
Nov 15 '18 at 20:11





No, you don't need a separate HTTPS server, you just need to forward the port you configured in the node (the place holder is 8081)

– hardillb
Nov 15 '18 at 20:11



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53295401%2fgetting-node-red-to-work-with-google-assistant%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Use pre created SQLite database for Android project in kotlin

Darth Vader #20

Ondo