Digi Device Cloud Smart Energy ConnectPort X2e and ERT Documentation

Table Of Contents

Digi-SE Registry

Overview

This page allows you to easily read and write to the registry on a Digi Gateway running the Python Smart Energy Framework. See Registry Settings for more infomation.

https://digi-se.appspot.com/registry allows a developer to:

Requirements

You’ll need a Digi Smart Energy gateway that is connected to Device Cloud. See Devices for more information.

Read registry settings for Digi device

  1. Go to https://digi-se.appspot.com/registry and select your Digi gateway from the Gateway dropdown (see Gateway Selection).

    ../../_images/registry-blank.png
  2. After a few seconds, a table should load with all of the registry settings from your Digi gateway. If the table doesn’t auto-populate, make sure that your gateway is connected to Device Cloud and running the Smart Energy Framework.

    ../../_images/registry-table.png

Write registry settings for Digi device

  1. Go to https://digi-se.appspot.com/registry and select your Digi gateway from the Gateway dropdown (see Gateway Selection).

    ../../_images/registry-blank.png
  2. After a few seconds, a table should load with all of the registry settings from your Digi gateway. If the table doesn’t auto-populate, make sure that your gateway is connected to Device Cloud and running the Smart Energy Framework.

    ../../_images/registry-table.png
  3. Click the button labeled Set Value in the row of the Registry Entry you want to modify. This will open a dialog to change the registry value.

    ../../_images/registry-dialog-blank.png
  4. Set the fields labeled New Type and New Value in the dialog to the desired values. In most cases, you will not need to modify the type.

    ../../_images/registry-dialog-values.png
  5. Click the button labeled Set to set the new registry value. The dialog will close immediately. The value in the table will be updated once the new registry value has been successfully set. If there is a failure, there will be an alert box with an error message.

Restore registry defaults

Note

Restoring to defaults will remove the settings file and then reboot the gateway.

  1. Go to https://digi-se.appspot.com/registry and select your Digi gateway from the Gateway dropdown (see Gateway Selection).

    ../../_images/registry-blank.png
  2. Click the button labeled Restore to Defaults on the bottom of the page. This will open a dialog to restore the registry to default values.

    ../../_images/registry-restore_to_defaults.png
  3. Click the button labeled Restore to restore to defaults. This will remove the registry.ini file and then reboot the gateway. An alert will be displayed to tell you to reload the webpage.

  4. Reload the webpage to see the registry settings. It may take a few minutes for the gateway to finish rebooting.