DanielR92
8 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
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 |
|
|
|