08-19-2020, 10:22 AM
Has anyone used the PurpleAir driver successfully?
I created the .json file and the driver appears to be reading it.
But it is not working. The log says "no child with the name A_H" was found. (A is what I called my sensor in cqc, I presume A_H is humidity). But the driver is not getting values for ANY fields.
I know the PurpleAir sensor itself is working and I can use PA's http call that returns json to see that the data is up to date. The sensor also shows data on their map as usual.
One question: does the name of the sensor (in the cqc .json file) need to match the name of the sensor (its "label" in PurpleAir) as it is configured in PurpleAir? Or is getting the id numbers sufficient and the cqc sensor name can be arbitrary?
Any tips from those who have used it would be great.
I created the .json file and the driver appears to be reading it.
But it is not working. The log says "no child with the name A_H" was found. (A is what I called my sensor in cqc, I presume A_H is humidity). But the driver is not getting values for ANY fields.
I know the PurpleAir sensor itself is working and I can use PA's http call that returns json to see that the data is up to date. The sensor also shows data on their map as usual.
One question: does the name of the sensor (in the cqc .json file) need to match the name of the sensor (its "label" in PurpleAir) as it is configured in PurpleAir? Or is getting the id numbers sufficient and the cqc sensor name can be arbitrary?
Any tips from those who have used it would be great.