mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
publish ESP free mem in mqtt publishSystem
This commit is contained in:
parent
7e41168606
commit
e0cd14e904
@ -211,6 +211,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));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user