forked from stv0g/vzlogger
-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.mysmartgrid
47 lines (32 loc) · 1.4 KB
/
README.mysmartgrid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
vzlogger has been extended to be able to post the measurement values
to the MySmartGrid Webserver.
For the use of the MySmartGrid Webserver the channel-configuration
has some MySmartGrid specific parameters
To generate the Unique Ids one can use the command uuidgen
General channel parameters:
===========================
"protocol" can be: "vz" to use the Volkzaehler API
"mysmartgrid" to use the MySmartGrid API
"middleware" defines the specific server url
"uuid" defines the Unique ID of the sensor.
example:
"protocol" : "mysmartgrid",
"middleware" : "https://api.mysmartgrid.de:8443",
"uuid" : "e0c9dd9a-8f3c-4fc4-8a99-f2393ca60924",
Mysmartgrid channel parameters
==============================
"type" should be "sensor" to send the sensor data
"device" unique id for the server to identifiy the device/vzlogger
"secretKey" unique secret key to sign the messages to the server
"name" gives the functionname of the sensor
"channels" : [{...}[,{...}]]
for each channel define:
"type" : "sensor",
"device" : "52709939-4183-472e-a3bb-78d944da9937",
"secretKey" : "57c56da4-5932-497c-bd80-6cb210c0b891",
"name" : "s01",
"interval" : 300, /* */
/* identifier for measurement: 1-0:1.8.0 */
"identifier" : "counter",
"scaler" : 1, /* sml counter is in Wh */
// "scaler" : 1000, /* d0 counter is in kWh */