SCD4X: add information on html page
This commit is contained in:
parent
346d7927d8
commit
ccfc148e31
@ -37,6 +37,9 @@ void WebHandleRoot() {
|
||||
#ifdef CONFIG_ENABLE_DHT
|
||||
"" + (DHTIsConnected() ? "<h6>DHT</h6>Temperature " + String(dhtTemp, 0) + "C<br/> Humidity " + String(dhtHumidity, 0) + "%<br/>" : "DHT Disconnected" ) + ""
|
||||
#endif
|
||||
#ifdef CONFIG_ENABLE_SCD4X
|
||||
"" + (SCD4XIsConnected() ? "<h6>SCD4X</h6>Temperature " + String(SCD4xT, 0) + "C<br/> Humidity " + String(SCD4xH, 0) + "%<br/> CO2 " + String(SCD4xCo2) + "ppm<br/>" : "SCD4X Disconnected" ) + ""
|
||||
#endif
|
||||
#ifdef CONFIG_ENABLE_BME680
|
||||
"" + (BME680IsConnected() ? "<h6>BME680</h6>Temperature " + String(bme680T, 2) + "C<br/> Pressure " + String(bme680P, 2) + "hPa<br/> Humidity " + String(bme680H, 2) + "%<br/> Gaz " + String(bme680G, 2) + "kOhm<br/>" : "BME680 Disconnected" ) + ""
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user