query_fronius_devices {microinverterdata}R Documentation

Fronius multi-device query

Description

as a port of https://github.com/friissoren/pyfronius

Usage

query_fronius_devices(
  device_ip = c("fronius.local"),
  query,
  username = Sys.getenv("FRONIUS_USERNAME"),
  password = Sys.getenv("FRONIUS_PASSWORD")
)

Arguments

device_ip

list or vector of each device IP address or name

query

the API query string

username

the username needed to authenticate to the inverter. Defaults to the 'FRONIUS_USERNAME' environment variable.

password

the password needed to authenticate to the inverter. Defaults to the 'FRONIUS_PASSWORD' environment variable.

Value

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

See Also

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

Examples

## Not run: 
query_fronius_device(query = "GetInverterRealtimeData.cgi?Scope=System")

## End(Not run)

[Package microinverterdata version 0.4.0 Index]