Data that is uploaded from purpleair sensors to the purpleair website can be downloaded in json format, and is easily processed by the weewx-purpleair extension in the same way as data obtained directly from a locally hosted purpleair sensor. With this patch applied, if you specify an ID# as the hostname (e.g., 25849), then the extension will pull the data for that sensor directly from purpleair.com. The only missing data item is dewpoint. Everything else is the same. This patch also checks to see if either the A or B sensor is down before trying to compute an average reading.
Data that is uploaded from purpleair sensors to the purpleair website can be downloaded in json format, and is easily processed by the weewx-purpleair extension in the same way as data obtained directly from a locally hosted purpleair sensor. With this patch applied, if you specify an ID# as the hostname (e.g., 25849), then the extension will pull the data for that sensor directly from purpleair.com. The only missing data item is dewpoint. Everything else is the same. This patch also checks to see if either the A or B sensor is down before trying to compute an average reading.