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
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.8.0.tar.gz
(12.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyopenems-1.8.0.tar.gz.
File metadata
- Download URL: pyopenems-1.8.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e50148b95a2707e05fc80ca855b5c27385f45293bd20cf48c84467fee8ea5fa8
|
|
| MD5 |
36250afe0d534baa392f4d99650ef977
|
|
| BLAKE2b-256 |
a5da733f726cd332bc3d6393524e4eb708fd38c1c525f9308f0ecb3019d9c7e7
|
Provenance
The following attestation bundles were made for pyopenems-1.8.0.tar.gz:
Publisher:
publish.yml on girasolenergy/pyopenems
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyopenems-1.8.0.tar.gz -
Subject digest:
e50148b95a2707e05fc80ca855b5c27385f45293bd20cf48c84467fee8ea5fa8 - Sigstore transparency entry: 397596861
- Sigstore integration time:
-
Permalink:
girasolenergy/pyopenems@fd4577635635fad148fb810ecf280099d73996aa -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/girasolenergy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fd4577635635fad148fb810ecf280099d73996aa -
Trigger Event:
push
-
Statement type:
File details
Details for the file pyopenems-1.8.0-py3-none-any.whl.
File metadata
- Download URL: pyopenems-1.8.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
489d1e505dbd6984ab10c8d8636b72fc1525c8e930ef2d0b9d2618b174d036af
|
|
| MD5 |
a74d389cbf11de12a579ce03538461a6
|
|
| BLAKE2b-256 |
d656c87f44a999a9c23d8d331ccaa1916d89897419f82c511b263aab3d88a463
|
Provenance
The following attestation bundles were made for pyopenems-1.8.0-py3-none-any.whl:
Publisher:
publish.yml on girasolenergy/pyopenems
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyopenems-1.8.0-py3-none-any.whl -
Subject digest:
489d1e505dbd6984ab10c8d8636b72fc1525c8e930ef2d0b9d2618b174d036af - Sigstore transparency entry: 397596879
- Sigstore integration time:
-
Permalink:
girasolenergy/pyopenems@fd4577635635fad148fb810ecf280099d73996aa -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/girasolenergy
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@fd4577635635fad148fb810ecf280099d73996aa -
Trigger Event:
push
-
Statement type: