NRF signal quality aprox

This commit is contained in:
DanielR92 2023-08-24 14:02:13 +02:00
parent 55b087ba77
commit df2b012093
3 changed files with 15 additions and 2 deletions

View file

@ -502,6 +502,7 @@ class RestApi {
obj[F("isconnected")] = mRadio->isChipConnected();
obj[F("DataRate")] = mRadio->getDataRate();
obj[F("isPVariant")] = mRadio->isPVariant();
obj[F("goodSignal")] = mRadio->goodSignal();
obj[F("en")] = (bool) mConfig->nrf.enabled;
}
@ -570,6 +571,8 @@ class RestApi {
warn.add(F("reboot your ESP to apply all your configuration changes"));
if(0 == mApp->getTimestamp())
warn.add(F("time not set. No communication to inverter possible"));
/*if(0 == mSys->getNumInverters())
warn.add(F("no inverter configured"));*/