Documentation
¶
Index ¶
- func OldGetLoadStatus(client modbus.Client) (status int)
- func OldToggleLoad(ip string, port string, timeout time.Duration, protocol string) (err error)
- type Battery
- type Client
- func (c Client) ConsumedAnnual() (float32, error)
- func (c Client) ConsumedDay() (float32, error)
- func (c Client) ConsumedMonth() (float32, error)
- func (c Client) ConsumedTotal() (float32, error)
- func (c Client) GeneratedAnnual() (float32, error)
- func (c Client) GeneratedDay() (float32, error)
- func (c Client) GeneratedMonth() (float32, error)
- func (c Client) GeneratedTotal() (float32, error)
- func (c Client) GetBatteryCurrent() (float32, error)
- func (c Client) GetBatteryMaxVoltage() (float32, error)
- func (c Client) GetBatteryMin() (float32, error)
- func (c Client) GetBatterySOC() (float32, error)
- func (c Client) GetBatteryVoltage() (float32, error)
- func (c Client) GetLoadCurrent() (float32, error)
- func (c Client) GetLoadPower() (float32, error)
- func (c Client) GetLoadStatus() (int, error)
- func (c Client) GetLoadVoltage() (float32, error)
- func (c Client) GetSolarCurrent() (float32, error)
- func (c Client) GetSolarPower() (float32, error)
- func (c Client) GetSolarVoltage() (float32, error)
- func (c Client) GetTemp() (float32, error)
- func (c Client) SetLoadOff() error
- func (c Client) SetLoadOn() error
- type Consumed
- type Energy
- type Generated
- type Load
- type Response
- type Solar
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OldGetLoadStatus ¶ added in v1.0.0
Types ¶
type Client ¶ added in v1.0.0
func NewTCPClient ¶ added in v1.0.0
func (Client) ConsumedAnnual ¶ added in v1.0.0
func (Client) ConsumedDay ¶ added in v1.0.0
func (Client) ConsumedMonth ¶ added in v1.0.0
func (Client) ConsumedTotal ¶ added in v1.0.0
func (Client) GeneratedAnnual ¶ added in v1.0.0
func (Client) GeneratedDay ¶ added in v1.0.0
func (Client) GeneratedMonth ¶ added in v1.0.0
func (Client) GeneratedTotal ¶ added in v1.0.0
func (Client) GetBatteryCurrent ¶ added in v1.0.0
func (Client) GetBatteryMaxVoltage ¶ added in v1.0.0
func (Client) GetBatteryMin ¶ added in v1.0.0
func (Client) GetBatterySOC ¶ added in v1.0.0
func (Client) GetBatteryVoltage ¶ added in v1.0.0
func (Client) GetLoadCurrent ¶ added in v1.0.0
func (Client) GetLoadPower ¶ added in v1.0.0
func (Client) GetLoadStatus ¶ added in v1.0.0
Load stuff
func (Client) GetLoadVoltage ¶ added in v1.0.0
func (Client) GetSolarCurrent ¶ added in v1.0.0
func (Client) GetSolarPower ¶ added in v1.0.0
func (Client) GetSolarVoltage ¶ added in v1.0.0
Solar stuff
func (Client) SetLoadOff ¶ added in v1.0.0
type Response ¶
Click to show internal directories.
Click to hide internal directories.