TeslaPowerwall.Meter (tesla_powerwall v0.1.0)

Link to this section Summary

Link to this section Types

Link to this type

meter_type()

Specs

meter_type() :: :load | :site | :solar | :battery

Link to this section Functions

Link to this function

convert_to_kwh(power, precision \\ 3)

Specs

convert_to_kwh(number(), number()) :: float()
Link to this function

get_power(meter, precision \\ 3)

Specs

get_power(any(), number()) :: boolean()
Link to this function

is_active(meter)

Specs

is_active(any()) :: boolean()
Link to this function

is_drawing_from(meter, meter_type, precision \\ 3)

Link to this function

is_sending_to(meter, meter_type, precision \\ 3)