You mentioned seeking a better sensor in another thread. I cannot personally speak to the quality of the Ecowitt WH0290 sensor, but other owners might. There’s a community driver for the Required GW1000 gateway and the air quality sensor is listed as a compatible device.
Is this still an active project? I have a few Awair Element and find they work well enough for me to use and I wanted to interface with them in Hubitat. I'm happy to work with you on this @Digital_BG. Joe
Still new to the whole Hubitat community, so pardon the ignorance. Would this driver make it so that if Awair, the company, goes out of business I would still be able to use the device? I've been burned by that in the past, and trying to make sure I at least have a hubitat-enabled backup.
I don't know if the original developer is still active, as I sent in a PR and have yet to get a response in any way on it. My current plans are to continue some cleanup on my fork and if they want to integrate my changes, they can. You can always look at my fork if you want.
As far as I can tell, not exactly. While this driver does use the Local API, the device still needs to be set up through Awair and the Local API needs to be enabled from their application. There may be such a way to do so locally, but I am not aware of a way currently.
Yes. You need to provision the Awair on the cloud and then through the configuration turn on the local API. It's a one time thing so no big deal. I've been playing around with the driver as well so would be happy to try with your fork. Just in case you didn't know Hubitat added a variable for air quality so that can be incorporated as well.
The air quality capability is for an AQI number (0-500), so it unfortunately doesn't work with the Awair score which is 0-100 and doesn't translate directly into AQI, AFAICT.
Better to not use a capability that isn't what it is. AQI is 0 - 500 where larger numbers mean worse quality. The Awair Score is 0 - 100 where larger is better. Multiplying the Awair Score by 5 wouldn't work in that case, for example.
Now, in the Awair application, they do provide a calculated AQI based only on the PM 2.5 reading. There are also formulas for converting various pollutants into the AQI scale, so it should be possible to generate an AQI value with enough effort. The driver could calculate the AQI of each pollutant that it detects and then choose the highest value, for example.