diff --git a/lighthub/main.cpp b/lighthub/main.cpp index e06a71a..43de624 100644 --- a/lighthub/main.cpp +++ b/lighthub/main.cpp @@ -409,8 +409,8 @@ void onMQTTConnect(){ aJsonObject * item = items->child; while (items && item) if (item->type == aJson_Array && aJson.getArraySize(item)>0) { - strncat(buf,item->name,sizeof(buf)); - strncat(buf,",",sizeof(buf)); +/// strncat(buf,item->name,sizeof(buf)); +/// strncat(buf,",",sizeof(buf)); switch ( aJson.getArrayItem(item, I_TYPE)->valueint) { case CH_THERMO: @@ -462,7 +462,7 @@ void onMQTTConnect(){ //strncpy_P(topic, outprefix, sizeof(topic)); setTopic(topic,sizeof(topic),T_DEV); strncat_P(topic, nodes_P, sizeof(topic)); - mqttClient.publish(topic,buf,true); + /// mqttClient.publish(topic,buf,true); } #endif } @@ -817,7 +817,7 @@ void applyConfig() { aJsonObject *dmxoutArr = aJson.getObjectItem(root, "dmx"); if (dmxoutArr && aJson.getArraySize(dmxoutArr) >=1 ) { DMXoutSetup(maxChannels = aJson.getArrayItem(dmxoutArr, 1)->valueint); - debugSerial<