Wifi managers improvements (#503)
* Add parameters to wifi manager: gateway name and base topic Enable to restart the ESP and erase the parameters by MQTT
This commit is contained in:
1 parent
a05fd01505
commit
4b1f09b06b
41 files changed
+308
-196
No files matched your search
@@ -280,7 +280,7 @@ bool _rfbToChar(byte * in, char * out) {
|
||||
// RF DATA ANALYSIS
|
||||
const char * raw = SRFBdata["raw"];
|
||||
int valueRPT = SRFBdata["repeat"]|1;
|
||||
if (strcmp(topicOri,subjectMQTTtoSRFB) == 0){
|
||||
if (strstr(topicOri,catToMainTopic(subjectMQTTtoSRFB)) != NULL){
|
||||
trc(F("MQTTtoSRFB json"));
|
||||
if (raw){ // send raw in priority when defined in the json
|
||||
trc(F("MQTTtoSRFB raw ok"));
|
||||
|
||||
Reference in new issue
Block a user