Device Settings
set_power
Set the power state of the device.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
on
|
bool
|
True to turn on, False to turn off. |
True
|
Source code in src/pypixelcolor/commands/set_power.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |
set_brightness
Set the brightness of the device.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
level
|
int
|
Brightness level (0-100). |
required |
Source code in src/pypixelcolor/commands/set_brightness.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | |
set_orientation
Set the orientation of the device.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
orientation
|
int
|
The orientation value to set (0-3). |
0
|
Source code in src/pypixelcolor/commands/set_orientation.py
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | |