Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetEnergyCommand ¶
type GetEnergyCommand struct {
LastToggleTime time.Time
NowCurrent float64
NowPower float64
DailyEnergy float64
WeeklyEnergy float64
MonthlyEnergy float64
// contains filtered or unexported fields
}
func (*GetEnergyCommand) GetXML ¶
func (g *GetEnergyCommand) GetXML() ([]byte, error)
type GetStateCommand ¶
type GetStateCommand struct {
CurrentState string
// contains filtered or unexported fields
}
func (*GetStateCommand) GetXML ¶
func (g *GetStateCommand) GetXML() ([]byte, error)
type GetSystemInfoCommand ¶
type GetSystemInfoCommand struct {
Model string
FirmwareVersion string
MacAddress string
SystemName string
DeviceTime time.Time
// contains filtered or unexported fields
}
func (*GetSystemInfoCommand) GetXML ¶
func (g *GetSystemInfoCommand) GetXML() ([]byte, error)
type SetStateCommand ¶
func (*SetStateCommand) GetXML ¶
func (s *SetStateCommand) GetXML() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.