Skip to Content

API List - Plant Chart

Plant Chart API

The graphing portion of the user's homepage. Lists output in chartable JSON

POST - plantChart/dayLine

Get Plant Energy Output of the time between 5:30am - 8:30pm on an hourly basis

Parameter
plantId -  Found from API get all plant list.
dateText - YYYY-MM-DD

Return

"data": [{  
"day": 18
 
"hour": 5
 
"minute": 30
 
"month": 8  
"pac": "0"
 
"second": 0  
"time": "2020-09-18 05:30:00"  
"year": 2020  
}, ... ]  

POST - plantChart/monthColumn

Get Plant Energy Output by one specified Month. Output displayed per day basis

Parameters
plantId -  Found from API get all plant list.
year - YYYY
month - MM or M

Return

"consumptionEnergy": "1.00",
 
"day": 1,
 
"energy": "1.00"
 
"exportEnergy": "0.00",  
"importEnergy": "0.00",  
}, ... ]  

POST - plantChart/yearColumn 

Get Plant Energy Output by the Year per monthly basis

Parameters
plantId Found from API get all plant list.
year - YYYY

Return

"data": [{  
"consumptionEnergy": "0.00"  
"energy": "0.00"  
"exportEnergy": "0.00"  
"importEnergy": "0.00"  
"month": 1  
}, ... ]  

POST - plantChart/totalColumn

Get Plant Energy Output Total by Yearly Basis

Parameters
plantId
-  Found from API get all plant list.

Return

"data": [{  
"consumptionEnergy": "0.00"  
"energy": "0.00"  
"exportEnergy": "0.00"  
"importEnergy": "0.00"  
"year": 2014  
}...]