🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    I'm unable to send data to AWS IoT

    UIFlow
    3
    9
    9.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Marsora
      last edited by Marsora

      Hi all,
      I'm using UIFLOW to send data to AWS IoT (attached the connection diagram).
      In the AWS IoT Monitor I see successful connection data, so the device connects but I don't see any published values in the test.

      Can anyone help me?
      Thank you
      Mario

      0_1627978328904_uiflow_aws.jpg

      0_1628061504318_aws_test.jpg

      0_1628061517833_monitor_aws.jpg

      1 Reply Last reply Reply Quote 0
      • IAMLIUBOI
        IAMLIUBO
        last edited by

        Hi @Marsora ,
        Did you setting the policy? Such as the publish rules.

        M 1 Reply Last reply Reply Quote 0
        • ajb2k3A
          ajb2k3
          last edited by

          Have you followed all the guide word for word filling in the policy, incognito and correct server?
          It can be a real pain to get connected but it does work eventually.

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          M 1 Reply Last reply Reply Quote 0
          • M
            Marsora @IAMLIUBO
            last edited by Marsora

            @iamliubo said in I'm unable to send data to AWS IoT:

            Hi @Marsora ,
            Did you setting the policy? Such as the publish rules.

            Hi @IAMLIUBO,
            yes i set the following policy, do you see any errors?
            0_1628578037256_policy_aws.jpg

            But I haven't written any rules, is that the problem?

            (I have created only the thing, the certificate and the policy)

            1 Reply Last reply Reply Quote 0
            • M
              Marsora @ajb2k3
              last edited by

              @ajb2k3 said in I'm unable to send data to AWS IoT:

              Have you followed all the guide word for word filling in the policy, incognito and correct server?
              It can be a real pain to get connected but it does work eventually.

              Hi @ajb2k3,
              I followed this guide, is it correct?

              ajb2k3A 1 Reply Last reply Reply Quote 0
              • ajb2k3A
                ajb2k3 @Marsora
                last edited by

                @marsora said in I'm unable to send data to AWS IoT:

                @ajb2k3 said in I'm unable to send data to AWS IoT:

                Have you followed all the guide word for word filling in the policy, incognito and correct server?
                It can be a real pain to get connected but it does work eventually.

                Hi @ajb2k3,
                I followed this guide, is it correct?

                @IAMLIUBO the instructions on your site don't work as they are missing some steps.

                @Marsora you need to set aa "Cognito" profile in AWS.
                Rashibs guide on the RPI its for the RPI but works for the M5Stack.

                UIFlow, so easy an adult can learn it!
                If I don't know it, be patient!
                I've ether not learned it or am too drunk to remember it!
                Author of the WIP UIFlow Handbook!
                M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                M 1 Reply Last reply Reply Quote 0
                • M
                  Marsora @ajb2k3
                  last edited by

                  @ajb2k3 I tried but it doesn't work, maybe I'm doing something wrong.

                  Is there a guide with all the steps?

                  1 Reply Last reply Reply Quote 0
                  • ajb2k3A
                    ajb2k3
                    last edited by

                    Did you try Rashibs guide?

                    UIFlow, so easy an adult can learn it!
                    If I don't know it, be patient!
                    I've ether not learned it or am too drunk to remember it!
                    Author of the WIP UIFlow Handbook!
                    M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Marsora @ajb2k3
                      last edited by

                      @ajb2k3 said in I'm unable to send data to AWS IoT:

                      Did you try Rashibs guide?

                      Yes, but it doesn't work.

                      I tried with the AWS Python SDK and it works.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post