eebus

package
v0.0.0-...-037aeaa Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusUnlimited status = iota
	StatusLimited
	StatusFailsafe
)

Variables

This section is empty.

Functions

This section is empty.

Types

type EEBus

type EEBus struct {
	*eebus.Connector
	// contains filtered or unexported fields
}

func New

func New(other map[string]interface{}, site site.API) (*EEBus, error)

New creates an EEBus HEMS from generic config

func NewEEBus

func NewEEBus(ski string, limits Limits, root api.Circuit) (*EEBus, error)

NewEEBus creates EEBus charger

func (*EEBus) Run

func (c *EEBus) Run()

func (*EEBus) UseCaseEvent

UseCaseEvent implements the eebus.Device interface

type Limits

type Limits struct {
	ContractualConsumptionNominalMax    float64
	ConsumptionLimit                    float64
	FailsafeConsumptionActivePowerLimit float64
	FailsafeDurationMinimum             time.Duration
}

Jump to

Keyboard shortcuts

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