Closed skalnik closed 4 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/skalnik/aqi-wtf/cahl70v2d
✅ Preview: https://aqi-wtf-git-detect-busted-sensor.skalnik.vercel.app
@obra wanna send your friend that preview link and see if it is better?
Accidentally closed the ticket too early, but yes, end user reports this is good to go.
+1
This PR attempts to setup some basic broken sensor detection but seeing if all the extra pm values are zero, and if so, ignoring that sensor in the sensor pair. This could be made smarter by checking if both pairs in the sensor are all zero and then ignoring that sensor all together and finding the next one, but this seems like a good start.