mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-03 11:11:38 +02:00
Update RestApi.h
This commit is contained in:
parent
695496b6e9
commit
0692e311a7
1 changed files with 2 additions and 0 deletions
|
@ -878,6 +878,8 @@ class RestApi {
|
|||
obj[F("par_size_app0")] = ESP.getFreeSketchSpace();
|
||||
obj[F("par_used_app0")] = ESP.getSketchSize();
|
||||
|
||||
obj[F("temp_sensor_c")] = ah::readTemperature();
|
||||
|
||||
#if defined(ESP32)
|
||||
obj[F("heap_total")] = ESP.getHeapSize();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue