Skip to main content

NRGPy nrgmodbus

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

Requirements

SymphoniePRO/iPackACCESS

  • Logger FW version 3.2.3 / iPackACCESS FW version 2.2.0 (or higher)

Installation

pip install nrgmodbus

Examples

iPackACCESS

In [1]: from nrgmodbus.ipackaccess import ipackaccess

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

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

In [4]: poller.return_diag_readings()

In [5]: poller.hr.diag['12v_bat']['value']
Out[5]: 14.09000015258789

In [6]: poller.hr.diag['temp']['value']
Out[6]: 22.739999771118164

In [7]: poller.return_channel_data(1)

In [8]: poller.hr.data_ch[1]
Out[8]: {'avg': {'reg': [2506, 2], 'value': 6.4},
         'sd': {'reg': [2508, 2], 'value': 2.1},
         'max': {'reg': [2510, 2], 'value': 9.1},
         'min': {'reg': [2512, 2], 'value': 4.6},
         'gust': {'reg': [2514, 2], 'value': 9.0},
         'samp': {'reg': [1506, 2], 'value': 6.2}}

spidar

In [1]: from nrgmodbus.spidar import spidar_v1

In [2]: poller = spidar_v1(ip="192.168.1.1", connect=True)
Connecting to 192.168.1.1...                [OK]

In [3]: poller.return_rt_data_readings()

In [4]: poller.hr.met_data
Out[4]: ...

In [5]: poller.hr.data_ch
Out[5]: ...

Metadata

Release files for nrgmodbus 0.3.1

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

Built distribution (wheel)

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

Release files / nrgmodbus-0.3.1-py3-none-any.whl

Download URL nrgmodbus-0.3.1-py3-none-any.whl
Size 11.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27e92cd81f0f788224eef9979df6fa61e4e41ae2f49bc5c1a3d8d8636a2620b6
BLAKE2b-256 checksum
How to use checksums
644b0a54dd77ae76b8e269b895350a895964c8fa0848661541799af5da59ac9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3.0

1 release file

0.2.21

1 release file

0.2.20

1 release file

0.2.19

1 release file

0.2.18

1 release file

0.2.17

1 release file

0.2.16

1 release file

0.2.15

1 release file

0.2.14

1 release file

0.2.12

1 release file

0.2.11

1 release file

0.2.10

1 release file

0.2.9

1 release file

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.6

1 release file

0.1.5

1 release file

0.1.4

1 release file

0.1.3

1 release file

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