Open bmcdonough opened 3 years ago
I think, based on waveplus: https://github.com/Airthings/waveplus-reader/blob/master/read_waveplus.py
Therefore, some of these values are not applicable as the wave1 or wave2 do not contain these sensors.
data[0] = sensor_version data[7] = relative_atmospheric_pressure in hPa, displayed value is divided by 50.0 data[8] = carbon_dioxide_level in ppm, displayed value is multiplied by 1.0 data[9] = volatile_organic_compounds in ppb, displayed value is multiplied by 1.0
I connected my Raspberry Zero W to my brandnew Airthings Wave2 and the readout of data with the Python Script is working flawlessly. I just saved the data fields data[2] and data[3] missing in the unpack subroutine of the script and did a log over some time. I noticed that there is a data source logged in data[2] (whereas data[3] seems to be zero) strongly varying over the course of the day. Over Night it stays at zero levels. I understand that data[7..9] would not visible in the wave2 because of the missing sensors, but what is data[2]?
its an undocumented light sensor 😁
{ "accel": 0, "accelEvent": false, "appState": "active", "appVersion": "3.8.7(426)", "battCharge": null, "battVoltage": 3075, "bleConnected": null, "co2": null, "cycle": 1, "debug": null, "errorFlag": null, "handWaves": 0, "humidity": 41.5, "id": 13210183611279476126, "light": 23, "pressure": null, "radonInstant": null, "radonLongTermAvg": null, "radonShortTermAvg": null, "record": 1438, "relayDevice": "iPhone", "relayDeviceOS": "iOS,15.3", "sampleRecorded": "2022-01-10T12:38:00", "sampleTransferred": "2022-01-11T06:36:12", "submitted": "2022-01-11T06:36:12", "temp": 20.389999389648438, "voc": null, "waveCcFwVersion": "1.5.3", "waveMspFwVersion": "1.6.0", "waveSub1FwVersion": "2.0.2" },
Ah interesting. At least it's not a microphone... Thanks for the Info!
I modified the read_wave2.py to print(data) (1, 97, 19, 0, 108, 108, 2196, 65535, 65535, 65535, 0, 65535) Humidity: 48.5 %rH, Temperature: 21.96 *C, Radon STA: 108 Bq/m3, Radon LTA: 108 Bq/m3
I understand the following: data[1] = humidity, but the displayed value is divided by 2.0 data[4] = radon Bq/m3 Short Term Average data[5] = radon Bq/m3 Long Term Average data[6] = temperture in Celsius, but the displayed value is divided by 100.0
Can I have someone document: data[0] data[2] data[3] data[7] data[8] data[9] data[10] data[11]