Action on Google Smart Home using AWS lambda in Python












0















I wrote a smart home skill for Alexa using AWS lambda and Python. That's working all good.



Now I have moved on to Action on Google and I want to build the Skill on AWS lambda I used AWS API Gateway created a post call and gave the URL in the Fulfillment Tab of Action on Google. Now I wanted to check if the connection has been established between AWS lambda and Action on Google. I am pretty confused about how to check this?



Second Thing I am wondering does Action on Google Support Python because there are no examples in python nor anyone in the community has used python.



On there Github Repo they have given the code in NodeJS I wanted to understand the working by performing the Simulation First But it's not helping much. Like I wanted to understand the flow from the basics like When I developed for Alexa I started with Authorization and then moved on to the Controller.










share|improve this question



























    0















    I wrote a smart home skill for Alexa using AWS lambda and Python. That's working all good.



    Now I have moved on to Action on Google and I want to build the Skill on AWS lambda I used AWS API Gateway created a post call and gave the URL in the Fulfillment Tab of Action on Google. Now I wanted to check if the connection has been established between AWS lambda and Action on Google. I am pretty confused about how to check this?



    Second Thing I am wondering does Action on Google Support Python because there are no examples in python nor anyone in the community has used python.



    On there Github Repo they have given the code in NodeJS I wanted to understand the working by performing the Simulation First But it's not helping much. Like I wanted to understand the flow from the basics like When I developed for Alexa I started with Authorization and then moved on to the Controller.










    share|improve this question

























      0












      0








      0








      I wrote a smart home skill for Alexa using AWS lambda and Python. That's working all good.



      Now I have moved on to Action on Google and I want to build the Skill on AWS lambda I used AWS API Gateway created a post call and gave the URL in the Fulfillment Tab of Action on Google. Now I wanted to check if the connection has been established between AWS lambda and Action on Google. I am pretty confused about how to check this?



      Second Thing I am wondering does Action on Google Support Python because there are no examples in python nor anyone in the community has used python.



      On there Github Repo they have given the code in NodeJS I wanted to understand the working by performing the Simulation First But it's not helping much. Like I wanted to understand the flow from the basics like When I developed for Alexa I started with Authorization and then moved on to the Controller.










      share|improve this question














      I wrote a smart home skill for Alexa using AWS lambda and Python. That's working all good.



      Now I have moved on to Action on Google and I want to build the Skill on AWS lambda I used AWS API Gateway created a post call and gave the URL in the Fulfillment Tab of Action on Google. Now I wanted to check if the connection has been established between AWS lambda and Action on Google. I am pretty confused about how to check this?



      Second Thing I am wondering does Action on Google Support Python because there are no examples in python nor anyone in the community has used python.



      On there Github Repo they have given the code in NodeJS I wanted to understand the working by performing the Simulation First But it's not helping much. Like I wanted to understand the flow from the basics like When I developed for Alexa I started with Authorization and then moved on to the Controller.







      actions-on-google google-smart-home






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 27 '18 at 9:55









      Sharvin ShahSharvin Shah

      7416




      7416
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Are you locked in on using Python in your stack? If you're flexible and can switch to NodeJS, you can use Actions on Google's NodeJS client library to connect with AWS Lambda.



          Docs here: https://developers.google.com/actions/reference/nodejsv2/overview#example_aws_lambda_api_gateway






          share|improve this answer



















          • 1





            I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

            – Sharvin Shah
            Nov 27 '18 at 19:10











          • Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

            – Max Wiederholt
            Nov 27 '18 at 21:41






          • 1





            Thanks it helped me lot.

            – Sharvin Shah
            Nov 29 '18 at 8:52











          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%2f53496998%2faction-on-google-smart-home-using-aws-lambda-in-python%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














          Are you locked in on using Python in your stack? If you're flexible and can switch to NodeJS, you can use Actions on Google's NodeJS client library to connect with AWS Lambda.



          Docs here: https://developers.google.com/actions/reference/nodejsv2/overview#example_aws_lambda_api_gateway






          share|improve this answer



















          • 1





            I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

            – Sharvin Shah
            Nov 27 '18 at 19:10











          • Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

            – Max Wiederholt
            Nov 27 '18 at 21:41






          • 1





            Thanks it helped me lot.

            – Sharvin Shah
            Nov 29 '18 at 8:52
















          0














          Are you locked in on using Python in your stack? If you're flexible and can switch to NodeJS, you can use Actions on Google's NodeJS client library to connect with AWS Lambda.



          Docs here: https://developers.google.com/actions/reference/nodejsv2/overview#example_aws_lambda_api_gateway






          share|improve this answer



















          • 1





            I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

            – Sharvin Shah
            Nov 27 '18 at 19:10











          • Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

            – Max Wiederholt
            Nov 27 '18 at 21:41






          • 1





            Thanks it helped me lot.

            – Sharvin Shah
            Nov 29 '18 at 8:52














          0












          0








          0







          Are you locked in on using Python in your stack? If you're flexible and can switch to NodeJS, you can use Actions on Google's NodeJS client library to connect with AWS Lambda.



          Docs here: https://developers.google.com/actions/reference/nodejsv2/overview#example_aws_lambda_api_gateway






          share|improve this answer













          Are you locked in on using Python in your stack? If you're flexible and can switch to NodeJS, you can use Actions on Google's NodeJS client library to connect with AWS Lambda.



          Docs here: https://developers.google.com/actions/reference/nodejsv2/overview#example_aws_lambda_api_gateway







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 27 '18 at 18:11









          Max WiederholtMax Wiederholt

          28129




          28129








          • 1





            I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

            – Sharvin Shah
            Nov 27 '18 at 19:10











          • Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

            – Max Wiederholt
            Nov 27 '18 at 21:41






          • 1





            Thanks it helped me lot.

            – Sharvin Shah
            Nov 29 '18 at 8:52














          • 1





            I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

            – Sharvin Shah
            Nov 27 '18 at 19:10











          • Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

            – Max Wiederholt
            Nov 27 '18 at 21:41






          • 1





            Thanks it helped me lot.

            – Sharvin Shah
            Nov 29 '18 at 8:52








          1




          1





          I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

          – Sharvin Shah
          Nov 27 '18 at 19:10





          I am comfortable in switching to Nodejs for AWS lambda but there's no sample template for that too. I saw the document you shared and I'm a beginner that's why it's not making that much sense to me. I'm searching for something which can give me a brief idea about how should I implement it. Like a reference or starter template so that I can start development without any complexity. Thanks by the way.

          – Sharvin Shah
          Nov 27 '18 at 19:10













          Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

          – Max Wiederholt
          Nov 27 '18 at 21:41





          Thanks for the clarification! Google has put together a few Codelabs aimed at helping beginners understand the developer experience for Actions on Google and Dialogflow. They should help you with references and starter templates: codelabs.developers.google.com/codelabs/actions-1/#0 codelabs.developers.google.com/codelabs/actions-2/#0

          – Max Wiederholt
          Nov 27 '18 at 21:41




          1




          1





          Thanks it helped me lot.

          – Sharvin Shah
          Nov 29 '18 at 8:52





          Thanks it helped me lot.

          – Sharvin Shah
          Nov 29 '18 at 8:52




















          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%2f53496998%2faction-on-google-smart-home-using-aws-lambda-in-python%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

          Lallio

          Unable to find Lightning Node

          Futebolista