mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-13 17:06:39 +02:00
Add wifi_rssi to the obj to get the value
This commit is contained in:
parent
2887c8f85f
commit
af18ef5c3a
1 changed files with 1 additions and 0 deletions
|
@ -123,6 +123,7 @@ void webApi::getSystem(JsonObject obj) {
|
||||||
obj[F("build")] = String(AUTO_GIT_HASH);
|
obj[F("build")] = String(AUTO_GIT_HASH);
|
||||||
obj[F("ts_uptime")] = mApp->getUptime();
|
obj[F("ts_uptime")] = mApp->getUptime();
|
||||||
obj[F("ts_now")] = mApp->getTimestamp();
|
obj[F("ts_now")] = mApp->getTimestamp();
|
||||||
|
obj[F("wifi_rssi")] = WiFi.RSSI();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue