Interconnect
Interconnect feature allows automatic sending (pushing) data to third-party systems.
Protocol
Following protocol options are supported:
- FTP
- FTP over TLS 1.2
- SSH SFTP
Data format
Two data formats are supported.
JSON
Data can be transported using JSON format similar to rayleighconnect™ API format:
{
"data": {
"DEVICE_ID@NAMESPACE": {
"SENSOR_ID" : [
[TIMESTAMP, VALUE],
(...)
],
(...)
},
(...)
},
"from": TIMESTAMP,
"to": TIMESTAMP,
"OPTION": "VALUE",
(...)
}
Timestamps format is milliseconds elapsed since 01/01/1970 (unix epoch).
CSV
Second option is a CSV (Comma Separated Values) file format:
device_id,sensor_id,timestamp,value
Q123456789@rayleigh,"e1.kwh",2020-01-02T15:22Z,1544.12
...
Timestamp format is ISO 8061 (RFC 3339) extended format: YYYY-MM-DD
T
HH:mm:SS
Z
.
Timestamp are in UTC timezone as indicated in above example by Z
suffix.
Configuration screen
To access interconnect configuration screen:
- Open "Data Visualization" menu by clicking on button with Chart icon in top bar:
- Select "Interconnect" option
You will be taken to Interconnect dashboard which shows a list of configured services. - Click on the "Add connection" button on the left.
Configuration
Interval
Data sending interval is controllable by the customer. Gateways standard configuration is to acquire data from meters every 1 minute. Interconnect can be set to upload data every 1 minute, every 10 minutes, every hour or day. Any number of seconds can be entered (with recommended minimum being 2 minutes).
If Interconnect is configured to send data eg. every 10 minutes then the file will contain multiple data points acquired since previous Interconnect data transfer.
Sensors
The interconnect can send all sensor data acquired by the gateway:
- meters: depending on selected meter model we will read: kWh, Voltage, Current, Power factor, Frequency, etc.
- other data: digital inputs, relay outputs, gsm signal strength, etc
Customer can configure which sensors and meters readings are sent.
Destinations
System allows creation of multiple records - data can be sent to multiple destinations.