AirGradient Forum

Local API not always responding to Get request

I am polling the airgradientone (fw 3.6.2) every minute to retrieve sensor readings using the local api. Frequently there is no reply to the Get request… The serial log shows an External watchdog feed! when this happens (normally the payload is logged for a good response). The device seems to retain a stable connection to wifi so it is the request being ignored. I have also seen a watchdog message immediately after the valid payload is sent? Anyone else seen this? or suggestions on getting more debug info from device.
CO2 = 537.00 ppm
Temperature = 17.31 C
Relative Humidity = 53.83
TVOC Index = 99.0
TVOC Raw = 32305.9
NOx Index = 1.0
NOx Raw = 19107.3
[1] Atmospheric PM 1.0 = 0.00 ug/m3
[1] Atmospheric PM 2.5 = 0.00 ug/m3
[1] Atmospheric PM 10 = 0.00 ug/m3
[1] Standard Particle PM 1.0 = 0.00 ug/m3
[1] Standard Particle PM 2.5 = 0.00 ug/m3
[1] Standard Particle PM 10 = 0.00 ug/m3
[1] Particle Count 0.3 = 58.5
[1] Particle Count 0.5 = 52.8
[1] Particle Count 1.0 = 15.3
[1] Particle Count 2.5 = 0.7
[1] Particle Count 5.0 = 0.0
[1] Particle Count 10 = 0.0

External watchdog feed!

CO2 = 537.00 ppm
Temperature = 17.33 C
Relative Humidity = 53.80
TVOC Index = 99.0
TVOC Raw = 32303.6
NOx Index = 1.0
NOx Raw = 19089.1
[1] Atmospheric PM 1.0 = 0.00 ug/m3
[1] Atmospheric PM 2.5 = 0.00 ug/m3
[1] Atmospheric PM 10 = 0.00 ug/m3
[1] Standard Particle PM 1.0 = 0.00 ug/m3
[1] Standard Particle PM 2.5 = 0.00 ug/m3
[1] Standard Particle PM 10 = 0.00 ug/m3
[1] Particle Count 0.3 = 61.7
[1] Particle Count 0.5 = 51.7
[1] Particle Count 1.0 = 17.7
[1] Particle Count 2.5 = 2.0
[1] Particle Count 5.0 = 0.5
[1] Particle Count 10 = 0.0

The watchdog feed message is normal and happens regularly. It alerts a hardware chip that the software is still running. If the hardware doesn’t get the signal from the software after a certain amount of time, it will reboot the device.
So that is unrelated to your GET requests

You don’t get an error, but get a 200 code with no response?

Thanks for confirming watchdog. We don’t get an error or 200 OK from the get request, we just get no response at all. When it works we do get 200 and a valid payload. I will play around with the polling interval to see how that affects the responses