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": {
fetcing 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
fetcing 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
Release history Release notifications | RSS feed
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.2.tar.gz
(8.8 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.2.2.tar.gz.
File metadata
- Download URL: pyopenems-1.2.2.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cd75d71d5748d620b8de2b97edac99003036b3bbe0dd84b51b1ce2af522b30a
|
|
| MD5 |
0f30a6994fda4c2a5090ed50b893b6d3
|
|
| BLAKE2b-256 |
c09eec3b3c0900845890fa349b3adc9fabca565977d7ac3bc61bb669020c58fa
|
File details
Details for the file pyopenems-1.2.2-py3-none-any.whl.
File metadata
- Download URL: pyopenems-1.2.2-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
819457abfecac5d9943c12e01a4febc77e69640025222d08375fecf79218cc86
|
|
| MD5 |
65281f05aa22185ad6f1b17558561216
|
|
| BLAKE2b-256 |
71037d2195b142166458776be806f86f2c667efdadf1aa8be6e96addc31bcd77
|