Documentation ¶
Index ¶
- Constants
- type ChangeConfigStatus
- type ChangeConfigurationRequest
- type ChangeConfigurationResponse
- type ChargePointStatus
- type ConfigKey
- type GetConfigurationRequest
- type GetConfigurationResponse
- type GetLatestInProgressTransactionResponse
- type GetLatestMeterValueResponse
- type GetLatestStatus
- type RemoteStartRequest
- type RemoteStartResponse
- type RemoteStartStatus
- type RemoteStopRequest
- type RemoteStopResponse
- type RemoteStopStatus
Constants ¶
View Source
const ( AVAILABLE ChargePointStatus = "Available" PREPARING ChargePointStatus = "Preparing" CHARGING ChargePointStatus = "Charging" FINISHING ChargePointStatus = "Finishing" FAULTED ChargePointStatus = "Faulted" REMOTE_START_ACCEPTED RemoteStartStatus = "Accepted" REMOTE_START_REJECTED RemoteStartStatus = "Rejected" REMOTE_STOP_ACCEPTED RemoteStopStatus = "Accepted" REMOTE_STOP_REJECTED RemoteStopStatus = "Rejected" CHANGE_CONFIG_ACCEPTED ChangeConfigStatus = "Accepted" CHANGE_CONFIG_REJECTED ChangeConfigStatus = "Rejected" CHARGE_RATE ConfigKey = "ChargeRate" EVCC_IDTAG string = "evcc" )
View Source
const BASE_URL string = "https://api.daheimladen.com/v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeConfigStatus ¶
type ChangeConfigStatus string
type ChangeConfigurationResponse ¶
type ChangeConfigurationResponse struct {
Status string `json:"status"`
}
type ChargePointStatus ¶
type ChargePointStatus string
type GetConfigurationRequest ¶
type GetConfigurationRequest struct {
Key string `json:"key"`
}
type GetLatestInProgressTransactionResponse ¶
type GetLatestInProgressTransactionResponse struct {
TransactionID int32 `json:"transaction_id"`
}
type GetLatestMeterValueResponse ¶
type GetLatestMeterValueResponse struct { ChargingStationID string `json:"charging_station_id"` ConnectorID int32 `json:"connector_id"` ActivePowerImport float32 `json:"active_power_import"` CurrentImportPhaseL1 float32 `json:"current_import_phasel1"` CurrentImportPhaseL2 float32 `json:"current_import_phasel2"` CurrentImportPhaseL3 float32 `json:"current_import_phasel3"` EnergyActiveImportRegister float32 `json:"energy_active_import_register"` Timestamp string `json:"timestamp"` }
type GetLatestStatus ¶
type GetLatestStatus struct { ChargingStationID string `json:"charging_station_id"` Status string `json:"status"` ActivePowerImport float32 `json:"active_power_import"` TotalMeterValue int64 `json:"total_meter_value"` VoltagePhaseL1L2 float32 `json:"voltage_phase_l1l2"` VoltagePhaseL2L3 float32 `json:"voltage_phase_l2l3"` VoltagePhaseL3L1 float32 `json:"voltage_phase_l3l1"` CurrentImportPhaseL1 float32 `json:"current_import_phase_l1"` CurrentImportPhaseL2 float32 `json:"current_import_phase_l2"` CurrentImportPhaseL3 float32 `json:"current_import_phase_l3"` Temperature int32 `json:"charging_station_temperature"` CurrentTime string `json:"current_time"` TransactionStartAt string `json:"transaction_start_at"` TranasctionPowerUsed int64 `json:"transaction_power_used"` }
type RemoteStartRequest ¶
type RemoteStartResponse ¶
type RemoteStartResponse struct {
Status string `json:"status"`
}
type RemoteStartStatus ¶
type RemoteStartStatus string
type RemoteStopRequest ¶
type RemoteStopRequest struct {
TransactionID int32 `json:"transaction_id"`
}
type RemoteStopResponse ¶
type RemoteStopResponse struct {
Status string `json:"status"`
}
type RemoteStopStatus ¶
type RemoteStopStatus string
Click to show internal directories.
Click to hide internal directories.