Skip to main content

EPC SunSpec demonstration tool

Project description

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.

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

sunspecdemo-0.1.9990.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

sunspecdemo-0.1.9990-py3-none-any.whl (13.4 kB view details)

Uploaded Python 3

File details

Details for the file sunspecdemo-0.1.9990.tar.gz.

File metadata

  • Download URL: sunspecdemo-0.1.9990.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.7.9 Windows/10

File hashes

Hashes for sunspecdemo-0.1.9990.tar.gz
Algorithm Hash digest
SHA256 b9d576e404ce73df6917ac70e37eb8d4b64d977384c9a806dac2ff1f6c4d3380
MD5 a6b0535bec72fc52e7ab9bf6924b641c
BLAKE2b-256 d32c608736d0ce23678fbee8dda7c72bde9b28c1f9c57219c4aa564a3f3e4484

See more details on using hashes here.

File details

Details for the file sunspecdemo-0.1.9990-py3-none-any.whl.

File metadata

  • Download URL: sunspecdemo-0.1.9990-py3-none-any.whl
  • Upload date:
  • Size: 13.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.7.9 Windows/10

File hashes

Hashes for sunspecdemo-0.1.9990-py3-none-any.whl
Algorithm Hash digest
SHA256 21244f4ab535583de4bf6b9e2241434ae29071ebe8f1425a8ab6745ff24a41a0
MD5 523cf968e65121c2da8f0a37951d8d68
BLAKE2b-256 fe78a1b517dad67e2fe7d73aa729595959073144cf76ffc2ea41c031159aa0a1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page