Skip to main content

SMA ennexOS

Python library for interacting with the SMA ennexOS / Sunny Portal API.

Uses PKCE OAuth2 to authenticate and provides typed access to PV plant data (current power, daily energy, plant info).

Installation

pip install sma_ennexos_cloud

Usage

from sma_ennexos_cloud import SmaClient

client = SmaClient(username="your@email.com", password="your-password")
client.login()

plant_name = client.get_plant_name()
power = client.get_current_power()
energy = client.get_daily_energy()

print(f"Plant: {plant_name}")
print(f"Power: {power.value} W")
print(f"Daily energy: {energy.wh} Wh")

Development

pip install -e ".[dev]"
pytest

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sma_ennexos_cloud-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sma_ennexos_cloud-0.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file sma_ennexos_cloud-0.1.0.tar.gz.

File metadata

  • Download URL: sma_ennexos_cloud-0.1.0.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for sma_ennexos_cloud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3c490ced1410a66fa14e220c1e3f9b1597606675fae8fdaec31b5c6a6caaa90b
MD5 4bf190e53ccfdbe5c59daa9ee2c52778
BLAKE2b-256 3ff4c5bb0ad3f5ca5d2af2f5cfa7d20ff55d781888fcdcb1c8375ce3223ea398

See more details on using hashes here.

Provenance

The following attestation bundles were made for sma_ennexos_cloud-0.1.0.tar.gz:

Publisher: publish.yml on MauroDruwel/SMA-ennexOS-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sma_ennexos_cloud-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sma_ennexos_cloud-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dcddbae506f59681dd0fc0c6cbdaf1a55ad23b027258a08ac2cb009b7982e3e
MD5 88a3be433d4f73d66279cc1aab9d7ef5
BLAKE2b-256 9a6eafdf860794e7c34b7a35872b800ca8b2b5df359f99e439339952df5f0367

See more details on using hashes here.

Provenance

The following attestation bundles were made for sma_ennexos_cloud-0.1.0-py3-none-any.whl:

Publisher: publish.yml on MauroDruwel/SMA-ennexOS-cloud

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page