evse

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChargePower

type ChargePower struct {
	Current int `json:"current"`
}

type Evse

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

func NewEvseService

func NewEvseService(request warp.Request) *Evse

func (*Evse) CurrentChargePower

func (e *Evse) CurrentChargePower() (ChargePower, error)

func (*Evse) ReadExternalCurrent added in v0.0.6

func (e *Evse) ReadExternalCurrent() (int, error)

func (*Evse) SetExternalCurrent added in v0.0.6

func (e *Evse) SetExternalCurrent(val int) error

func (*Evse) State

func (e *Evse) State() (map[string]interface{}, error)

func (*Evse) StopCharging

func (e *Evse) StopCharging() error

func (*Evse) UpdateChargePower

func (e *Evse) UpdateChargePower(chargePower int) error

type ExternelCurrent added in v0.0.6

type ExternelCurrent struct {
	Current int `json:"current"`
}

Jump to

Keyboard shortcuts

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