Get a list of the meteos (anemos, radiations cell) in the plant with the data of the current time.
You can enter a range of dates to get the data for that period.
/v1/<plant>/meteos/<id_meteo>/?start=XXX&end=XXX
JSON object with the result. May return the following errors:
Get all inverters data (last quarter) in DonBenito plant
GET /v1/DonBenito2/meteos/ HTTP/1.1
Host: apiexternal.mvscada.com
MV-API-Key: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Content-Type: application/json
{
"plant": "DonBenito2",
"id_meteo": "all",
"start": "2017-04-10 17:45:00",
"end": "",
"meteos": [
{
"dir3": null,
"dir2": null,
"dir1": null,
"temp_mod2": null,
"datetime": "2017-04-10 17:45:00",
"id": "EPPC31-SON1",
"temp_mod1": 58.9,
"plant": "DonBenito2",
"temp_mod3": null,
"temp_amb1": 30.1,
"temp_amb2": null,
"temp_amb3": null,
"radiac1": 1017,
"radiac3": null,
"radiac2": null,
"temp_aux2": null,
"temp_aux3": null,
"temp_aux1": null,
"alarma": 0,
"anemo1": null,
"anemo2": null,
"anemo3": null
},
{
"datetime": "2017-04-10 17:45:00",
"id": "EPPC51-SON1",
...
"anemo3": null
},
{...}
]
}
Get the last data of all meteos on the plant 'DonBenito2'
/v1/DonBenito2/meteos/
Get all datas of all meteos between requested dates
/v1/DonBenito2/meteos/?start=2017-03-30 08:00:00&end=2017-03-31 08:00:00
Get the data of the requested meteo in the requested date
/v1/DonBenito2/meteos/son001/?start=2017-03-30 08:00:00
Get all datas of the requested meteo between requested dates
/v1/DonBenito2/meteos/son001/?start=2017-03-30 08:00:00&end=2017-03-31 08:00:00