||3 months ago|
|.vscode||3 months ago|
|include||3 months ago|
|lib||3 months ago|
|src||3 months ago|
|test||3 months ago|
|.gitignore||3 months ago|
|README.md||3 months ago|
|platformio.ini||3 months ago|
Layout is defined in
LEDs within a node are supposed to be installed counter-clockwise. The edge where the cables enter the node is node 0. To its right (counter-clockwise, remember) is corner 0. Then edge 1, corner 1, edge 2, corner 2 before coming back to edge 0.
Thereby, the next panel can either be installed along edge 1 or edge 2. (But the cable has to go corner 0, corner 1, corner 2 first.)
First panel is ignored in
LAYOUT. First entry in
LAYOUT is the edge through which the cable leaves Node 0 to Node 1 - which can be either Edge 1 or Edge 2.
On the next panel, the edge the cable is coming through is called Edge 0 again. And so on.
LAYOUT countains a list of edges the cable takes to leave to the next node.
Command can be sent via MQTT to
MQTT_TOPIC_COMMANDS. Syntax is
Valid keys are:
modesets a new mode. Valid modes are:
brightnesssets the overall brightness of the lamp. Values are from 0 to 255 inclusive.
brightnessare set for this amount of seconds only.
colorsets the color for
flashmodes. A predefined color name is expected.
speedupsets a speedup for faster animations. Default value 1, possible values are 1 to 255. 0 will lead to an exception.
- 1 green corner: FastLED is initialized.
- 2 green corners: WiFi is connecting...
- 3 green corners: Layout is analyzed...
- 4 green corners: Connecting to MQTT server...
- 5 green corners (only if OTA_DELAY is set): Waiting for an OTA connection...
- Everything green (quarter of a second): Initialization done.