Discover Packages
github.com/influxdata/telegraf
plugins
inputs
fibaro
hc2
package
Version:
v1.32.2
Opens a new window with list of versions in this module.
Published: Oct 28, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 2 modules, 1 package
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Parse parses data from sections, rooms and devices, and adds measurements containing parsed data.
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 information
type LinkRoomsSections struct {
Name string
SectionID uint16
}
LinkRoomsSections links rooms to sections
type Rooms struct {
ID uint16 `json:"id"`
Name string `json:"name"`
SectionID uint16 `json:"sectionID"`
}
Rooms contains rooms information
type Sections struct {
ID uint16 `json:"id"`
Name string `json:"name"`
}
Sections contains sections information
Source Files
¶
Click to show internal directories.
Click to hide internal directories.