Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    NB-IoT to AWS?

    Scheduled Pinned Locked Moved Getting Started
    3 Posts 3 Posters 322 Views 3 Watching
    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.
    • R Offline
      riverj17
      last edited by

      Hey everyone, I'm working on a project that consists of having a gas sensor connected to the FiPy board which is connected to T-Mobile using NB-IoT. I want to have the collected data from the sensor transmit to Amazon Web Services (AWS).

      From AWS I have the AWS_ROOT_CA, AWS_CLIENT_CERT, & AWS_PRIVATE_KEY downloaded onto my mac computer. The documentation says to place these files in a /flash/cert folder.

      How do I perform this function if I'm using NB-IoT since the documentation uses WIFI?

      Shown below is the config.py file

      AWS general configuration

      AWS_PORT = 8883
      AWS_HOST = 'ABCDEFGHIJK.iot.us-west-2.amazonaws.com'
      AWS_ROOT_CA = '/flash/cert/aws_root.ca'
      AWS_CLIENT_CERT = '/flash/cert/aws_client.cert'
      AWS_PRIVATE_KEY = '/flash/cert/aws_private.key'

      ################## Subscribe / Publish client #################
      CLIENT_ID = 'PycomPublishClient'
      TOPIC = 'PublishTopic'
      OFFLINE_QUEUE_SIZE = -1
      DRAINING_FREQ = 2
      CONN_DISCONN_TIMEOUT = 10
      MQTT_OPER_TIMEOUT = 5
      #LAST_WILL_TOPIC = 'PublishTopic'
      #LAST_WILL_MSG = 'To All: Last will message'

      ####################### Shadow updater ########################
      #THING_NAME = "my thing name"
      #CLIENT_ID = "ShadowUpdater"
      #CONN_DISCONN_TIMEOUT = 10
      #MQTT_OPER_TIMEOUT = 5

      ####################### Delta Listener ########################
      #THING_NAME = "my thing name"
      #CLIENT_ID = "DeltaListener"
      #CONN_DISCONN_TIMEOUT = 10
      #MQTT_OPER_TIMEOUT = 5

      ####################### Shadow Echo ########################
      THING_NAME = "Smart_Meter"
      CLIENT_ID = "ShadowEcho"
      CONN_DISCONN_TIMEOUT = 10
      MQTT_OPER_TIMEOUT = 5

      1 Reply Last reply Reply Quote 0
      • J Offline
        jirkakrepl
        last edited by

        Hi @riverj17,

        I moved your topic to the correct section.

        software developer @ Pycom

        Have you checked out our docs for the answer? (Now with an easy search function) https://docs.pycom.io

        Check out our newly revamped device management platform, Pybytes! https://pybytes.pycom.io/

        1 Reply Last reply Reply Quote 0
        • V Offline
          VInay Parekh
          last edited by

          Hi @riverj17,
          Can you please share the new topic, where you moved?

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post

          Pycom on Twitter

          Pycom