Skip to content

Commit 4917fe5

Browse files
author
Thomas Basche
committed
Merge branch 'master' of https://github.com/tombasche/reposit
2 parents 3fec84e + 82be4ca commit 4917fe5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,27 @@ controller = Controller(user, user_key=user_keys[0])
3333
print(controller.battery_capacity)
3434
```
3535

36+
## Data
37+
| Method | Params | Description |
38+
|:-------------:|:-------------|:-------------|
39+
| `battery_capacity` | - | Get the capacity of the battery in kWh |
40+
| `battery_min_state_of_charge` | - | Get the minimum state of charge of the battery |
41+
| `has_battery` | - | Bool of whether the user has a battery or not|
42+
| `has_inverter` | - | Bool of whether the user has an inverter or not|
43+
| `get_historical_generation` | <ul><li>start (timestamp)</li><li>end(timestamp)(optional, default=now)</li></ul> | Get a list of generation data based on start or end|
44+
|`latest_historical_generation`|-|Get a list of the latest generation data. Goes back the last 24 hours.|
45+
| `get_historical_house` | <ul><li>start (timestamp)</li><li>end(timestamp)(optional, default=now)</li></ul> | Get a list of house data based on start or end|
46+
|`latest_historical_house`|-|Get a list of the latest house data. Goes back the last 24 hours.|
47+
| `get_historical_grid_credits` | <ul><li>start (timestamp)</li><li>end(timestamp)(optional, default=now)</li></ul> | Get a list of grid credits earned based on start or end|
48+
|`latest_historical_house`|-|Get a list of the latest grid credits earned. Goes back the last 24 hours.|
49+
| `get_historical_inverter` | <ul><li>start (timestamp)</li><li>end(timestamp)(optional, default=now)</li></ul> | Get a list of inverter data based on start or end|
50+
|`latest_historical_inverter`|-|Get a list of the latest inverter data. Goes back the last 24 hours.|
51+
| `get_historical_meter` | <ul><li>start (timestamp)</li><li>end(timestamp)(optional, default=now)</li></ul> | Get a list of meter data based on start or end|
52+
|`latest_historical_meter`|-|Get a list of the latest meter data. Goes back the last 24 hours.|
53+
|`weekday_tou_tariff`|-|Get weekday tou tariff information such as peak/off peak times and rates.|
54+
|`weekend_tou_tariff`|-|Get weekend tou tariff information such as peak/off peak times and rates.|
55+
|`feed_in_tariff`|-|Get the feed-in-tariff|
56+
3657
## Links
3758

3859
[Reposit Power](https://www.repositpower.com)

0 commit comments

Comments
 (0)