Skip to main content

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 objects
  • get_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.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

solaredge-0.0.3-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file solaredge-0.0.3.tar.gz.

File metadata

  • Download URL: solaredge-0.0.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for solaredge-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9370e7f5a1be2dd8bdc7b7574164b21ef9eca58e470c0a415ff8e3eb99f2a6aa
MD5 051ec120f5359f6df61c3eff3dc80190
BLAKE2b-256 22c5bd4b49b1d894afa575611fc92aacd2f223c0daa61b77723a32517745b5ea

See more details on using hashes here.

Provenance

File details

Details for the file solaredge-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: solaredge-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.3

File hashes

Hashes for solaredge-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e6ee480e4afa41e76de5dd73927e5fa88eab056898af77cfc7f220de4d0ef860
MD5 bf1e46c4dbb2315c51313b10f5c71964
BLAKE2b-256 f7823a86be99bbcbad5b698d1e9922a210905083cd62f8d7bccb8eb3c678e960

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page