show MQTT configuration on main HTML page
This commit is contained in:
@ -363,6 +363,12 @@ void setup() {
|
||||
response += "</h1>\r\n";
|
||||
response += "<h3>Sensor Status</h3>\r\n";
|
||||
response += "<table>\r\n";
|
||||
response += "<tr><td>MQTT Server</td><td>";
|
||||
response += mqtt_server;
|
||||
response += ":";
|
||||
response += mqtt_port;
|
||||
response += "<tr><td>MQTT Topic</td><td>";
|
||||
response += mqtt_topic;
|
||||
if (capability_dht) {
|
||||
response += "<tr><td>Temperature</td><td>";
|
||||
response += str_temperature;
|
||||
|
Reference in New Issue
Block a user