EasyManuals Logo

Solar-Log 2000 Installation Manual

Solar-Log 2000
224 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #219 background imageLoading...
Page #219 background image
219
Appendix
31.6.1 JSON Interfaces
The JavaScript Object Notation (JSON) is a compact data format to transmit data between applications.
The objects documented here can be used in connection with other programs.
The current data can be accessed via HTTP protocol. To do this an HTTP Post Inquiry needs to be sent to
the Solar-Log™. The object requested has to be in the body:
POST /getjp HTTP/1.1
Host: solar-log-xxxx
...
Content Length: 20
Connection: keep-alive
Pragma: no-cache
Cache Control: no-cache
{„801“:{„170“:null}}
The reply contains a JSON object as a character string in the body:
HTTP/1.1 200 OK
Date: Mon, 31 Mar 2014 10:42:32 GMT
Server: IPC@CHIP
Content-Type: text/plain
Transfer-Encoding: chunked
{„801“:{„170“:{„100“:“31.03.14 10:42:15“,“101“:0,“102“:0,“103“:0,“104“:0,“105“:0,“106“:0,“107“:3527647,
“108“:0,“109“:0,“110“:0,“111“:0,“112“:0,“113“:1132434,“114“:0,“115“:0,“116“:45000}}}
The JSON character sting needs to be converted to an object first before it can be data can be processed
in a Java script. For example, when the JSON character string contains the variable "tdata" the conversa-
tion looks like this:
var LiveDaten=JSON.parse(tdata)[801][170];
After that the individual data fields can be accessed via the indexes specified in the following table.
For example, the current P
AC
output is displayed as follows:
alert(„The current AC output is: „ + LiveDaten[101] + „ W“);

Table of Contents

Other manuals for Solar-Log 2000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Solar-Log 2000 and is the answer not in the manual?

Solar-Log 2000 Specifications

General IconGeneral
Device TypeData Logger
Max Inverters100
Power Supply24 V DC
Remote MonitoringYes
Ethernet interfaceYes
Communication InterfacesRS485, Ethernet
ProtocolsModbus
Data StorageInternal

Related product manuals