From 3fdac573257569783dca424d51c4d7175132e20a Mon Sep 17 00:00:00 2001 From: dahuafschmied <3955019+dahuafschmied@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:00:24 +0200 Subject: [PATCH] last octet of ip address and signal stength for WiFi status --- src/TaskWifi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TaskWifi.cpp b/src/TaskWifi.cpp index 03cf95d..1377ba7 100644 --- a/src/TaskWifi.cpp +++ b/src/TaskWifi.cpp @@ -52,7 +52,7 @@ bool WifiTask::loop(System &system) { return false; } system.connectedViaWifi(true); - _stateInfo = WiFi.localIP().toString(); + _stateInfo = String("IP .") + String(WiFi.localIP()[3]) + String(" @ ") + String(WiFi.RSSI()) + String("dBm"); _state = Okay; return true; }