beautypg.com

6 rpc_get_parameter, 1 version 1.0 – SMA SUNNY WEBBOX RPC User Manual

Page 25

background image

SMA Solar Technology AG

7  Service Procedures

User Manual

SWebBoxRPC-BA-en-14

25

7.6 RPC_GET_PARAMETER

7.6.1 Version 1.0

Returns the parameter values of up to 5 devices, depending on the 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": "GetParameter",
"id": "ID",
"format": "FORMAT",
"passwd": "PASSWORT",
"params":
{
"DEVICES":
[
{
"key": DEVICE_KEY,
"channels": [CHANNELS]
}
]
}
}

A list with the device objects whose parameters are to be provided must be transferred as a
parameter. You can submit a selection of requested parameters to each device. If this selection is
omitted, all parameters will be transmitted.

PASSWORD:

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

DEVICES:

An array containing the device objects for which parameters are to be returned, and
an optional selection of certain channels.

DEVICE_KEY:

The corresponding device key (see Section 6.1 "Device Object", page 12).

CHANNELS:

An array containing the meta names of the required process data. The available
meta names can be identified with the command
RPC_GET_PROCESS_DATA_CHANNELS.