Browse Source

Update pubMqtt.h

pull/1738/head
DanielR92 8 months ago
committed by GitHub
parent
commit
2c2745a120
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      src/publisher/pubMqtt.h

1
src/publisher/pubMqtt.h

@ -158,6 +158,7 @@ class PubMqtt {
publish(subtopics[MQTT_UPTIME], mVal.data());
publish(subtopics[MQTT_RSSI], String(WiFi.RSSI()).c_str());
publish(subtopics[MQTT_FREE_HEAP], String(ESP.getFreeHeap()).c_str());
publish(subtopics[MQTT_TEMP_SENS_C], String(ah::readTemperature()).c_str());
#ifndef ESP32
publish(subtopics[MQTT_HEAP_FRAG], String(ESP.getHeapFragmentation()).c_str());
#endif

Loading…
Cancel
Save