Bosch Sensortec Community

    BME680 IAQ calculation on server side

    Highlighted
    New Poster

    BME680 IAQ calculation on server side

    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?

    6 REPLIES 6
    Highlighted
    New Poster

    Re: BME680 IAQ calculation on server side

    can someone answer?

    Highlighted
    Community Moderator

    Re: BME680 IAQ calculation on server side

    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.

    Highlighted
    New Poster

    Re: BME680 IAQ calculation on server side

    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?

    Highlighted
    Community Moderator

    Re: BME680 IAQ calculation on server side


    @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.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist