To use the REST APIs you have to register your gateway with our server as explained here.
Please note that we also have graphical APIs.
Enecsys REST API:
The URL is: http://www.dataservices.solar/SolarWeb/SolarREST.aspx
If you call the above URL without parameter it will do the following:
- Try to figure out your IP
- In case it find a Gateway submitting data via your IP it takes the Gateways Serialnumber
- Returns Lifetime Generation in kWhs
You can overwrite the detection of the IP with the following command:
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?ip=195.158.111.88
You can also specify directly the Serialnumber of your Gateway or Inverter:
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466
Of course you can also add commands. For example to list all connected inverters please use: http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=i
Get CSV List (c=csv):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=csv
Get Excel File (c=xls):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=xls
Get HTML Table (c=t):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=t
Get HTML formatted Table (c=htm):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=htm
The above link is ideal to place it somewhere on your desktop, Android device or any other mobile phone or tablet. For the future we are planning some real mobile apps!
Get AC Wattage (c=AC_W):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=AC_W
Get DC Wattage (c=DC_W):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=DC_W
Get LT Generation (c=LT):
(same as URL without c parameter)
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=2000010466&c=lt
Get Inverter Status (c=status):
http://www.dataservices.solar/SolarWeb/SolarREST.aspx?sn=100007831&c=status
If the status is 0 then everything is OK. If the status is > 0 then there is a problem. For example No Sun (4), etc.
More to follow soon! Please do not hesitate to contact us at info@dataservices.solar
3 thoughts on “Aloahas Enecsys REST APIs”
Comments are closed.