Running the Device Manager Application in Linux

The device manager application provides basic device management for the device on which the application runs.

You need the following:

  1. In a terminal window on your device, run the device manager application.
    $ cd yourLocalDir/device_cloud
    $ ./device_manager.py

    The device manager starts and connects to Device Cloud.

    The device_id file in the yourLocalDir/device_cloud directory contains the prefix of the thing key you can use to find your device manager thing on Device Cloud.

  2. Open the device_id file in a text editor and copy the value in the file to the clipboard.
  3. In your browser's address bar, type the URL you were given when you received your Device Cloud account, and then on the Sign In page, type your user name and password in the boxes.
  4. To access the Management Portal, click Development Tools on the LaunchPad.
    Device Cloud - LaunchPad
  5. On the Management Portal, click Things on the top menu.
    Device Cloud - Management Portal Top Menu
  6. If you see the Live Updates For Things window, click Update to close the window.

    Closing the window does not enable live updates, but if needed, you can go to your profile page and enable live updates later.

  7. In the Search things text box, type key:", paste the value from the device_id file into the box, type ", and then press ENTER.

    The entry in the text box should look something like key:"e8cdb5c5-c3f0-4820-8eef-7506c51b0676".

    Note:

    You must enclose the key value in quotes.

    The Things page shows only things with thing keys that contain your device id.

  8. In the list that appears on the Things page, click the View icon of the device manager thing.

    The thing name should look something like auto:4321da91-6dc2-4a8d-b087-a6186fe0c0c3-device_manager_py.

    Device Cloud - Things Page View Icon
  9. On the thing page, select the Overview tab to see the information about the device manager application.
    Device Cloud - Thing Page Marked Up
  10. To view the details of the device on which the device manager application runs, select the Attributes tab .
  11. Select the Methods tab and run any of the available methods the device manager supports.

    Some methods may be disabled or require additional components on the device. For information about enabling and disabling methods, see Device Cloud Device Programmer's Guide: Device Manager.