Documentation
¶
Index ¶
Constants ¶
View Source
const BaseURI = "https://api.connect.skoda-auto.cz/api"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
API is the Skoda api client
func NewAPI ¶
func NewAPI(log *util.Logger, identity oauth2.TokenSource) *API
NewAPI creates a new api client
type ChargerResponse ¶
type ChargerResponse struct { Plug struct { ConnectionState string // Connected LockState string // Unlocked } Charging struct { State string // Error RemainingToCompleteInSeconds int64 ChargingPowerInWatts float64 ChargingRateInKilometersPerHour float64 ChargingType string // Invalid ChargeMode string // MANUAL } Battery struct { CruisingRangeElectricInMeters int64 StateOfChargeInPercent int } }
ChargerResponse is the /v1/charging/<vin>/status api
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider implements the evcc vehicle api
func NewProvider ¶
NewProvider provides the evcc vehicle api provider
func (*Provider) FinishTime ¶
FinishTime implements the api.VehicleFinishTimer interface
Click to show internal directories.
Click to hide internal directories.