Skip to content

Commit

Permalink
fix mqtt topic assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
rednblkx committed Nov 20, 2024
1 parent af0d968 commit 4b7df63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1074,6 +1074,8 @@ void setupWeb() {
rfidTopic.append("homeassistant/tag/").append(espConfig::mqttData.mqttClientId).append("/rfid/config");
esp_mqtt_client_publish(client, rfidTopic.c_str(), "", 0, 0, false);
}
} else if (!strcmp(p->name().c_str(), "mqtt-btrprox-cmd-topic")) {
espConfig::mqttData.btrLvlCmdTopic = p->value().c_str();
}
}
json json_mqtt_config = espConfig::mqttData;
Expand Down

0 comments on commit 4b7df63

Please sign in to comment.