Conduit AEP: LoRa Communication and Node-RED

Prerequisites

 

Receive Packets on the Conduit

  1. Log into the AEP interface. Refer to Getting Started with AEP if needed.
  2. Click on Node-RED under Apps on the left sidebar
  3. Log into Node-RED with the password set in the wizard. The default password is admin.
  4. Drag the lora input node to the canvas
  5. Connect the lora node to the debug node. On the right side of the lora node, click on the small gray dot and drag a wire to the small gray dot on the left side of the debug node
  6. Click the red Deploy button at the top right of the page
  7. Click on the Debug tab at the right side of the page to view received lora packets.

 

Transmit Packets from the Conduit

  1. Create the flow described above for receiving lora packets
  2. Drag the lora out node to the canvas
  3. Connect a wire from the lora out node to the lora in node
  4. Click the red Deploy button at the top right of the page

Sending and receiving packets on the mDot:

 

LoRa Input Datatypes

The LoRa input node has two modes of operation which can be switched between by editing the “Data Type” field.  There are two options:

  1. UTF-8.  The payload of the LoRa packet is parsed as UTF-8 characters before being injected to the flow.
  2. Bytes.  The payload of the LoRa packet is not parsed before being injected into the flow.

Troubleshooting