Skip to main content

greeneye-monitor

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”

Metadata

Release files for greeneye_monitor 5.0.2

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

Source distribution (sdist)

Source distribution for greeneye_monitor 5.0.2
File Size Uploaded Provenance
greeneye_monitor-5.0.2.tar.gz 11.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 23.9 kB

Release files / greeneye_monitor-5.0.2.tar.gz

Download URL greeneye_monitor-5.0.2.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d855e2b7bdd9f73b12bab02e682c44a438ccade9385c7c4f521695cd00c7f483
BLAKE2b-256 checksum
How to use checksums
6bb9a29aa29f41dd2f55effdfff346381e9094b31a64a1e1d039391c62ab2912
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1019-azure

Release files / greeneye_monitor-5.0.2-py3-none-any.whl

Download URL greeneye_monitor-5.0.2-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8e7c2b41815afc84d8cbbd59e4c8821a7a443c00f3f7fd974b23e804abb30d0
BLAKE2b-256 checksum
How to use checksums
78ace79f15203185bd7cc95376ced7e3638ffae7a8f3ba747d010dca0f1d1955
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.11.0 Linux/6.2.0-1019-azure

Security for greeneye_monitor 5.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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