A python API wrapper for Solaredge monitoring service
Project description
Solaredge
Python Client for Solaredge monitoring service.
See https://www.solaredge.com/sites/default/files/se_monitoring_api.pdf
Create a new connection by supplying your Solaredge API key
s = solaredge.Solaredge("APIKEY")
Raw API Requests
12 API requests are supported. The methods return the parsed JSON response as a dict.
def get_list(self, size=100, start_index=0, search_text="", sort_property="", sort_order='ASC', status='Active,Pending'):
def get_details(self, site_id):
def get_data_period(self, site_id):
def get_energy(self, site_id, start_date, end_date, time_unit='DAY'):
def get_time_frame_energy(self, site_id, start_date, end_date, time_unit='DAY'):
def get_power(self, site_id, start_time, end_time):
def get_overview(self, site_id):
def get_power_details(self, site_id, start_time, end_time, meters=None):
def get_energy_details(self, site_id, start_time, end_time, meters=None, time_unit="DAY"):
def get_current_power_flow(self, site_id):
def get_storage_data(self, site_id, start_time, end_time, serials=None):
def get_inventory(self, site_id):
Parsed API Requests
get_data_period_parsed
: Get start and end dates as datetime objectsget_energy_details_dataframe
: Get energy details as a Pandas DataFrame. This method deals with the API usage restrictions, allowing you to do bulk requests.get_timezone
: Get the IANA timezone of a site
TODO
- Add API documentation for certain requests
- Add more DataFrame parsers for other calls
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
solaredge-0.0.4.tar.gz
(7.6 kB
view details)
Built Distribution
File details
Details for the file solaredge-0.0.4.tar.gz
.
File metadata
- Download URL: solaredge-0.0.4.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df3d4c519dffcc9b0b41a6ed4332955785bc8f007112f498bdd4e241c18a8f60 |
|
MD5 | 5a9e13afe13a4fcea86d9214b090f399 |
|
BLAKE2b-256 | 9146c9c7ce9709b5ad88cdf1029d1d56453d67be200a9fd774454ca941873f0c |
Provenance
File details
Details for the file solaredge-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: solaredge-0.0.4-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a01021a7788da44de163afe7443b8b0d1040443fad8365abce6b3174c5814465 |
|
MD5 | b18497c9563b74975e50ffa358f86aad |
|
BLAKE2b-256 | 587e11b97c3a31d6339a8362d6ee5cd0d4d6124b980e0dc5b022b9aacc0f6b9a |