goodwe

package
v0.0.0-...-f385b4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Inverter

type Inverter struct {
	PvPower      float64
	NetPower     float64
	BatteryPower float64
	Soc          float64
}

type Server

type Server struct {
	// contains filtered or unexported fields
}

func Instance

func Instance(log *util.Logger) (*Server, error)

func (*Server) AddInverter

func (m *Server) AddInverter(ip string, timeout time.Duration) *util.Monitor[Inverter]

func (*Server) GetInverter

func (m *Server) GetInverter(ip string) *util.Monitor[Inverter]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL