Skip to main content

SMA ennexOS Cloud

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). No browser required.

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")
client.close()

API

Method Returns Description
login() — PKCE OAuth2 login
get_current_power() PowerData Live PV power in watts
get_daily_energy() EnergyData Today's total energy in Wh
get_plant_name() str Name of your PV plant
close() — Close HTTP session

Development

pip install -e ".[dev]"
pytest

Metadata

Release files for sma-ennexos-cloud 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sma-ennexos-cloud 0.2.0
File Size Uploaded Provenance
sma_ennexos_cloud-0.2.0.tar.gz 10.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sma-ennexos-cloud 0.2.0
File Interpreter ABI Platform
sma_ennexos_cloud-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / sma_ennexos_cloud-0.2.0.tar.gz

Download URL sma_ennexos_cloud-0.2.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a04ea2603e3dd086378f067480fbcfddd28bf2790cfd1f48feb5125758605b25
BLAKE2b-256 checksum
How to use checksums
0eaf711729ac7e65ca3fc87ff1281f8211a92519c949e2a5f4ab28755dba3d5e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Release files / sma_ennexos_cloud-0.2.0-py3-none-any.whl

Download URL sma_ennexos_cloud-0.2.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e937ac4f17ea65280b701a0dca8318c4272c296b51a2c08c7769f969af2339e0
BLAKE2b-256 checksum
How to use checksums
cc61950d98a341b82dc859504798dc92a05a1a01a2387344f7106a31cc358616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

Security for sma-ennexos-cloud 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sma_ennexos_cloud-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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