Skip to main content

Async Python client for the Sigenergy Cloud app API

Project description

sigenergy-cloud

Async Python client for the Sigenergy Cloud app API.

This package is a minimal async wrapper around the private Sigenergy Cloud app API. It is built for Home Assistant style integrations that need to read and control Sigenergy stations, batteries, and DC chargers.

Install

python -m pip install sigenergy-cloud

Example

from sigenergy_cloud import SigenergyCloudClient

client = SigenergyCloudClient("user@example.com", "password", region="eu")
await client.connect()

flow = await client.energy_flow()
mode = await client.current_operational_mode()
chargers = client.dc_sns

# Temporarily override the active strategy without leaving Sigen AI mode.
await client.set_instant_manual_control("0", duration_minutes=120)  # Charging
await client.disable_instant_manual_control()

await client.close()

Shape

  • Use SigenergyCloudClient for cloud calls.
  • Call connect() once before reading data or changing settings.
  • The client keeps the station ID and charger serial numbers after connecting.
  • Simple settings use small typed value objects.
  • Vendor response payloads are returned as dictionaries where the API shape is still being mapped.

Instant Manual Control

The Sigenergy app exposes Instant Manual Control through the misspelled private path device/energy-profile/instant/manunal. The app labels the modes as:

Mode Label
0 Charging
1 Discharging
2 Hold Battery
3 Self-Consumption

Use set_instant_manual_control() for a 30-120 minute temporary override, and disable_instant_manual_control() to hand control back to the active strategy.

Regions

Region Base URL
eu https://api-eu.sigencloud.com/
cn https://api-cn.sigencloud.com/
apac https://api-apac.sigencloud.com/
us https://api-us.sigencloud.com/

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

sigenergy_cloud-0.1.6.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

sigenergy_cloud-0.1.6-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file sigenergy_cloud-0.1.6.tar.gz.

File metadata

  • Download URL: sigenergy_cloud-0.1.6.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sigenergy_cloud-0.1.6.tar.gz
Algorithm Hash digest
SHA256 60bb4d87f3a1377d7e2ed5c04061901e92d711a803016b56e9ee5eb9f6f71c0b
MD5 705e2178e559075cbedc4f64116094af
BLAKE2b-256 b56f00527e9cdc97c21b1e31ded456707f81ddafaaa988eea96f067c7ca1a1e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigenergy_cloud-0.1.6.tar.gz:

Publisher: python-publish.yml on solidfox/sigenergy-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 sigenergy_cloud-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: sigenergy_cloud-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for sigenergy_cloud-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1fa50510d0bde93d24982f55e3cf3ea1e8f871093dc588b70dbb783e2ebe373e
MD5 5d64a013bd84e598e55cd90fafae926f
BLAKE2b-256 cdbac2b6315741903ede40ad16f3eccda3e1aaf12709da1f41adb81e05da5439

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigenergy_cloud-0.1.6-py3-none-any.whl:

Publisher: python-publish.yml on solidfox/sigenergy-cloud

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

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