Documentation ¶
Index ¶
- func NewAmberFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewAwattarFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewConfigurableFromConfig(ctx context.Context, other map[string]interface{}) (api.Tariff, error)
- func NewEdfTempoFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewElectricityMapsFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewEleringFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewEnerginetFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewEntsoeFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewFixedFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewFromConfig(ctx context.Context, typ string, other map[string]interface{}) (api.Tariff, error)
- func NewGroupeEFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewGrünStromIndexFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewNgesoFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewOctopusFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewPunFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewSmartEnergyFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewTariffFromTemplateConfig(ctx context.Context, other map[string]interface{}) (api.Tariff, error)
- func NewTibberFromConfig(other map[string]interface{}) (api.Tariff, error)
- func NewWrapper(typ string, other map[string]interface{}, err error) api.Tariff
- func Types() []string
- type Amber
- type Awattar
- type CarbonIntensity
- type CarbonIntensitySlot
- type EdfTempo
- type ElectricityMaps
- type Elering
- type Energinet
- type Entsoe
- type Fixed
- type GroupeE
- type GrünStromIndex
- type NewDataSet
- type Ngeso
- type Octopus
- type Prezzo
- type Pun
- type Rate
- type SmartEnergy
- type Tariff
- type Tariffs
- type Tibber
- type Wrapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAwattarFromConfig ¶
func NewEdfTempoFromConfig ¶
func NewEleringFromConfig ¶
func NewEnerginetFromConfig ¶
func NewEntsoeFromConfig ¶
func NewFromConfig ¶
func NewFromConfig(ctx context.Context, typ string, other map[string]interface{}) (api.Tariff, error)
NewFromConfig creates tariff from configuration
func NewGroupeEFromConfig ¶
func NewOctopusFromConfig ¶
func NewTibberFromConfig ¶
func NewWrapper ¶
NewWrapper creates an offline tariff wrapper
Types ¶
type Awattar ¶
type Awattar struct {
// contains filtered or unexported fields
}
func (*Awattar) Type ¶
func (t *Awattar) Type() api.TariffType
Type implements the api.Tariff interface
type CarbonIntensity ¶
type CarbonIntensity struct { Error string Zone string Forecast []CarbonIntensitySlot }
type CarbonIntensitySlot ¶
type EdfTempo ¶
func (*EdfTempo) RefreshToken ¶
func (*EdfTempo) Type ¶
func (t *EdfTempo) Type() api.TariffType
Type implements the api.Tariff interface
type ElectricityMaps ¶
func (*ElectricityMaps) Type ¶
func (t *ElectricityMaps) Type() api.TariffType
Type implements the api.Tariff interface
type Elering ¶
type Elering struct {
// contains filtered or unexported fields
}
func (*Elering) Type ¶
func (t *Elering) Type() api.TariffType
Type implements the api.Tariff interface
type Energinet ¶
type Energinet struct {
// contains filtered or unexported fields
}
func (*Energinet) Type ¶
func (t *Energinet) Type() api.TariffType
Type implements the api.Tariff interface
type Entsoe ¶
func (*Entsoe) Type ¶
func (t *Entsoe) Type() api.TariffType
Type implements the api.Tariff interface
type Fixed ¶
type Fixed struct {
// contains filtered or unexported fields
}
type GroupeE ¶
type GroupeE struct {
// contains filtered or unexported fields
}
func (*GroupeE) Type ¶
func (t *GroupeE) Type() api.TariffType
Type implements the api.Tariff interface
type GrünStromIndex ¶
type GrünStromIndex struct {
// contains filtered or unexported fields
}
func (*GrünStromIndex) Rates ¶
func (t *GrünStromIndex) Rates() (api.Rates, error)
Rates implements the api.Tariff interface
func (*GrünStromIndex) Type ¶
func (t *GrünStromIndex) Type() api.TariffType
Type implements the api.Tariff interface
type NewDataSet ¶
type Ngeso ¶
type Ngeso struct {
// contains filtered or unexported fields
}
type Octopus ¶
type Octopus struct {
// contains filtered or unexported fields
}
func (*Octopus) Type ¶
func (t *Octopus) Type() api.TariffType
Type implements the api.Tariff interface
type Pun ¶
type Pun struct {
// contains filtered or unexported fields
}
type SmartEnergy ¶
type SmartEnergy struct {
// contains filtered or unexported fields
}
func (*SmartEnergy) Rates ¶
func (t *SmartEnergy) Rates() (api.Rates, error)
Rates implements the api.Tariff interface
func (*SmartEnergy) Type ¶
func (t *SmartEnergy) Type() api.TariffType
Type implements the api.Tariff interface
type Tariff ¶
type Tariff struct {
// contains filtered or unexported fields
}
func (*Tariff) Type ¶
func (t *Tariff) Type() api.TariffType
Type implements the api.Tariff interface
type Tariffs ¶
func (*Tariffs) CurrentCo2 ¶
CurrentCo2 determines the grids co2 emission.
func (*Tariffs) CurrentFeedInPrice ¶
CurrentFeedInPrice returns the current feed-in price.
func (*Tariffs) CurrentGridPrice ¶
CurrentGridPrice returns the current grid price.
type Tibber ¶
type Tibber struct {
// contains filtered or unexported fields
}
func (*Tibber) Type ¶
func (t *Tibber) Type() api.TariffType
Type implements the api.Tariff interface
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper wraps an api.Tariff to capture initialization errors
func (*Wrapper) Type ¶
func (t *Wrapper) Type() api.TariffType
Type implements the api.Tariff interface
func (*Wrapper) WrappedConfig ¶
WrappedConfig indicates a device with wrapped configuration
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package entsoe implements a minimalized version of the European Network of Transmission System Operators for Electricity's Transparency Platform API (https://transparency.entsoe.eu)
|
Package entsoe implements a minimalized version of the European Network of Transmission System Operators for Electricity's Transparency Platform API (https://transparency.entsoe.eu) |
Package ngeso implements the carbonintensity.org.uk Grid CO2 tracking service, which provides CO2 forecasting for the UK at a national and regional level.
|
Package ngeso implements the carbonintensity.org.uk Grid CO2 tracking service, which provides CO2 forecasting for the UK at a national and regional level. |
octopus
|
|