Protocol implementation for Eversolar PMU devices.
Project description
Eversolar PMU Protocol
Protocol implementation for Eversolar PMU devices, extracted from the
eversolar-pmu-ha Home Assistant integration.
Install
pip install eversolar-pmu-protocol
Usage
from eversolar_pmu_protocol import EversolarPMU
pmu = EversolarPMU("192.0.2.10", 8080, timeout=5.0)
data = pmu.connect_and_poll()
print(data["power_w"], data["pv_v"], data["pv_a"])
API
The main entry point is EversolarPMU, which provides:
test_connection(host, port, timeout=5.0) -> boolconnect_and_poll(set_time=False, tz_name="Australia/Brisbane") -> dictsync_time(tz_name="Australia/Brisbane") -> bool
The returned dict includes both parsed values and the raw 16-bit values:
power_w,vac_v,fac_hz,e_today_kwh,e_total_kwh,h_total_hoursmode,pv_v,pv_a,pv_w_est,error_flagspmu_time_utc,time_delta,pmu_epochraw_u16(mapping of hex code string to raw value)
License
GPL-3.0
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
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 eversolar_pmu_protocol-0.1.1.tar.gz.
File metadata
- Download URL: eversolar_pmu_protocol-0.1.1.tar.gz
- Upload date:
- Size: 18.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4388d7c4d9c7dc7b9452183205b1d1271b1de8d8ba8bb325b962eb4033d375b
|
|
| MD5 |
1122479657f91a00b66916908c11e0a9
|
|
| BLAKE2b-256 |
498f76065afb8c0e126ec20771334c3f11e066103a3c05fc77d5159db347ec6c
|
Provenance
The following attestation bundles were made for eversolar_pmu_protocol-0.1.1.tar.gz:
Publisher:
workflow.yaml on aburow/eversolar-pmu-protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eversolar_pmu_protocol-0.1.1.tar.gz -
Subject digest:
c4388d7c4d9c7dc7b9452183205b1d1271b1de8d8ba8bb325b962eb4033d375b - Sigstore transparency entry: 923578095
- Sigstore integration time:
-
Permalink:
aburow/eversolar-pmu-protocol@f8720e570b2537c67ef93d2b98e5f2fcef19568f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/aburow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@f8720e570b2537c67ef93d2b98e5f2fcef19568f -
Trigger Event:
push
-
Statement type:
File details
Details for the file eversolar_pmu_protocol-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eversolar_pmu_protocol-0.1.1-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d30fd92c947d687bb72157420c0aef546436d1b938e5741cb458bf4a9b32e07
|
|
| MD5 |
0a6c8837cb95d9152d4168f0c2351e20
|
|
| BLAKE2b-256 |
d48f5f2d3c5c9e32b36efa0238ae0d877e2206491ebf0ebe310d1e5e50cc4083
|
Provenance
The following attestation bundles were made for eversolar_pmu_protocol-0.1.1-py3-none-any.whl:
Publisher:
workflow.yaml on aburow/eversolar-pmu-protocol
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eversolar_pmu_protocol-0.1.1-py3-none-any.whl -
Subject digest:
8d30fd92c947d687bb72157420c0aef546436d1b938e5741cb458bf4a9b32e07 - Sigstore transparency entry: 923578136
- Sigstore integration time:
-
Permalink:
aburow/eversolar-pmu-protocol@f8720e570b2537c67ef93d2b98e5f2fcef19568f -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/aburow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
workflow.yaml@f8720e570b2537c67ef93d2b98e5f2fcef19568f -
Trigger Event:
push
-
Statement type: