show MQTT configuration on main HTML page
This commit is contained in:
parent
9a57ab474b
commit
0ffb73e4a3
@ -363,6 +363,12 @@ void setup() {
|
|||||||
response += "</h1>\r\n";
|
response += "</h1>\r\n";
|
||||||
response += "<h3>Sensor Status</h3>\r\n";
|
response += "<h3>Sensor Status</h3>\r\n";
|
||||||
response += "<table>\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) {
|
if (capability_dht) {
|
||||||
response += "<tr><td>Temperature</td><td>";
|
response += "<tr><td>Temperature</td><td>";
|
||||||
response += str_temperature;
|
response += str_temperature;
|
||||||
|
Loading…
Reference in New Issue
Block a user