Skip to main content

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) -> bool
  • connect_and_poll(set_time=False, tz_name="Australia/Brisbane") -> dict
  • sync_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_hours
  • mode, pv_v, pv_a, pv_w_est, error_flags
  • pmu_time_utc, time_delta, pmu_epoch
  • raw_u16 (mapping of hex code string to raw value)

License

GPL-3.0

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

eversolar_pmu_protocol-0.1.1.tar.gz (18.3 kB view details)

Uploaded Source

Built Distribution

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

eversolar_pmu_protocol-0.1.1-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

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

Hashes for eversolar_pmu_protocol-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c4388d7c4d9c7dc7b9452183205b1d1271b1de8d8ba8bb325b962eb4033d375b
MD5 1122479657f91a00b66916908c11e0a9
BLAKE2b-256 498f76065afb8c0e126ec20771334c3f11e066103a3c05fc77d5159db347ec6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for eversolar_pmu_protocol-0.1.1.tar.gz:

Publisher: workflow.yaml on aburow/eversolar-pmu-protocol

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

File details

Details for the file eversolar_pmu_protocol-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for eversolar_pmu_protocol-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8d30fd92c947d687bb72157420c0aef546436d1b938e5741cb458bf4a9b32e07
MD5 0a6c8837cb95d9152d4168f0c2351e20
BLAKE2b-256 d48f5f2d3c5c9e32b36efa0238ae0d877e2206491ebf0ebe310d1e5e50cc4083

See more details on using hashes here.

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

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