beautypg.com

5 rpc_get_parameter_channels, 1 version 1.0 – SMA SUNNY WEBBOX RPC User Manual

Page 23

background image

SMA Solar Technology AG

7  Service Procedures

User Manual

SWebBoxRPC-BA-en-14

23

7.5 RPC_GET_PARAMETER_CHANNELS

7.5.1 Version 1.0

Returns a list with the meta names of the available parameter channels for a particular device type,
depending on access level. The level is determined by transmitting the MD5 hash value of the
respective password in the request header.

Structure:

RPC={
"version": "1.0",
"proc": "GetParameterChannels",
"id": "ID",
"format": "FORMAT",
"passwd" : "PASSWORD",
"params":
{
"key": DEVICE_KEY
}
}

Sample request

RPC={
"version": "1.0",
"proc": "GetParameterChannels",
"id": "1",
"format": "JSON",
"passwd": "a289fa4252ed5af8e3e9f9bee545c172",
"params":
{
"device": "WR715-19:263415747"
}
}

PASSWORD:

The MD5 coded hash value of the password for the desired access level.

DEVICE_KEY:

The device key of a device for whose type the parameter channels are to be
returned.