evse

package
v0.0.0-...-b14faf0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const Success = "S0_"

Variables

This section is empty.

Functions

This section is empty.

Types

type ListEntry

type ListEntry struct {
	VehicleState    int64   `json:"vehicleState"`
	EvseState       bool    `json:"evseState"`
	MaxCurrent      int64   `json:"maxCurrent"`
	ActualCurrent   int64   `json:"actualCurrent"`
	ActualCurrentMA *int64  `json:"actualCurrentMA"` // 1/100 A
	ActualPower     float64 `json:"actualPower"`
	Duration        int64   `json:"duration"`
	AlwaysActive    bool    `json:"alwaysActive"`
	UseMeter        bool    `json:"useMeter"`
	LastActionUser  string  `json:"lastActionUser"`
	LastActionUID   string  `json:"lastActionUID"`
	Energy          float64 `json:"energy"`
	Mileage         float64 `json:"mileage"`
	MeterReading    float64 `json:"meterReading"`
	CurrentP1       float64 `json:"currentP1"`
	CurrentP2       float64 `json:"currentP2"`
	CurrentP3       float64 `json:"currentP3"`
	VoltageP1       float64 `json:"voltageP1"`
	VoltageP2       float64 `json:"voltageP2"`
	VoltageP3       float64 `json:"voltageP3"`
	RFIDUID         *string `json:"RFIDUID"`
}

ListEntry is ParameterResponse.List

type ParameterResponse

type ParameterResponse struct {
	Type string      `json:"type"`
	List []ListEntry `json:"list"`
}

ParameterResponse is the getParameters response

Jump to

Keyboard shortcuts

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