S
E
TTING
Manual Datalogger SenNet DL150 / DL151 / DL170 / DL171 / DL172
Versión 1.01
Satel Spain
69
After doing the any change on this screen, click on
Accept
and then on the
Save Changes
button on
the
Configuration menu
. See 15.9 Save changes, p. 72
15.7.2.
SenNet API
If the customer wants to send the data to their own server without depending on third-party software
or hardware, they can use SenNet API. To use the SenNet API you have to fill in the following fields:
▪
ApiKey
: the server's key
▪
Path
: server's path
Furthermore, in the menu
General Parameters
you have to specify the server's IP (
Server IP
) and you
should choose the sending port number 80 (
Send port
= 80)
Afterwards, in
Application Parameters
>
Management platform
, you should choose
SenNetAPI V1
or
SenNetAPIV2
.
Finally, you must save the data in the menu
Configuration
>
Save Changes
.
To set the SenNet API, you must use HTTP POST with JSON format. Both the server and the URL used
by the datalogger to send the data are configurable at the interface.
Request:
Method: POST
Headers:
▪
User-Agent
: sennet
▪
Content-Type
: application/json
▪
Sennet_Key
: my_api_key
Where:
my_api_key
is a key that can be configured in the datalogger. You can use this key to disable or
enable the POST. It should be a string of up to 64 bytes.
JSON msg format
{
“version”:”v1”,
“datalogger_id”:”D85034C02445”,
“device_type”:"83",
“device_desc”:”
SenNet
Meter”,
“device_name”:”general
consumption”,
“device_id”:003,
"at":1356390000,
“data”:{
“Values”:{
“1”:”23.34”,
“2”:”456.30”,
“3”:”43.23”
},
"Descriptions": {
“1”:”ActivePower
kW”,
“2”:”ActiveEnergy
kWh”,
“3”:”ReactiveEnergy
kvar”
Summary of Contents for SENNET DL150
Page 1: ...Dataloggers series Device network DL150 DL151 DL170 DL171 DL172 ...
Page 8: ......
Page 44: ......
Page 86: ......