Skip to main content

library for making modbus connections to NRG Systems devices.

Project description

NRGPy

'''nrgmodbus''' is a Python package for making modbus connections to NRG devices.

Installation:

# from the directory containing this README file:
pip install -e .

Example:

In  [1]: from nrgmodbus.nrgmodbus import ipackaccess

In  [2]: poller = ipackaccess(ip='192.168.178.168')

In  [3]: poller.connect()
Out [3]: Connecting to 192.168.178.74...                 [OK]

In  [4]: poller.return_diag_readings()

In  [5]: poller.diag_12v_bat
Out [5]: 13.694999694824219

In  [6]: poller.diag_12v_cur
Out [6]: 22.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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

nrgmodbus-0.1.3-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

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