diff --git a/README.md b/README.md index 00e146d..b93a14a 100644 --- a/README.md +++ b/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 diff --git a/data/example.config.json b/data/example.config.json index 2ab36dc..80be47f 100644 --- a/data/example.config.json +++ b/data/example.config.json @@ -4,7 +4,7 @@ "stationSSID": "MyWifi", "stationPassword": "myWifiPassword", "meshSSID": "illucat", - "meshPassword": "th3r31sn0sp00n", + "meshPassword": "illumination", "meshPort": 5555, "channel": 11 } \ No newline at end of file diff --git a/src/IlluCat.h b/src/IlluCat.h index 38e9fc9..2eebf92 100644 --- a/src/IlluCat.h +++ b/src/IlluCat.h @@ -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();