mirror of
https://gitlab.com/zwirbel/illucat.git
synced 2025-12-15 17:58:20 +01:00
change default config, print softap ip
This commit is contained in:
23
README.md
23
README.md
@@ -7,10 +7,9 @@ Endpoint: /pixel
|
||||
|
||||
Fields:
|
||||
|Field|Type|Description|
|
||||
| ------------- |-------------| -----|
|
||||
| topic | String | $1600 |
|
||||
| col 2 is | centered | $12 |
|
||||
| zebra stripes | are neat | $1 |
|
||||
| --- |---| ---|
|
||||
| topic | String | Defines which functionality is executed, usually to set a value or activate a pattern |
|
||||
| payload | String | data to be set |
|
||||
|
||||
Example:
|
||||
``` json
|
||||
@@ -19,16 +18,14 @@ Example:
|
||||
"payload": "13505813"
|
||||
}
|
||||
```
|
||||
#### Message Formate
|
||||
- topic
|
||||
- payload
|
||||
|
||||
#### Topics
|
||||
pixels/color
|
||||
pixels/color2
|
||||
pixels/pattern
|
||||
pixels/totalSteps
|
||||
pixels/brightness
|
||||
| Topic | Data |
|
||||
| ----- | ---- |
|
||||
| pixels/color | |
|
||||
| pixels/color2 | |
|
||||
| pixels/pattern | |
|
||||
| pixels/totalSteps | |
|
||||
| pixels/brightness | |
|
||||
|
||||
### REST
|
||||
#### Endpoints
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"stationSSID": "MyWifi",
|
||||
"stationPassword": "myWifiPassword",
|
||||
"meshSSID": "illucat",
|
||||
"meshPassword": "th3r31sn0sp00n",
|
||||
"meshPassword": "illumination",
|
||||
"meshPort": 5555,
|
||||
"channel": 11
|
||||
}
|
||||
@@ -90,6 +90,7 @@ class IlluCat : public MeshSprocket {
|
||||
// TODO plugin?
|
||||
dnsServer->setErrorReplyCode(DNSReplyCode::NoError);
|
||||
dnsServer->start(DNS_PORT, "*", WiFi.softAPIP());
|
||||
Serial.println("SoftAP IP: " + WiFi.softAPIP().toString());
|
||||
|
||||
defaultAnimation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user