This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Fetch and store Thingy91 measurement data

Dear Devzone team,

What is the fasted way to fetch and store the Thingy91 measurement and device data outside of the nrf Cloud? If i just deploy the AWS certificates will it be possible for AWS application to connect and fetch the data periodically? Do you have guide I can use? I would like to use the standard Application firmware -  thingy91_ltem_dfu_2020-04-29_bc7ade8b.hex. 

Thanks 

BR

R.

Parents
  • Hi.

    Do you mean to get the data from nRF Cloud, or send the data to your AWS instead of nRF Cloud?

    If you want to get the data from nRF Cloud, I recommend you take a look at the API documentation in nRF Cloud. Particularly the GET /messages endpoint.

    If you want to get the messages directly from the device, the answer is a bit more complicated.

    In theory, you should be able to implement your own nRF Cloud, as nRF Cloud is built on AWS. If you are able to configure your AWS close enough to nRF Cloud, it will be enough to change the hostname and certificates used.

    However, it might be easier to remove the nRF Cloud specific code from the sample application, and instead just use the AWS related code. As the asset_tracker sample application uses the generic cloud library in the nRF Connect SDK, it might not be much harder than configuring the sample to use the AWS cloud backend library instead of the nRF Cloud backend.

    You can read more about the cloud API here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/cloud.html

    Best regards,

    Didrik

Reply
  • Hi.

    Do you mean to get the data from nRF Cloud, or send the data to your AWS instead of nRF Cloud?

    If you want to get the data from nRF Cloud, I recommend you take a look at the API documentation in nRF Cloud. Particularly the GET /messages endpoint.

    If you want to get the messages directly from the device, the answer is a bit more complicated.

    In theory, you should be able to implement your own nRF Cloud, as nRF Cloud is built on AWS. If you are able to configure your AWS close enough to nRF Cloud, it will be enough to change the hostname and certificates used.

    However, it might be easier to remove the nRF Cloud specific code from the sample application, and instead just use the AWS related code. As the asset_tracker sample application uses the generic cloud library in the nRF Connect SDK, it might not be much harder than configuring the sample to use the AWS cloud backend library instead of the nRF Cloud backend.

    You can read more about the cloud API here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/include/net/cloud.html

    Best regards,

    Didrik

Children
No Data
Related