Merge branch 'master' into dev-v2.1.0

This commit is contained in:
Gunnar Skjold
2022-03-11 18:58:41 +01:00
6 changed files with 84 additions and 17 deletions

View File

@@ -214,6 +214,7 @@ bool RawMqttHandler::publishSystem(HwTools* hw) {
if(vcc > 0) {
mqtt->publish(topic + "/vcc", String(vcc, 2));
}
mqtt->publish(topic + "/mem", String(ESP.getFreeHeap()));
mqtt->publish(topic + "/rssi", String(hw->getWifiRssi()));
if(hw->getTemperature() > -85) {
mqtt->publish(topic + "/temperature", String(hw->getTemperature(), 2));