mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 01:42:22 +01:00
fixed ws endpoint
This commit is contained in:
2
api.md
2
api.md
@@ -27,7 +27,7 @@ All functionality can be used by sending messages to these topics.
|
|||||||
| pixels/brightness | Integer | Integer from 0 to 255 to set the overall brightness of the strip by bitshifting the current colors in memory. Use with caution as running the LEDs on full brightness requires a lot of power. |
|
| pixels/brightness | Integer | Integer from 0 to 255 to set the overall brightness of the strip by bitshifting the current colors in memory. Use with caution as running the LEDs on full brightness requires a lot of power. |
|
||||||
|
|
||||||
## WebSocket
|
## WebSocket
|
||||||
Endpoint: /pixel
|
Endpoint: /ws
|
||||||
Send a JSON String containing the mandatory fields.
|
Send a JSON String containing the mandatory fields.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|||||||
Reference in New Issue
Block a user