Example: Read settings and state using Remote Manager

In order to configure devices you will need to know the structure of the XML for your XBee's settings. The easiest way to obtain this is to perform a query_setting RCI request against your device.

Note You must upgrade your device to the latest firmware for all features to be available. See Update the firmware.

Note To obtain the state of the device, you can perform the same operations in the example below, but replace query_setting with query_state.

  1. Log into Remote Manager.
  2. Click Automations.
  3. Click Create to launch the wizard.
  4. In the Details section:

    1. In the Name field, enter a descriptive name for the automation, such as "Read Settings".

    2. Click Save and Continue.

  5. 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 step, and select RCI.

      1. In the RCI Payload field, enter:

        <query_setting/>
      2. Enable Allow Offline.

    4. Click + to add a step, and select Disconnect.
    5. Click Save and Continue.
  6. In the Targets section, click Skip to skip this section.
  7. In the Triggers section, click Skip to skip this section.
  8. Start the automation on a set of devices.

    1. Click Automations to show the list of available automations.

    2. Select the automation that you just created.

    3. Click Action > Run Automation. The Run Automations window displays.

    4. Click the Devices tab.

    5. Select all of the devices you want to run the automation on.

    6. Click Confirm to start the automation.

  9. Verify the results of running the automation.

    1. Click Automations to show the list of automations.

    2. Click on the name of the automation you just ran to display the status window.

    3. Click the Runs tab to see all of the runs for this automation.

    4. Click on the run you are interested in to display a details for each device.

    5. For the device you are interested in, click the Status link under the Summary column to see more details and the responses.

    If the status was successful, you can to see the response of the RCI query by clicking Show Details. This XML structure has the same settings that you will use in the set_setting command to configure your XBee as shown in this example: Example: Configure a device from Remote Manager using XML.