View Source Discovergy.VirtualMeters (discovergy v0.6.0)

The Virtual Meters endpoint

Summary

Functions

Return the individual meters comprising the specified virtual meter.

Return the individual meters comprising the specified virtual meter.

Functions

Link to this function

create_virtual_meter(client, meter_ids_plus, meter_ids_minus \\ [])

View Source
@spec create_virtual_meter(Discovergy.Client.t(), [Meter.id()], [Meter.id()]) ::
  {:ok, map()} | {:error, Error.t()}

Return the individual meters comprising the specified virtual meter.

Link to this function

get_virtual_meter(client, meter_id)

View Source
@spec get_virtual_meter(Discovergy.Client.t(), Meter.id()) ::
  {:ok, [Meter.t()]} | {:error, Error.t()}

Return the individual meters comprising the specified virtual meter.