ConnectPort X2e for Smart Energy Conversions

This appendix covers necessary information and techniques to convert between certified applications on the ConnectPort X2e for Smart Energy.

Each certified application is made up of two parts. The Node Type, either Coordinator or Router, controls how the low-level Smart Energy network is formed and controlled. When configured as a Coordinator the ConnectPort X2e will create a Smart Energy network and allow other devices to join. Every network must have exactly one Coordinator so this mode is most common when the network does not include a Smart Meter. When configured as a Router the ConnectPort X2e instead joins an existing Smart Energy network such as created by a Smart Meter.

The second part of a certified application is its Device Type. On the ConnectPort X2e for Smart Energy this can be either an ESI (Energy Services Interface) or IPD (In-Premise Display). An ESI is most often used to provide Smart Energy information to the network such as Price or DRLC events while the IPD is most often used to receive events from the network or read from a Smart Meter.

To perform the below updates a Device Cloud account is necessary and your ConnectPort X2e for Smart Energy must already be added to that account. Click here to Get Started with the Device Cloud if you don’t have an account. Use the Add Device button under Device Management to add your gateway to the account.

Update Node Type


Updating the Node Type will reset a ConnectPort X2e for Smart Energy’s network and halt communication with any devices currently on its network. Especially when running as a Coordinator care should be taken not to strand third-party devices on the old network. For example, third-party devices can be removed from the network with a remove_device RPC request. Many third-party devices will immediately attempt to join a new network while others may require additional steps. Check third-party device documentation for more details and test thouroughly as this is an area which can often cause problems.

Use the xbee_AT RPC command to update Node Type. These commands can be sent with the Digi-SE Debug Console and can be found under RPC_ZigBee_Interface on the Debug Console page. The RPC commands may also be sent programatically, see RPC Requests and Responses for more details.

Execute the following RPC commands in this order:

1. Set Coordinator Enable, 1 for Coordinator or 0 for Router (Coordinator shown)

        <command type="string">CE</command>
        <value type="base16">1</value>

2. Write settings to non-volatile flash

        <command type="string">WR</command>
  1. Restart your device.

Update Device Type


The following procedure will update the Device Type of a ConnectPort X2e for Smart Energy to a default factory state and remove any drivers or other custom configuration. More fine-grained procedures that can preserve existing configuration are possible but outside the scope of this section.

First download one of the following configuration files depending on the Device Type you are updating to. Unzip to find five .ini files which will be used later in this section.

Energy Service Interface (ESI) file

In-Premise Display (IPD) file

  1. Login to your Device Cloud account and select Device Management.

  2. Enter the last 6 digits of the Gateway’s serial number in the search field and click the search icon to find your Gateway.

  3. Double-click your gateway to open its properties page.

  4. Click Python and do the following:

  5. Highlight each of the following files and click the red X to delete them. Press the Ctrl key to select multiple files.
    • clusters.ini

    • endpoints.ini

    • interfaces.ini

    • modules.ini

    • paths.ini

  6. Upload the files of the same name as those deleted in the previous step. Use the up-arrow icon in the Python Files area to upload after using the Browse popup to locate the directory where you unzipped your .zip file from under the File Links section earlier in this article.

  7. Restart your device:

  1. In Device Cloud, go to Device Management > Devices.
  2. Right-click your gateway and select More > Reboot.