File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,6 +83,21 @@ def latest_historical_generation(self):
8383 format_list = True
8484 )
8585
86+ @property
87+ def latest_historical_house (self ):
88+ """
89+ Return a list of data points as lists. Time are in GMT
90+ :return:
91+ """
92+
93+ return api_response (
94+ url = 'https://{}/v2/deployments/{}/house/historical' ,
95+ controller = self ,
96+ field = 'data' ,
97+ subfield = 'houseP' ,
98+ format_list = True
99+ )
100+
86101 @property
87102 def latest_historical_grid_credits (self ):
88103 """
@@ -96,6 +111,33 @@ def latest_historical_grid_credits(self):
96111 format_list = True
97112 )
98113
114+ @property
115+ def latest_historical_inverter (self ):
116+ """
117+ Return a list of data points as lists. Times are in GMT
118+ :return:
119+ """
120+ return api_response (
121+ url = 'https://{}/v2/deployments/{}/inverter/historical/p' ,
122+ controller = self ,
123+ field = 'inverterP' ,
124+ format_list = True
125+ )
126+
127+ @property
128+ def latest_historical_meter (self ):
129+ """
130+ Return a list of data points as lists. Times are in GMT
131+ :return:
132+ """
133+ return api_response (
134+ url = 'https://{}/v2/deployments/{}/meter/historical/p' ,
135+ controller = self ,
136+ field = 'meterP' ,
137+ format_list = True
138+ )
139+
140+
99141 @property
100142 def weekday_tou_tariff (self ):
101143 """
You can’t perform that action at this time.
0 commit comments