Inverter data
Individual inverter data, available for all Envoy models as of firmware 3.9, class EnvoyInverter.
for sn, inv in data.inverters.items():
print(f'{sn} sn: {inv.serial_number}')
print(f'{sn} watts: {inv.last_report_watts}')
print(f'{sn} max watts: {inv.max_report_watts}')
print(f'{sn} last report: {inv.last_report_date}')
print(f'{sn} panel output: {inv.dc_voltage}V @ {inv.dc_current}A')
print(f'{sn} output: {inv.ac_voltage}V @ {inv.ac_current}A {inv.ac_frequency}Hz')
print(f'{sn} temperature: {inv.temperature}°C')
print(f'{sn} energy produced: {inv.energy_produced} Wh')
print(f'{sn} energy produced today: {inv.energy_today} Wh')
print(f'{sn} lifetime energy produced: {inv.lifetime_energy} Wh')
Note
If the /ivp/pdm/device_data endpoint is not supported by the Envoy firmware, each EnvoyInverter will have None for the detailed attributes: dc_voltage, dc_current, ac_voltage, ac_current, ac_frequency, temperature, energy_produced, energy_today, and lifetime_energy.
Data sources
The data is provided by one of the updaters below, ordered in their probe sequence.
The base data set is identified by the pyenphase.const.SupportedFeatures flag INVERTERS and DETAILED_INVERTERS for inverter details. First updater probe that returns the INVERTERS feature flag will be used.
EnvoyDeviceDataInvertersUpdater
This is the default updater for inverter data. It provides data for individual inverter production data as well as inverter device details. Data is measured/calculated by the Envoy.
endpoint |
||
json path |
|
|
data |
json node |
uom |
|
||
|
||
|
W |
|
|
W |
|
|
V |
|
|
A |
|
|
V |
|
|
A |
|
|
Hz |
|
|
°C |
|
|
Wh |
|
|
Wh |
|
|
Wh |
|
|
s |
Note
Raw fields for dc/ac voltage/current/frequency are provided in milli‑units (mV, mA, mHz) by the endpoint and are converted to V/A/Hz by the model.
EnvoyApiV1ProductionInvertersUpdater
This is the updater for base inverter data. It only provides data for individual inverter production data. Data is measured/calculated by the Envoy.
endpoint |
||
json path |
|
|
data |
json node |
uom |
|
||
|
||
|
W |
|
|
W |
|
not available |
||
not available |
||
not available |
||
not available |
||
not available |
||
not available |
||
not available |
||
not available |
||
not available |
||
not available |