esphome/esphome/core
David K. f2e99fa319
[bme68x_bsec2_i2c] BME68X Temperature+Pressure+Humidity+Gas Sensor via BSEC2 (#4585)
* Added initial bme68x component

* Initialize all child sensors to nullptr

This was added to all other sensors in #3808

* Update BSEC2 and BME68x Libraries

Current versions from Bosch Sensortec

* Add myself to codeowners for bme68x_bsec

* Move constants to const.py, according to ci-custom checks

Move constants to const.py, according to ci-custom checks

* Update library dependencies

We'll stick with 1.4.2200 for now. 1.4.2200 is not on platform.io registry, use tag instead.

Update to 1.5.2400 needs some work due to multi instance support.

* Update BSEC2 to 1.6.2400

* Add consts to bme680x_bsec

Enable inclusion with external_components

* Update device class for pressure

* Update to use multisensor API

* Tidy up some constants

* Add tests

* Remove scd30 changes

* Import CONF_SAMPLE_RATE

* Pull BSEC config blob from repo based on config

* Rename component to `bme68x_bsec_i2c`

* Fix tests + codeowners

* Cleanup for review

* Rename using `bsec2`

* Apply suggestions from code review

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Download file during validation stage, instead

* Make `dump_config()` only dump stuff

* Compile safely without sensor and text sensor headers

* Use `intf_ptr`

* Save state if measuring static IAQ, too

* Update CODEOWNERS

* Simplify esphome/components/bme68x_bsec2_i2c/__init__.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Remove extraneous colon & imports

* Track & save the maximum accuracy value

* Polish up accuracy sensor handling

* Log static sensor, update `defines.h`

* Walruses make it better

* Add some logging of setup failures

* Update esphome/components/bme68x_bsec2_i2c/bme68x_bsec2_i2c.cpp

Co-authored-by: Trevor North <trevor@freedisc.co.uk>

* Break out some things

* Update CODEOWNERS

* Update CODEOWNERS take 2

* Use `add_extra` in base schema

* Another walrus in the sensor

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Trevor North <trevor@freedisc.co.uk>
2024-08-11 23:14:58 -05:00
..
__init__.py [code-quality] Apply ruff linting suggestions to core (#7207) 2024-08-07 19:33:41 +12:00
application.cpp If the loop() took more than the required time, don't delay further (#6496) 2024-04-08 19:56:08 +12:00
application.h [core] Update Entities (#6885) 2024-06-12 09:57:36 +12:00
automation.h Tiny fix in automation.h - unused return value removed (#6760) 2024-05-21 10:54:38 +12:00
base_automation.h Fix project version longer than 30 characters breaking compilation (#6535) 2024-04-15 12:02:19 +12:00
color.cpp Don't mark COLOR_* constants as static in header (#2141) 2021-08-10 09:53:48 +02:00
color.h [core] Rename ALWAYS_INLINE to ESPHOME_ALWAYS_INLINE (#6636) 2024-05-06 07:52:47 +12:00
component.cpp [core] Const-ify some Component fields (#6831) 2024-05-30 02:59:15 -05:00
component.h [core] Const-ify some Component fields (#6831) 2024-05-30 02:59:15 -05:00
component_iterator.cpp [core] Update Entities (#6885) 2024-06-12 09:57:36 +12:00
component_iterator.h [core] Update Entities (#6885) 2024-06-12 09:57:36 +12:00
config.py [code-quality] Organise core imports (#7149) 2024-07-29 14:07:44 +12:00
controller.cpp [core] Update Entities (#6885) 2024-06-12 09:57:36 +12:00
controller.h [core] Update Entities (#6885) 2024-06-12 09:57:36 +12:00
datatypes.h Introduce big- and little-endian integer types (#2997) 2022-01-12 16:50:03 +13:00
defines.h [bme68x_bsec2_i2c] BME68X Temperature+Pressure+Humidity+Gas Sensor via BSEC2 (#4585) 2024-08-11 23:14:58 -05:00
entity_base.cpp Keep Unit of Measurement in Flash. (#4719) 2023-05-10 11:42:55 +12:00
entity_base.h [code-quality] NOLINT readability-identifier-naming (#7220) 2024-08-08 17:02:41 +12:00
entity_helpers.py [code-quality] Organise core imports (#7149) 2024-07-29 14:07:44 +12:00
gpio.h Revert "Add null GPIO pin " (#6621) 2024-08-07 07:29:05 +12:00
hal.h Set ESP32 watchdog to loop task (#2846) 2021-12-02 09:05:42 +13:00
helpers.cpp helpers.cpp: Fix GLIBCXX_RELEASE check < 8 (#7062) 2024-07-11 15:58:54 +12:00
helpers.h [helpers] Set default flags of ExternalRAMAllocator to ALLOW_FAILURE (#7201) 2024-08-06 05:02:08 -05:00
log.cpp ESP-IDF support and generic target platforms (#2303) 2021-09-20 11:47:51 +02:00
log.h Support for LibreTiny platform (RTL8710, BK7231 & other modules) (#3509) 2023-09-05 10:16:08 +12:00
macros.h Fix typo (#4515) 2023-03-05 23:02:36 +00:00
optional.h Split files in light component (#1893) 2021-06-14 18:01:56 +02:00
preferences.h Add Factory Reset button and switch (#3724) 2022-09-12 10:23:46 +12:00
ring_buffer.cpp Fix some Voice Assistant bugs (#6121) 2024-01-20 03:38:37 +13:00
ring_buffer.h Fix some Voice Assistant bugs (#6121) 2024-01-20 03:38:37 +13:00
scheduler.cpp Make scheduler debuging work with idf >= 5 (#5052) 2023-07-05 22:05:27 +12:00
scheduler.h Lock scheduler items while modifying them (#4410) 2023-02-26 18:43:08 +00:00
string_ref.cpp EntityBase Name can stay in flash. (#4594) 2023-03-28 06:38:56 +00:00
string_ref.h Fixes for Arduino 2.7.4 (for FastLED) (#4777) 2023-05-04 10:13:30 +12:00
time.cpp [datetime] datetime-datetime strptime support value string without seconds (#6867) 2024-06-08 08:29:10 +12:00
time.h Add datetime entities (#6513) 2024-04-26 09:19:54 +12:00
util.cpp ESP-IDF support and generic target platforms (#2303) 2021-09-20 11:47:51 +02:00
util.h ESP-IDF support and generic target platforms (#2303) 2021-09-20 11:47:51 +02:00
version.h Add ESPHOME_VERSION_CODE define (#2324) 2021-09-20 20:16:59 +12:00