library for making modbus connections to NRG Systems devices.
Project description
'''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
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for nrgmodbus-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb17bed7e6aea6ca8250951a0bd2ccfd5d8ac970822daed1821795e13000c1e4 |
|
MD5 | 2cd20440f4a19dc6fd7bb5be9730509d |
|
BLAKE2b-256 | 416acc4ddf8507aeb184e0adab85292599c3a7629f7fd014de28026893eed529 |