mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 17:58:20 +01:00
46 lines
1.1 KiB
Markdown
46 lines
1.1 KiB
Markdown
# Illumination-Cat
|
|
This is the brain of the the almighty [Illumination Cat](https://www.thingiverse.com/thing:2974862).
|
|
|
|
## API
|
|
### WebSocket
|
|
Endpoint: /pixel
|
|
|
|
Fields:
|
|
|Field|Type|Description|
|
|
| ------------- |-------------| -----|
|
|
| topic | String | $1600 |
|
|
| col 2 is | centered | $12 |
|
|
| zebra stripes | are neat | $1 |
|
|
|
|
Example:
|
|
``` json
|
|
{
|
|
"topic": "pixels/color",
|
|
"payload": "13505813"
|
|
}
|
|
```
|
|
#### Message Formate
|
|
- topic
|
|
- payload
|
|
|
|
#### Topics
|
|
pixels/color
|
|
pixels/color2
|
|
pixels/pattern
|
|
pixels/totalSteps
|
|
pixels/brightness
|
|
|
|
### REST
|
|
#### Endpoints
|
|
POST /pixel/state
|
|
POST /config
|
|
|
|
### Mesh
|
|
|
|
## Features
|
|
- Enduser setup: initial setup where the cat opens an access point for configuration
|
|
- WiFi: connect to existing AP as client or build a mesh network where all cats act as a collective
|
|
- Web controls: colors and patterns can be changed through the web interface
|
|
- OTA plugin: cats connected to an AP can be updated over-the-air via TCP flash method
|
|
- [0%] audio output
|
|
- [0%] OctoPrint plugin: connect to an OctoPrint instance and reflect print status via colors |