Set up a persistent connection to a remote XBee

The default connectivity to Remote Manager polls once a day using SM/UDP, which means that your XBee will always appear in a disconnected state and will use significantly less data.

If needed, you can set up a persistent connection, where the device is continually connected using TCP. To do this, you will need to set bit 0 of the MO setting. The suggested value for MO is 7 to connect securely over TLS, or you can use 1 for no security, which is the legacy value.

You can make the change using one of the following methods:

To set up an automation to enable a persistent connection:

  1. Log into Remote Manager.
  2. Make sure that you have enabled SM/UDP. See Enable SM/UDP.
  3. Click Automations.
  4. Click Create to launch the wizard.
  5. In the Details section:
    1. In the Name field, enter a descriptive name for the automation, such as "Enable persistent connection."
    2. Click Save and continue.
  6. In the Steps section:
    1. Click the garbage icon to delete any existing steps.
    2. Click + to add a step, and select SM/UDP Request Connect.
    3. Click + again to add another setp, and select RCI.
    4. In the RCI Payload field, enter:
      <set_setting>
      <remote_manager>
      <MO>7</MO>
      </remote_manager>
      </set_setting>
    5. Enable Allow Offline.
    6. Click Save and continue.
  7. In the Targets section, click Skip to skip this section.
  8. In the Triggers section, click Skip to skip this section.