Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeartBeat = "salia/heartbeat" ChargeMode = "salia/chargemode" PauseCharging = "salia/pausecharging" SetPhase = "salia/phase_switching/setphase" GridCurrentLimit = "grid_current_limit" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Port ¶
type Port struct { Ci struct { Evse struct { Basic struct { OfferedCurrentLimit float64 `json:"offered_current_limit,string"` } } Charge struct { Cp struct { Status string } } } Salia struct { ChargeMode string PauseCharging int `json:"pausecharging,string"` PhaseSwitching struct { Actual int `json:",string"` Status string SetPhase string `json:"setphase,omitempty"` } `json:"phase_switching"` } Metering struct { Meter struct { Type string Available int `json:",string"` } Power struct { ActiveTotal struct { Actual float64 `json:",string"` } `json:"active_total"` Active struct { AC struct { L1 struct { Actual float64 `json:",string"` } L2 struct { Actual float64 `json:",string"` } L3 struct { Actual float64 `json:",string"` } } } } Energy struct { ActiveImport struct { Actual float64 `json:",string"` } `json:"active_import"` } Current struct { AC struct { L1 struct { Actual float64 `json:",string"` } L2 struct { Actual float64 `json:",string"` } L3 struct { Actual float64 `json:",string"` } } } } EvPresent int `json:"ev_present,string"` Charging int `json:",string"` GridCurrentLimit float64 `json:"grid_current_limit,string"` }
Click to show internal directories.
Click to hide internal directories.