Skip to main content

EPC SunSpec Demo

tests on GitHub Actions source on GitHub

The EPC SunSpec demo implements basic SunSpec communications with EPC converters. SunSpec is built on Modbus and works with both Modbus RTU (direct serial) and Modbus TCP connections. Additionally this program acts as a basic example of using the pysunspec Python library.

Installation

The poetry & poetry-dynamic-versioning packages must be installed.

pip install poetry
pip install poetry-dynamic-versioning

Windows & Linux

poetry install
poetry run sunspecdemo get-models

Running

A list of commands and options will be reported if --help is passed. This can be done at any layer in the tree of subcommands. When options provide defaults they will be listed in the help output.

get-models

get-models will download the EPC custom models needed for our specific features.

list-ports

As an aid to selecting the proper serial port this subcommand will report a list of those available. In some cases extra identifying information may be provided as well.

scan

Scan for responding nodes in a given node ID range. Provides both direct serial and tcp subcommands

gridtied, dcdc

Converters can be run over either Modbus RTU or Modbus TCP. A subcommand is provided for each: serial and tcp. When running a fully selected command a basic demo sequence will be run to confirm communication with the device.

serial

For a Modbus RTU connection to the converter. At a minimum the serial port connected to the converter must be specified.

tcp

For a Modbus TCP connection to the converter. At a minimum the IP address or hostname of the converter must be specified.

Metadata

Release files for sunspecdemo 1.2.301

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sunspecdemo 1.2.301
File Size Uploaded Provenance Actions
sunspecdemo-1.2.301.tar.gz 11.4 kB Without provenance Details for sunspecdemo-1.2.301.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sunspecdemo 1.2.301
File Interpreter ABI Platform Actions
sunspecdemo-1.2.301-py3-none-any.whl Python 3 none any Details for sunspecdemo-1.2.301-py3-none-any.whl

Total release size: 24.7 kB

Release files / sunspecdemo-1.2.301.tar.gz

Download URL sunspecdemo-1.2.301.tar.gz
Size 11.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b6e41b166ecc5aca8fcaa58416dd52fbaba868095db310a0b7e0e6f24a97268a
BLAKE2b-256 checksum
How to use checksums
c65c567948eede5f92c907ee8ad914cb9c1798e45d650ed0d72b2bfb47a351fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.7.9 Windows/10

Release files / sunspecdemo-1.2.301-py3-none-any.whl

Download URL sunspecdemo-1.2.301-py3-none-any.whl
Size 13.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4d44ff9c1be4f2cb84e0ff28a64ed2305caf2c02c7e49f19af78cf2877d02a07
BLAKE2b-256 checksum
How to use checksums
a8161c77f62439708c1aa07004775decbe82334897d7fe7a8804e5e0df45d874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.7.9 Windows/10

Security for sunspecdemo 1.2.301

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page