Enable the use of exception within this wrapper.
More...
#include <liblightify++.hpp>
Enable the use of exception within this wrapper.
Definition at line 60 of file liblightify++.hpp.
◆ Lightify_Node()
◆ GetBlue()
int GetBlue |
( |
void |
| ) |
const |
|
inline |
◆ GetBrightness()
int GetBrightness |
( |
void |
| ) |
const |
|
inline |
◆ GetCCT()
int GetCCT |
( |
void |
| ) |
const |
|
inline |
◆ GetGreen()
int GetGreen |
( |
void |
| ) |
const |
|
inline |
◆ GetGroup()
unsigned int GetGroup |
( |
void |
| ) |
const |
|
inline |
◆ GetLampType()
◆ GetMAC()
unsigned long long GetMAC |
( |
void |
| ) |
const |
|
inline |
◆ GetName()
const char* GetName |
( |
void |
| ) |
const |
|
inline |
◆ GetOnlineState()
int GetOnlineState |
( |
void |
| ) |
const |
|
inline |
◆ GetRed()
int GetRed |
( |
void |
| ) |
const |
|
inline |
◆ GetWhite()
int GetWhite |
( |
void |
| ) |
const |
|
inline |
◆ GetZoneAdr()
unsigned int GetZoneAdr |
( |
void |
| ) |
const |
|
inline |
◆ IsOn()
◆ IsStale()
int IsStale |
( |
void |
| ) |
const |
|
inline |
Is the lamp info stale? (that is: a previous request failed, we do not know the status.)
Definition at line 142 of file liblightify++.hpp.
◆ SetBrightness()
int SetBrightness |
( |
int |
level, |
|
|
int |
time |
|
) |
| |
|
inline |
Set brightness
- Parameters
-
level | 0..100 |
time | time in 1/10s |
- Returns
- negative on error
Definition at line 193 of file liblightify++.hpp.
◆ SetCCT()
int SetCCT |
( |
int |
cct, |
|
|
int |
time |
|
) |
| |
|
inline |
Set color temperature
- Parameters
-
cct | to be set |
time | fadetime for transition in 1/10 secs |
- Returns
- negative on error
Definition at line 164 of file liblightify++.hpp.
◆ SetRGBW()
int SetRGBW |
( |
int |
red, |
|
|
int |
green, |
|
|
int |
blue, |
|
|
int |
white, |
|
|
int |
time |
|
) |
| |
|
inline |
Set color components
- Note
- observed, that white can only be set when the other colors are 0.
Color values are good from 0-255
- Parameters
-
red | to be set |
green | to be set |
blue | to be set |
white | to be set |
time | fadetime for transition in 1/10 secs |
- Returns
- negative on error
Definition at line 182 of file liblightify++.hpp.
◆ TurnOnOff()
int TurnOnOff |
( |
bool |
onoff | ) |
|
|
inline |
◆ UpdateNodeInfo()
int UpdateNodeInfo |
( |
void |
| ) |
|
|
inline |
Query updated node information from the gateway
Will ask the gateway to refresh node's information.
- Returns
- negative on error, 0 on success
- See also
- lightify_request_update_node()
Definition at line 205 of file liblightify++.hpp.
◆ Lightify
The documentation for this class was generated from the following file: