chore: complete daheimladen removal

This commit is contained in:
andig 2025-09-30 12:00:37 +02:00
parent 517916bf38
commit 69c7e0dd64
2 changed files with 0 additions and 100 deletions

View file

@ -1,32 +0,0 @@
package daheimladen
type (
ChargePointStatus string
RemoteStartStatus string
RemoteStopStatus string
ConfigKey string
ChangeConfigStatus string
)
const BASE_URL string = "https://api.daheimladen.com/v1"
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 file

@ -1,68 +0,0 @@
package daheimladen
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 GetLatestInProgressTransactionResponse struct {
TransactionID int32 `json:"transaction_id"`
}
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 RemoteStartRequest struct {
ConnectorID int32 `json:"connector_id"`
IdTag string `json:"idtag"`
}
type RemoteStartResponse struct {
Status string `json:"status"`
}
type RemoteStopRequest struct {
TransactionID int32 `json:"transaction_id"`
}
type RemoteStopResponse struct {
Status string `json:"status"`
}
type ChangeConfigurationRequest struct {
Key string `json:"key"`
Value string `json:"value"`
}
type ChangeConfigurationResponse struct {
Status string `json:"status"`
}
type GetConfigurationRequest struct {
Key string `json:"key"`
}
type GetConfigurationResponse struct {
ReadOnly bool `json:"readonly"`
Value string `json:"value"`
}