goodwe

package
v0.0.0-...-1470ac1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: MIT Imports: 8 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