GreenEye Monitor (GEM)
The GreenEye Monitor (GEM)
Configure your GEM(s) to produce binary-format packets (for example, “Bin32 NET” for a 32-channel GEM with some channels configured for net metering) and send them to an unused port on your Home Assistant machine. (These settings are in the “Packet Send” and “Network” pages of the GEM UI.) Then specify that port and information about your monitor(s) and the data channels you wish to monitor in your configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file.
After changing the configuration.yaml
The configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.
# Example configuration.yaml entry
greeneye_monitor:
port: 8000
monitors:
- serial_number: "YOUR_SERIAL_NUMBER"
channels:
- number: 1
name: total_power
- number: 2
name: solar_panels_power
net_metering: true
pulse_counters:
- number: 1
name: sprinklers_water_usage
counted_quantity: "gal"
counted_quantity_per_pulse: 1
time_unit: "min"
temperature_sensors:
temperature_unit: "C"
sensors:
- number: 1
name: back_porch_temperature
voltage:
- number: 1
name: house_volts
By default, GEM will send updates every 5 seconds. That’s a lot of data, and the databases used by the recorder
integration for history don’t do well with that much data, so it is recommended to configure the influxdb
integration and exclude the GEM sensors from recorder
.
Configuration Variables
The port on which Home Assistant should listen for packets from your GEM. Must match the port set in the “Network” tab of the GEM setup UI.
The list of monitors that should appear in Home Assistant. Data from other monitors will be ignored.
The list of channels that should appear in Home Assistant for this monitor. Data from other channels will be ignored.
Configuration for voltage sensor
Configuration for temperature sensors
The list of temperature sensors that should appear in Home Assistant for this monitor. Data from other sensors will be ignored.
The list of pulse counters that should appear in Home Assistant for this monitor. Data from other pulse counters will be ignored.
The number of the counted quantity represented by each pulse.