Learn R Programming

microinverterdata (version 0.3.0)

query_enphaseenvoy_device: Enphase Envoy single device query

Description

as a port of https://github.com/Matthew1471/Enphase-API/blob/main/Documentation/IQ Gateway API/IVP/Meters/Reports/Production.adoc

Usage

query_enphaseenvoy_device(
  device_ip = "enphase.local",
  query,
  username = Sys.getenv("ENPHASE_USERNAME"),
  password = Sys.getenv("ENPHASE_PASSWORD")
)

Value

a data-frame with a `device_id` column and the `$Body$Data` turned into as many columns as expected

Arguments

device_ip

IP address or name of the device

query

the API query string

username

the username needed to authenticate to the inverter. Defaults to the `ENPHASE_USERNAME` environment variable.

password

the password needed to authenticate to the inverter. Defaults to the `ENPHASE_PASSWORD` environment variable.

See Also

Other device queries: query_ap_device(), query_ap_devices(), query_enphaseenergy_device(), query_fronius_device(), query_fronius_devices()

Examples

Run this code
if (FALSE) {
query_enphaseenvoy_device(query = "reports/production")
}

Run the code above in your browser using DataLab