Skip to main content

Python API wrapper for SolarEdge monitoring services

Project description

pysolaredge

Python API wrapper for SolarEdge monitoring.
This library allows you to easily communicate with the SolarEdge API to get data about solar installations.
For more information about the documentation see https://www.solaredge.com/sites/default/files/se_monitoring_api.pdf

Installation

pip3 install py-solaredge

Getting started

Importing the SolarEdge client:

from solaredge.api.client import Client

Initializing the SolarEdge API client, and setting your API key:

se_client = Client()
se_client.set_api_key('XXX')

API's

All of the API classes are available through the client object. Client() is the base instance that allows access to the underlying classes and to call API endpoints to get data. Classes available at this point are sites and equipment.

Sites

Getting all sites:

sites = se_client.sites.get_sites()

Getting the number of sites:

number_of_sites = se_client.sites.get_total_sites()

Equipment

Getting the equipment / component list for a location:

equipment = se_client.equipment.get_site_equipment('location_id')

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

py-solaredge-0.0.4.9.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file py-solaredge-0.0.4.9.tar.gz.

File metadata

  • Download URL: py-solaredge-0.0.4.9.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for py-solaredge-0.0.4.9.tar.gz
Algorithm Hash digest
SHA256 123c1c8b26e177d08dcf8cbe064efe509a8af71490ffac000457162137afa018
MD5 b50c7e7a7a4ebd0084167892760612c1
BLAKE2b-256 278c855f300e85896a18ef69552a0864709cfaf50fd9fb8edfae228386ca9989

See more details on using hashes here.

Supported by

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