pyawair
pyawair copied to clipboard
python wrapper for Awair Air Quality Sensor
Hi @netmanchris, Thanks for the great library. Please review this PR - I added ability to set additional API parameters in conn.get_data() and data.get_raw_data(). One of the possible application example...
@deanlyoung, I've made an internal list of which device has which sensors. This to avoid querying sensors that don't exist. Since I couldn't find a list of all the names...
@danielsjf Saw your message on another python Awair API project. I've been working with @deanlyoung on this python wrapper for the Awair API. Wondering if you might consider using this...
I saw that some functions for the data (e.g. get_current_air_data) have up to 3 API calls. It could be good to specify this in the documentation. I don't know to...
These references for the ['sensors'] should be dynamic instead of purely the order (0-6), which might be wrong when sensors are missing for some devices. https://github.com/netmanchris/pyawair/blob/85a1bdb040f4dbb96b62d0068d2cfc010ed6ef3b/pyawair/objects.py#L113-L126