Identifying Conduit MAC for ID in NodeRed

Home Forums Conduit: AEP Model Identifying Conduit MAC for ID in NodeRed

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18472
    Campbell Elder
    Participant

    Would like to append LoRa data in the nodered flow with the Conduit MAC address so can identify which gateway data has been received though.
    Is this possible, and can any one show how it’s done?

    #18532
    Peter Ferland
    Blocked

    The LoRa starter kit bluemix flow does this, you can download it from the device hq app store.

    In short, use an http request node to send a GET request to http://localhost/api/system/macAddress. You can then use a function node to store that in a global variable (context.global) so other function nodes can use that variable in the future without performing another API request.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.