Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BulbInfo ¶
BulbInfo contains the information returned from scanning the local network for Flux WIFI bulbs
type State ¶
type State struct {
// Power - 0 -> off, 1 -> on, 2-> unknown
Power int
// Mode - ww|color|custom|unknown
Mode string
// R - red value if in color mode
R byte
// G - green value if in color mode
G byte
// B - blue value if in color mode
B byte
}
State represents the current state of the bulb
Click to show internal directories.
Click to hide internal directories.