Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugins ¶
type Plugins interface { NewPlugin(pluginConfigFile string) error GetSolarWatt() float64 GetGridWatt() float64 Close() }
func LoadPlugins ¶
type SenseConfig ¶
type SensePlugin ¶
type SensePlugin struct { Configs SenseConfig // contains filtered or unexported fields }
func (*SensePlugin) Close ¶
func (s *SensePlugin) Close()
func (*SensePlugin) GetGridWatt ¶
func (s *SensePlugin) GetGridWatt() (watt float64)
func (*SensePlugin) GetSolarWatt ¶
func (s *SensePlugin) GetSolarWatt() (watt float64)
func (*SensePlugin) NewPlugin ¶
func (s *SensePlugin) NewPlugin(pluginConfigFile string) (err error)
Click to show internal directories.
Click to hide internal directories.