6 object definitions, 1 device object – SMA SUNNY WEBBOX RPC User Manual
Page 12
6 Object Definitions
SMA Solar Technology AG
12
SWebBoxRPC-BA-en-14
User Manual
6 Object Definitions
This section defines the structure of frequently used objects using the JSON syntax. In the description,
the values of the object members define the type of data used. All definitions apply accordingly to all
other data transmission formats.
6.1 Device Object
Describes a device within the plant (e.g. Sunny Boy, Sunny Sensor Box).
RPC={
"key": "string",
"name": "string" or null (optional),
"channels": [array] or null (optional),
"children": [array] or null (optional)
}
key:
A unique device key (e.g. "SB21TL06:2000106925").
name:
The user-definable name of the device (e.g. "INV left"). Defining this element is optional.
If the element is used but no name was defined, "null" is entered.
channels: An array of channel objects of the device. Defining this element is optional. If the element
is used but no channels exist, "null" is entered.
children:
An array of objects containing sub-devices. Defining this element is optional. If the
element is used but no sub-devices exist, "null" is entered.