Hello!
We want to use BME680 with our LoRaWAN node. We have different periods of measurement and transmit data (in one case it is 5min, in other - 60, etc.), all other time controller is in deep sleep mode.
And we want to calculate IAQ on server side. We want send to our server only temperature, humidity, pressure, gas resistance.
How we can do this? Is there are any script or math solution to make calculation on server side?
can someone answer?
Yes, this is technically possible.
You could for example base your process on this other post that shows how to run BSEC remotely, possibly on a server, based on raw sensor data only (note that each sapmle must come with an appropriate timestamp, and that in this mode of operation, BSEC only supports 3s or 5min of fixed sampling periods).
We have also added more recently on GitHub an example that shows how to run BSEC for multiple BME680s but with only one MCU, which you could adapt to your request by replacing the MCU's EEPROM memory with some memory on your server.
Let us know if you are facing any challenges deploying such a solution in your platform.
Thanks for the answer.
That is, in any case, we must "wake up" every 5 minutes to take a measurement and record or send it?
And one more question. IAQ this is Indoor Air Quality or I've seen the Index of Air Quality? And if we want to make measurements outdoor, it's will be correct?
@lyoxa wrote:
Thanks for the answer.
That is, in any case, we must "wake up" every 5 minutes to take a measurement and record or send it?
This is up to you integration requirements. Waking up every 5 minutes to take a measurement is needed. Sending this data directly would of course work fine. As long as you record the timestamps for each measurements, you may also record multiple samples then send them as a "batch" for post-processing. I guess it depends whether you are looking for "live" data, or if you can afford some delay (update history on every transmission).
@lyoxa wrote:
And one more question. IAQ this is Indoor Air Quality or I've seen the Index of Air Quality? And if we want to make measurements outdoor, it's will be correct?
The current "Index for Air Quality" may already be used indoor or outdoor, but it is so far optimized for indoor use-cases in particular.