Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Devices ¶
type Devices struct {
ID uint16 `json:"id"`
Name string `json:"name"`
RoomID uint16 `json:"roomID"`
Type string `json:"type"`
Enabled bool `json:"enabled"`
Properties struct {
BatteryLevel *string `json:"batteryLevel"`
Dead string `json:"dead"`
Energy *string `json:"energy"`
Power *string `json:"power"`
Value interface{} `json:"value"`
Value2 *string `json:"value2"`
} `json:"properties"`
}
Devices contains devices informations
type Fibaro ¶
type Fibaro struct {
URL string `toml:"url"`
// HTTP Basic Auth Credentials
Username string `toml:"username"`
Password string `toml:"password"`
Timeout config.Duration `toml:"timeout"`
// contains filtered or unexported fields
}
Fibaro contains connection information
func (*Fibaro) Description ¶
Description returns a string explaining the purpose of this plugin
func (*Fibaro) Gather ¶
func (f *Fibaro) Gather(acc telegraf.Accumulator) error
Gather fetches all required information to output metrics
func (*Fibaro) SampleConfig ¶
SampleConfig returns text explaining how plugin should be configured
type LinkRoomsSections ¶
LinkRoomsSections links rooms to sections
Click to show internal directories.
Click to hide internal directories.