The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Industrial IoT Open Source Tools and Libraries

Demo applications, libraries and SDKs as well as useful connectivity tools which are maintained and released as open source software.

mdsp oe-device-types Command¶

Syntax:

mdsp oe-device-types

Help:

mdsp oe-device-types --help

Alternative form:

mc oe-device-types

(The CLI was using mc as default command name in older versions)

Description¶

list, create or delete device types (open edge) *

Usage¶

Parameter list:

Usage: mdsp oe-device-types|oedt [options]

list, create or delete device types (open edge) *

Options:
 -m, --mode [list|create|delete|template|info] list | create | delete | template | info (default: "list")
 -f, --file .mdsp.json file with device type definition
 -t, --tenant tenant tenant of the device type definition
 -n, --devicetype the device type name
 -c, --code device type code
 -a, --assettype the device type associated asset type id
 -i, --id the device type id
 -o, --overwrite overwrite template file if it already exists
 -k, --passkey passkey
 -y, --retry retry attempts before giving up (default: "3")
 -v, --verbose verbose output
 -h, --help display help for command

Examples¶

Here are some examples of how to use the mdsp oe-device-types command:

 Examples:

 mdsp oe-device-types --mode list list all device types
 mdsp oe-device-types --mode list --tenant siemens list all device types which belongs to the tenant "siemens"
 mdsp oe-device-types --mode info --id get details of device type with the specified device id
 mdsp oe-device-types --mode template --devicetype board 
 create a template file for specified device type
 mdsp oe-device-types --mode create --file board.devicetype.mdsp.json 
 create device type board in Insights Hub
 mdsp oe-device-types --mode delete --id delete the device type with the device id

See Insights Hub API documentation for more information about Insights Hub APIs.