Send location from Thingy91X to Firebase Realtime Database

Hello, I would like to appply change in asset tracker template  FROM nrf_cloud to Firebase Realtime Database.

https://github.com/nrfconnect/Asset-Tracker-Template/blob/main/docs/common/getting_started.md#provision-device-to-nrf-cloud

Please provide how to change.

Parents
  • Hi,

    Can you elaborate on your use case?
    Can you provide more details about the change that you want to do? 
    What is the reason why you want to use Firebase Realtime Database instead of nRF Cloud?
    Do you intend to use nRF Cloud for provisioning?

    Best regards,
    Dejan

  • Hi,

    1. I would like to use in mobile application based on react native for tracking my asset, read temperature,battery, accelerometer show in the application. And, I would like to apply the finding function by activate finding mode in the mobile application to make Thingy91X blink.

    2. I choose firebase because I familiar with react native 's firebase library. But, I open to AWS or nrf Cloud if capable.

    Thank you. 

  • Hi,

    You could try to use nRF Cloud with message routing service and then create API endpoint which processes the data that is coming from nRF Cloud into the Firebase in the format you want.
    If you use "finding" mode with nRF Cloud CoAP (which is default in asset tracker template) then devices need to poll the changes in the cloud. If you expect near real-time cloud to device communication then MQTT might be better fit, but in general it is difficult to get robust "cloud to device" push communication in devices that can roam between the networks (if that is the case).

    Best regards,
    Dejan

  • Hi, thank you

    For now, I can display location and sensor data on my app by REST API. The next step is, I want to create push notification that require the cloud that would be able to run a script.

    Do you have any recommendaion

  • Hi,

    Zinha said:
    For now, I can display location and sensor data on my app by REST API. The next step is, I want to create push notification that require the cloud that would be able to run a script.

    Can you provide some details about the script that should be able to run in the cloud?
    Do you intend to have notification on the device or push notification on mobile/webpage?

    Best regards,
    Dejan

Reply
  • Hi,

    Zinha said:
    For now, I can display location and sensor data on my app by REST API. The next step is, I want to create push notification that require the cloud that would be able to run a script.

    Can you provide some details about the script that should be able to run in the cloud?
    Do you intend to have notification on the device or push notification on mobile/webpage?

    Best regards,
    Dejan

Children
No Data
Related