Documentation ¶
Overview ¶
Package lgpcs implements access to the LG pcs device (aka inverter). Pcs is the LG power conditioning system that converts the PV (or battery) - DC current into AC current (and controls the batteries)
Index ¶
Constants ¶
View Source
const ( LoginURI = "/v1/login" UserLoginURI = "/v1/user/setting/login" MeterURI = "/v1/user/essinfo/home" )
URIs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Com ¶
func GetInstance ¶
GetInstance implements the singleton pattern to handle the access via the authkey to the PCS of the LG ESS HOME system
type EssData ¶
type EssData struct { GridPower float64 `json:"grid_power,string"` PvTotalPower float64 `json:"pcs_pv_total_power,string"` BatConvPower float64 `json:"batconv_power,string"` BatUserSoc float64 `json:"bat_user_soc,string"` CurrentGridFeedInEnergy float64 `json:"current_grid_feed_in_energy,string"` CurrentPvGenerationSum float64 `json:"current_pv_generation_sum,string"` }
type MeterResponse ¶
Click to show internal directories.
Click to hide internal directories.