Skip to main content

No project description provided

Project description

pyopenems

$ pip install pyopenems

cli

$ python -m openems --server-url='ws://localhost:8081' --username='admin' --password='password' get-edge-list
edge0
edge1
edge3
edge4
edge5
edge6

$ python -m openems --server-url='ws://localhost:8081' --username='admin' --password='password' get-edge-config edge0
{
  "components": {
    "_appManager": {
      "alias": "Core.AppManager",
      "factoryId": "Core.AppManager",
      "properties": {
        "apps": "[]",
        "keyForFreeApps": "0000-0000-0000-0000"
      },
      "channels": {

fetching meter value

$ python -m openems ... get-meter-list edge0
meter0
meter1

$ python -m openems ... get-channel-list edge0 meter0 | head
meter0/ActiveConsumptionEnergy
meter0/ActiveConsumptionEnergyL1
meter0/ActiveConsumptionEnergyL2
meter0/ActiveConsumptionEnergyL3
meter0/ActivePower
meter0/ActivePowerL1
meter0/ActivePowerL2
meter0/ActivePowerL3
meter0/ActiveProductionEnergy
meter0/ActiveProductionEnergyDaily

$ python -m openems ... get-channel-data edge0 meter0/ActiveConsumptionEnergy 2024-01-01 2024-01-01
,meter0/ActiveConsumptionEnergy
2023-12-31T15:00:00Z,5831900.0
2023-12-31T15:05:00Z,5831900.0
2023-12-31T15:10:00Z,5831900.0
2023-12-31T15:15:00Z,5832000.0
2023-12-31T15:20:00Z,5832000.0
(snip)
2024-01-01T14:35:00Z,5837900.0
2024-01-01T14:40:00Z,5838000.0
2024-01-01T14:45:00Z,5838000.0
2024-01-01T14:50:00Z,5838000.0
2024-01-01T14:55:00Z,5838100.0

fetching pvinverter value

$ python -m openems ... get-pvinverter-list edge0
pvInverter1

$ python -m openems ... get-channel-list edge0 pvInverter1 | head
pvInverter1/ActiveConsumptionEnergy
pvInverter1/ActiveConsumptionEnergyL1
pvInverter1/ActiveConsumptionEnergyL2
pvInverter1/ActiveConsumptionEnergyL3
pvInverter1/ActivePower
pvInverter1/ActivePowerL1
pvInverter1/ActivePowerL2
pvInverter1/ActivePowerL3
pvInverter1/ActivePowerLimit
pvInverter1/ActiveProductionEnergy

$ python -m openems ... get-channel-data edge0 pvInverter0/ActiveProductionEnergy 2024-01-01 2024-01-01
2023-12-31 15:00:00+00:00,5700.0
2023-12-31 15:05:00+00:00,5700.0
2023-12-31 15:10:00+00:00,5700.0
2023-12-31 15:15:00+00:00,5700.0
2023-12-31 15:20:00+00:00,5700.0
2023-12-31 15:25:00+00:00,5700.0
2023-12-31 15:30:00+00:00,5700.0
2023-12-31 15:35:00+00:00,5700.0
2023-12-31 15:40:00+00:00,5700.0

setting controller value

$ python -m openems update-component-config edge0 ctrlPeakShaving0 peakShavingPower 300

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

pyopenems-1.2.5.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

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

pyopenems-1.2.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file pyopenems-1.2.5.tar.gz.

File metadata

  • Download URL: pyopenems-1.2.5.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyopenems-1.2.5.tar.gz
Algorithm Hash digest
SHA256 856cb436523a58b9038e53307db6086ddc30990d48d5f1f59aaf5fb5145fb780
MD5 b586ca424057ff20c1a1ee14636ead3a
BLAKE2b-256 1b1cb3eef1d210dc7d66a3a7b780dc982f881da536c07df4801a910daff07a2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopenems-1.2.5.tar.gz:

Publisher: publish.yml on girasolenergy/pyopenems

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

File details

Details for the file pyopenems-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: pyopenems-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyopenems-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 70d1ff2dab0532ebfe8015bb1611dab81724941eac9ccb96fc8ca5c823b9beb0
MD5 b96edaf766efe009a9f6e50b44cae898
BLAKE2b-256 9bd3fedc642dcc24fcb62c2b9df3b30f8e2ff65f6a5f53ba6ec1dac4c6550505

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopenems-1.2.5-py3-none-any.whl:

Publisher: publish.yml on girasolenergy/pyopenems

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