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.
int GetBlue |
( |
void |
| ) |
const |
|
inline |
int GetBrightness |
( |
void |
| ) |
const |
|
inline |
int GetCCT |
( |
void |
| ) |
const |
|
inline |
int GetGreen |
( |
void |
| ) |
const |
|
inline |
unsigned int GetGroup |
( |
void |
| ) |
const |
|
inline |
unsigned long long GetMAC |
( |
void |
| ) |
const |
|
inline |
const char* GetName |
( |
void |
| ) |
const |
|
inline |
int GetOnlineState |
( |
void |
| ) |
const |
|
inline |
int GetRed |
( |
void |
| ) |
const |
|
inline |
int GetWhite |
( |
void |
| ) |
const |
|
inline |
unsigned int GetZoneAdr |
( |
void |
| ) |
const |
|
inline |
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.
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.
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.
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.
int TurnOnOff |
( |
bool |
onoff | ) |
|
|
inline |
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.
The documentation for this class was generated from the following file: