NB-IoT to AWS?
-
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 -
Hi @riverj17,
I moved your topic to the correct section.
-
Hi @riverj17,
Can you please share the new topic, where you moved?
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