Receive data packets from GreenEye Monitor(http://www.brultech.com/greeneye/)
Project description
==================
`greeneye-monitor`
==================
Receive data from your `GreenEye Monitor <http://www.brultech.com/greeneye/>`_ in Python.
This module provides a layered API for parsing individual packets (`greeneye.packets`), processing streams of packets
(`greeneye.streams`), or monitoring the current state reported by one or more monitors (`greeneye.monitor`). It's an
API intended to be integrated with other systems; it does not itself provide those integrations or any sort of data
storage. If you're looking for something like that, check out
`btmon.py <https://github.com/matthewwall/mtools/blob/master/bin/btmon.py>`_.
Features include:
* Parsing for all binary packet formats
* Receive data from multiple monitors
* Computes rate-of-change (Watts, pulses/sec) in addition to reporting total values
***********
Quick start
***********
API Usage
=========
See `dump_packets.py` for a simple usage example.
GEM Setup
=========
Your GEM must be set to send binary format packets (formats that begin with Bin, e.g. Bin32 NET) to
the IP address of the computer on which you're running this software.
Your `GEM configuration manual <https://www.brultech.com/software/files/downloadSoft/GEM_Configuration_CFG_ver3_2.pdf>`_
is the canonical source for how to do this, but here are the steps as of this writing:
1. Navigate to your GEM's web UI (`http://<GEM IP>:8000`)
2. Click "Enter Setup Mode"
3. Click the "Packet Send" tab
4. Set the "Primary (Com1) Packet Format" to one of the "Bin" formats. I recommend:
* Bin32 ABS if you have a 32-channel GEM with no channels set for net metering
* Bin32 NET if you have a 32-channel GEM and some channels are set for net metering
* Bin48 ABS if you have a 48-channel GEM with no channels set for net metering
* Bin48 NET if you have a 48-channel GEM and some channels are set for net metering
5. Set the "Packet Send Interval" if you want something other than the default
6. Click "Save"
7. Click the "Network" tab
8. Enter the IP address of the computer on which you'll be running this software, and the port of your choice
9. Click "Save"
10. Click "Return" when it becomes available
11. Click "Exit Setup Mode"
`greeneye-monitor`
==================
Receive data from your `GreenEye Monitor <http://www.brultech.com/greeneye/>`_ in Python.
This module provides a layered API for parsing individual packets (`greeneye.packets`), processing streams of packets
(`greeneye.streams`), or monitoring the current state reported by one or more monitors (`greeneye.monitor`). It's an
API intended to be integrated with other systems; it does not itself provide those integrations or any sort of data
storage. If you're looking for something like that, check out
`btmon.py <https://github.com/matthewwall/mtools/blob/master/bin/btmon.py>`_.
Features include:
* Parsing for all binary packet formats
* Receive data from multiple monitors
* Computes rate-of-change (Watts, pulses/sec) in addition to reporting total values
***********
Quick start
***********
API Usage
=========
See `dump_packets.py` for a simple usage example.
GEM Setup
=========
Your GEM must be set to send binary format packets (formats that begin with Bin, e.g. Bin32 NET) to
the IP address of the computer on which you're running this software.
Your `GEM configuration manual <https://www.brultech.com/software/files/downloadSoft/GEM_Configuration_CFG_ver3_2.pdf>`_
is the canonical source for how to do this, but here are the steps as of this writing:
1. Navigate to your GEM's web UI (`http://<GEM IP>:8000`)
2. Click "Enter Setup Mode"
3. Click the "Packet Send" tab
4. Set the "Primary (Com1) Packet Format" to one of the "Bin" formats. I recommend:
* Bin32 ABS if you have a 32-channel GEM with no channels set for net metering
* Bin32 NET if you have a 32-channel GEM and some channels are set for net metering
* Bin48 ABS if you have a 48-channel GEM with no channels set for net metering
* Bin48 NET if you have a 48-channel GEM and some channels are set for net metering
5. Set the "Packet Send Interval" if you want something other than the default
6. Click "Save"
7. Click the "Network" tab
8. Enter the IP address of the computer on which you'll be running this software, and the port of your choice
9. Click "Save"
10. Click "Return" when it becomes available
11. Click "Exit Setup Mode"
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
File details
Details for the file greeneye_monitor-0.1-py3-none-any.whl
.
File metadata
- Download URL: greeneye_monitor-0.1-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9acf8ea886e62627fb94fd0480dd167bb9fe5a41bb0874a43a41a81c95090484 |
|
MD5 | 7498a4600fc4573a04b91025fcbc5ad6 |
|
BLAKE2b-256 | 6c36306b97aaac85b24de66f08a7889e5892b3613b51de3c07f73612ee6fb36c |