Receive data packets from GreenEye Monitor (http://www.brultech.com/greeneye/)
Project description
Receive data from your GreenEye Monitor 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.
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 is the canonical source for how to do this, but here are the steps as of this writing:
Navigate to your GEM’s web UI (http://<GEM IP>:8000)
Click “Enter Setup Mode”
Click the “Packet Send” tab
- 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
Set the “Packet Send Interval” if you want something other than the default
Click “Save”
Click the “Network” tab
Enter the IP address of the computer on which you’ll be running this software, and the port of your choice
Click “Save”
Click “Return” when it becomes available
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
Built Distribution
File details
Details for the file greeneye_monitor-3.0-py3-none-any.whl
.
File metadata
- Download URL: greeneye_monitor-3.0-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 408189b286d4a2fa88c61139285ad2e9524e68d1996da539a14d512961848661 |
|
MD5 | 0c1b0b55f25d30fd5965506f9b0495ec |
|
BLAKE2b-256 | e6ed18f89ee497cd88f23e320d3adfa80fd22fec69521e985f7759ea90335010 |