Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContinuousFetchPlant ¶
type ContinuousFetchPlant struct {
// contains filtered or unexported fields
}
func FetchContinuously ¶
func FetchContinuously(ctx context.Context, plant *Plant) *ContinuousFetchPlant
func (*ContinuousFetchPlant) FetchSummary ¶
func (c *ContinuousFetchPlant) FetchSummary() (Summary, error)
type GridMeter ¶
type GridMeter struct { EM *meter.EnergyMeter SerialNumber uint32 }
type Plant ¶
type Plant struct { Inverters []powerReader Bat batteryReader Meter gridReader }
func NewPlant ¶
func NewPlant(em gridReader, readers ...PointReader) (*Plant, error)
func (*Plant) FetchSummary ¶
type PointReader ¶
Click to show internal directories.
Click to hide internal directories.