PARALLAX

cpm_plugconfig

Get and Set Plug Parameters on WTI OOB and PDU power devices

Collection: wti.remote

Full Name: wti.remote.cpm_plugconfig

Synopsis

Get and Set Plug Parameters on WTI OOB and PDU power devices

Parameters

NameTypeRequiredDefaultDescription
cpm_urlstringyesWTI device host or host:port
cpm_usernamestringyesWTI username; an empty username selects an API token
cpm_passwordstringyesWTI password or API token
cpm_actionstringyesgetplugconfig or setplugconfig
plug_idstringyesPlug number, name, comma list, or all
plug_namestringPlug name
plug_bootdelayintBoot delay
plug_defaultintDefault power state
plug_bootpriorityintBoot priority
use_httpsbooltrueUse HTTPS instead of HTTP
validate_certsbooltrueValidate the device TLS certificate
use_proxyboolfalseObserve HTTP proxy environment variables

Example

yaml
- name: Read every plug configuration on a WTI power device
  wti.remote.cpm_plugconfig:
    cpm_action: getplugconfig
    cpm_url: rest.wti.com
    cpm_username: restpower
    cpm_password: restfulpowerpass12
    plug_id: all
    use_https: true
    validate_certs: true
Search
    ↑ ↓ move↵ openesc close