Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BSEC2 issues with github project / configuration files

    BSEC2 issues with github project / configuration files

    neffs
    Member

    Hi, 

    I'd like to update the ESPHome component for BME68X to BSEC2, which mostly works, but to be production ready I'd like to improve some rough edges. I hope you can help me.

    • In BSEC1 commonly used configuration files are also available on github (https://github.com/BoschSensortec/BSEC-Arduino-library/tree/master/src/config), unfortunately this is not the case for BSEC2. Could you add the configuration files there too? Am I allowed to distribute the configuration files with my project?
    • I noticed BSEC2 was updated to 2.2.0.0, but not updated on github. According to the release notes it seems to be a relevant update. Could you please update the library on github? It makes integration in Open Source projects so much easier and less error prone for users.
    • ESPHome uses platformio in the background, in BSEC1 this already works nicely, but BSEC2 misses the library.json file. There already is a Pull Request to include this file: https://github.com/BoschSensortec/Bosch-BSEC2-Library/pull/9

    Thanks!

    5 REPLIES 5

    BSTRobin
    Community Moderator
    Community Moderator

    Hi neffs,

    1. Whic sensor part(BME680, BME688) you used?
    2. BSEC2 github code was released on https://github.com/BoschSensortec/Bosch-BSEC2-Library, you could see the configuration files on https://github.com/BoschSensortec/Bosch-BSEC2-Library/tree/master/src/config

    1. BME688

    2. "Default_H2S_NonH2S" seems to be the same as "bsec_sel_iaq_18v_4d" from the 2.0.1.6 release. Probably not the right choice if I have 3,3 Volts.

    2.2.0.0 includes these configurations. X_3s_28d are recommended in the release notes.

    bsec_sel_iaq_18v_300s_28d
    bsec_sel_iaq_18v_300s_4d
    bsec_sel_iaq_18v_3s_28d
    bsec_sel_iaq_18v_3s_4d
    bsec_sel_iaq_33v_300s_28d
    bsec_sel_iaq_33v_300s_4d
    bsec_sel_iaq_33v_3s_28d
    bsec_sel_iaq_33v_3s_4d

    BSTRobin
    Community Moderator
    Community Moderator

    Hi neffs,

    As you used BME688, you should use BSEC2 library, not use BSEC1.

    Bsec_2-2-0-0_generic_release package, the config file Default_H2S_NonH2S supported bsec_sel_iaq_18v_3s_4d.

    I'd like to do that, unfortunately there are still missing parts in the public github project.

    Thank you for updating the publicly available library on github to 2.2.0.0, but the first and third issue are still making it difficult to update my project to BSEC2.

    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