Skip to main content

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:

  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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

greeneye_monitor-5.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

greeneye_monitor-5.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file greeneye_monitor-5.0.tar.gz.

File metadata

  • Download URL: greeneye_monitor-5.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/5.15.0-1041-azure

File hashes

Hashes for greeneye_monitor-5.0.tar.gz
Algorithm Hash digest
SHA256 cc011aa74541e7758d77c6beb1878667a13eb4b12206ee257eda9450c6dfa1c7
MD5 174842dcc42d2b5be4fcd7b012eceaf8
BLAKE2b-256 c2f4ce5a86e2a69d9bd6d66af311facdc5775f06d41acfbcd0f7695dd6462812

See more details on using hashes here.

File details

Details for the file greeneye_monitor-5.0-py3-none-any.whl.

File metadata

  • Download URL: greeneye_monitor-5.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.0 Linux/5.15.0-1041-azure

File hashes

Hashes for greeneye_monitor-5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5f2e7e927be239ce67d33bd8138c23052f3e72f6230d027e940f87ae881621ff
MD5 a3b825babbe5c1f18e72aad205f1aa91
BLAKE2b-256 ab11ca48d80c40645f294bce59c640c3bd939a36b6b3e8fea5762e8e02a1c1d7

See more details on using hashes here.

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