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.2.tar.gz (14.9 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.2-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sigenergy_cloud-0.1.2.tar.gz
Algorithm Hash digest
SHA256 76ea7c40213027dde64f37d8198e55755c26b55c1d3ad507488bb4053d7ccea4
MD5 05756d8a1072fc4181700f30a2627f63
BLAKE2b-256 26855e6d421d4193eeaabd750cc87c5d2cea9f0c499a8c0adc3af4f150ba1d8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigenergy_cloud-0.1.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for sigenergy_cloud-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7e960e8568d36bcfd757efc218c9ce938f8b76015182e8fc8cf948a6d61ec6c
MD5 6d82df448a51365e1cd7ba13765e1e84
BLAKE2b-256 f24fac931f1d07456c4b6690845cb4cf82cb502ca605718840e32e244f0f1b71

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigenergy_cloud-0.1.2-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