How to access LoRaWan msg properties from Node Red

Home Forums Lora Network Server How to access LoRaWan msg properties from Node Red

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #21964
    Howard Cohen
    Participant

    Hello,

    I’d like to forward the LoRaWan packet metadata, particularly RSSI, to my application. I’m using Node-Red to forward the payload to a TCP connection and can use the Debug output to view the RSSI. Is there any way to direct the RSSI to any other output node?

    #21965
    Jason Reiss
    Keymaster

    Use a function node to reformat your message and send to your app tcp connection?

    #21970
    Howard Cohen
    Participant

    That turned out to be pretty simple. Thanks for pointing me in the right direction.

    var newPayload = ‘deveui: ‘ + msg.deveui + ‘ rssi: ‘ + msg.rssi + ‘ payload: ‘ + msg.payload;
    return { payload: newPayload };

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