|
|
@ -206,7 +206,7 @@ void ICACHE_FLASH_ATTR sendValues() { |
|
|
|
|
|
|
|
JsonObject& rssiObject = array.createNestedObject(); |
|
|
|
rssiObject["sensor"] = SENSOR8_ID; |
|
|
|
rssiObject["value"] = WiFi.RSSI(); |
|
|
|
rssiObject["value"] = sd.rssi; |
|
|
|
|
|
|
|
|
|
|
|
char buffer[500]; |
|
|
@ -276,6 +276,7 @@ void ICACHE_FLASH_ATTR sendValues() { |
|
|
|
last_dhcp = millis(); |
|
|
|
} |
|
|
|
|
|
|
|
sd.rssi = WiFi.RSSI(); |
|
|
|
|
|
|
|
int httpCode = 0; |
|
|
|
for (int tries=0; tries<3 && httpCode != HTTP_CODE_CREATED; tries++) { |
|
|
|