Sensor has wildly wrong temperature

This sensor in Barcelona shows the temperature as 97 degrees F (36 C) which cannot be correct.

Not sure how the community can help but they said to post this here.

1 Like

Five days later, still wrong, showing 89F. Other sensors show more reasonable temperatures in the 60s.

OK, an adjustment of -8 degrees is not enough. It would still show 81 degrees on a day when it was 64. The sensor itself isn’t registering correctly. The sensor might need to be replaced.

It isn’t my sensor so nothing I can do but report the issue. I was hoping that PurpleAir would do something.

Hi @richard47

Right now, it looks like the sensor’s temperature is in line with other nearby sensors. However, it periodically spikes to high temperatures (80s to 90s Fahrenheit). Every spike has been in the early morning. By comparing it to other nearby sensors, I can see that the other sensors also trend up during those times, but they do not spike like this one does.


From this data, it seems that something unique about this location might be causing the high temperature spikes.

I am in Barcelona now and the spike happens in the morning. Probably the sensor is exposed to direct sunlight in the early morning causing it to show a higher temperature than it should. It is significantly higher than the true temperature in Barcelona in the winter. I am told this is the coldest December here in two years so 97F / 36C any time of the day is way off. With so few purpleair sensors in Barcelona I am sure this causes misleading data to be recorded for Barcelona. I don’t know if PurpleAir contacts sensor owners to notify them of this kind of problem. They should.

2 Likes

Can you provide the sensor index for the sensor you are noticing this with? Also, are you seeing these values from the “Estimated Temperature” data layer or the “Operating Temperature” data layer?

Regarding notifications about a faulty reading, we are looking to add this feature soon––it will be a part of the app, which is coming later this year!

1 Like

I am no longer watching the sensor that has the problem because it was always wrong when the sun was shining, but I think this is the code I was using:

I wish the API was easier to use. Seems silly to me to have to use such complicated code. Why not just have something simple, something like this:

showwidget(‘134054’, ‘Fahrenheit’); // show temp in F
showwidget(‘134054’, ‘Celsius’); // show temp in C
showwidget(‘134054’, ‘US EPA PM2.5 (AQI)’); // air quality

Why do we need to specify all that other stuff: key, layer, container, sensor number multiple times, …? All of that is irrelevant for displaying a widget.

–Richard