Weather Underground’s Next Frontier: Air Quality

they will get created at the same time
as long as you have ticked to use local IP and you have entered a sensor ID number

If the weather station operator enters only the basic setting (ie: just the sensor ID and nothing else), then, by default, the PurpleAir data is downloaded from the Thingspeak cloud storage - this would create only the 'airquality2.txt' data file.
that is now it works now
If the weather station operator enters additional settings (ie: the sensor ID + URL to local networked PurpleAir unit + check mark in from of 'Use local data (for 1.0 and 10.0 PM size data)'), then, by default, the PurpleAir data would first be downloaded from the Thingspeak cloud storage and then, the PurpleAir data wouldl (second) be downloaded from the local networked PurpleAir unit - this would create both the 'airquality.txt' and 'airquality2.txt' data files.
and yes this is how it is working now the only thing I need to do now is to compare the values and use the cloud data if the local data (if available) is out of range