Commit graph

7602 commits

Author SHA1 Message Date
brisk
8b66ff90d8 pulse_counter_ulp: fix typo in bc64701 2024-10-06 17:25:47 +10:30
brisk
4a8907d70d pulse_counter_ulp: Store mean_exec_time in Ulp Program
This lets the estimated interval survive sleep, and finally provide reasonable
interval estimates over deep sleep periods.
2024-10-06 17:25:47 +10:30
brisk
2b453289a9 pulse_counter_ulp: Use factory method to construct UlpProgram when we're ready 2024-10-06 17:25:47 +10:30
brisk
5646dd5d0c pulse_counter_ulp: Make sleep duration configurable, keep estimate of ulp runtime 2024-10-06 17:25:47 +10:30
brisk
bd9029c2b2 pulse_counter_ulp: avoid zero 2024-10-06 17:25:47 +10:30
brisk
c882b58e53 pulse_counter_ulp: Don't break chrono type-safety 2024-10-06 17:25:47 +10:30
brisk
b41746cc54 pulse_counter_ulp: Use std::chrono instead of millis()
millis() appears to jump when a time component synchronises. steady_clock() should avoid this.
2024-10-06 17:25:47 +10:30
brisk
e736091950 pulse_counter_ulp: refactor UlpProgram class 2024-10-06 17:25:47 +10:30
brisk
2ba3b85440 pulse_counter_ulp: Add run_count to ULP program 2024-10-06 17:25:47 +10:30
brisk
31e72a5232 pulse_counter_ulp: remove time component 2024-10-06 17:25:47 +10:30
brisk
7cd5bad1c2 pulse_counter_ulp: only read valid bits of ulp_edge_count 2024-10-06 17:25:47 +10:30
brisk
bd8858e053 pulse_counter_ulp: CountMode to enum class 2024-10-06 17:25:47 +10:30
brisk
4517698322 pulse_counter_ulp: rename classes and remove filter 2024-10-06 17:25:47 +10:30
brisk
5fb117e0ea pulse_counter_ulp: expunge other storage types 2024-10-06 17:25:47 +10:30
brisk
3059e65d13 pulse_counter_ulp: Remove filter configuration 2024-10-06 17:25:47 +10:30
brisk
5f98bf4808 pulse_counter_ulp: Remove unnecessary configuration variables 2024-10-06 17:25:47 +10:30
brisk
9c70733028 pulse_counter_ulp: Rename files to use suffix 2024-10-06 17:25:47 +10:30
brisk
7e22e7f813 pulse_counter: Restore original pulse counter 2024-10-06 17:25:47 +10:30
brisk
2b51fe7f95 pulse_counter: Move ulp pulse_counter to its own folder 2024-10-06 17:25:47 +10:30
brisk
146f733be9 pulse_counter: Use 64 bit time always 2024-10-06 17:25:47 +10:30
brisk
5efcbf8dfc pulse_counter: save last_time_ as preference
This lets rates be calculated across deep sleeps when a time source is configured
2024-10-06 17:25:47 +10:30
brisk
f2046573fb pulse_counter: When using Time, don't update until time sync
Avoids nonphysical spikes across reboots, sleeps or time syncs
2024-10-06 17:25:47 +10:30
brisk
b230491fd2 pulse_counter: enable use of RealTimeClock 2024-10-06 17:25:47 +10:30
brisk
68b0e145f8 pulse_counter: ULP maintain total pulse-count through deep sleep
Note that the ULP program is not able to count pulse rate through deep-sleep yet due to the loss of timing over deep-sleep
2024-10-06 17:25:47 +10:30
brisk
a7c68f4e08 pulse_counter: Remove ULP self-wakeup
Wakeup will be handled by the deep-sleep component instead
2024-10-06 17:25:47 +10:30
brisk
bb0ed5b855 pulse_counter: Replace storage enum with dependency injection
This substantially reduces the need for #ifdefs to handle conditional dependency on the ULP system
2024-10-06 17:25:47 +10:30
brisk
fe533952cc pulse_counter: conditionally compile ULP 2024-10-06 17:25:47 +10:30
brisk
30d4a7fb34 pulse_counter: Integrate platformio ulp example into pulse_counter 2024-10-06 17:25:47 +10:30
brisk
49b4169f51 pulse_counter: Add ULP sources from Platformio example
Source: https://github.com/platformio/platform-espressif32/tree/develop/examples/espidf-ulp-pulse
2024-10-06 17:25:47 +10:30
brisk
349dc506ce pulse_counter: Add custom CMakeLists when using use_ulp
This is necessary to compile the ULP program in ESP-IDF
2024-10-06 17:25:47 +10:30
brisk
7e4d37c9f1 Use enum not bool for pulse counter storage type
Allows for more storage types
2024-10-06 17:25:46 +10:30
guillempages
b3cff566eb
[lvgl] Remap image to img in "set_style_*" (#7546)
Some checks are pending
CI / Run script/ci-custom (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Waiting to run
2024-10-06 09:44:18 +11:00
guillempages
0a62106b7b
[image] Use "puremagic" instead of "magic" python module (#7536)
Some checks failed
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
CI for docker images / Build docker containers (push) Has been cancelled
2024-10-05 17:07:32 +10:00
Keith Burzinski
1cf4818640
[CI] Use a list when reading idedata for includes (#7535)
Some checks failed
CI / Create common environment (push) Has been cancelled
CI / Check black (push) Has been cancelled
CI / Check flake8 (push) Has been cancelled
CI / Check pylint (push) Has been cancelled
CI / Check pyupgrade (push) Has been cancelled
CI / Run script/ci-custom (push) Has been cancelled
CI / Run pytest (push) Has been cancelled
CI / Check clang-format (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 IDF (push) Has been cancelled
CI / Run script/clang-tidy for ESP8266 (push) Has been cancelled
CI / list-components (push) Has been cancelled
CI / Component test (push) Has been cancelled
CI / Split components for testing into 20 groups maximum (push) Has been cancelled
CI / Test split components (push) Has been cancelled
CI / CI Status (push) Has been cancelled
2024-10-04 21:07:49 +13:00
RFDarter
523eedbc51
[web_server] Expose detail=all on all components (#7531)
Some checks failed
CI / Create common environment (push) Has been cancelled
CI / Check black (push) Has been cancelled
CI / Check flake8 (push) Has been cancelled
CI / Check pylint (push) Has been cancelled
CI / Check pyupgrade (push) Has been cancelled
CI / Run script/ci-custom (push) Has been cancelled
CI / Run pytest (push) Has been cancelled
CI / Check clang-format (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 IDF (push) Has been cancelled
CI / Run script/clang-tidy for ESP8266 (push) Has been cancelled
CI / list-components (push) Has been cancelled
CI / Component test (push) Has been cancelled
CI / Split components for testing into 20 groups maximum (push) Has been cancelled
CI / Test split components (push) Has been cancelled
CI / CI Status (push) Has been cancelled
2024-10-03 13:34:12 +13:00
David Woodhouse
e57a1ff42d
Fix parsing of µs time periods in config (#7495)
Some checks failed
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Has been cancelled
2024-10-03 07:54:12 +13:00
Jesse Hills
361b6ab961
[mics_4514] Move consts to consts.py (#7528)
Some checks are pending
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
2024-10-02 04:27:32 -05:00
Keith Burzinski
0d80286bb3
[esp32] Add `ignore_efuse_custom_mac` config var (#7527) 2024-10-02 03:27:46 -05:00
Keith Burzinski
d00e0eb2d6
[wifi] Fix error message when no custom MAC is set (#7515)
Some checks are pending
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check black (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
2024-10-02 02:33:35 +00:00
Keith Burzinski
215f26fbe4
[CI] Remove `sorted` from library include dirs (#7526) 2024-10-02 13:08:12 +13:00
Jesse Hills
68928aee7c
Merge branch 'release' into dev
Some checks failed
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
CI for docker images / Build docker containers (push) Has been cancelled
YAML lint / yamllint (push) Has been cancelled
2024-10-01 16:42:26 +13:00
Jesse Hills
ffb0080fc1
Merge pull request #7516 from esphome/bump-2024.9.2
Some checks failed
CI for docker images / Build docker containers (push) Has been cancelled
CI / Create common environment (push) Has been cancelled
YAML lint / yamllint (push) Has been cancelled
CI / Check black (push) Has been cancelled
CI / Check flake8 (push) Has been cancelled
CI / Check pylint (push) Has been cancelled
CI / Check pyupgrade (push) Has been cancelled
CI / Run script/ci-custom (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Has been cancelled
CI / Run pytest (push) Has been cancelled
CI / Check clang-format (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Has been cancelled
CI / Run script/clang-tidy for ESP32 IDF (push) Has been cancelled
CI / Run script/clang-tidy for ESP8266 (push) Has been cancelled
CI / list-components (push) Has been cancelled
CI / Component test (push) Has been cancelled
CI / Split components for testing into 20 groups maximum (push) Has been cancelled
CI / Test split components (push) Has been cancelled
CI / CI Status (push) Has been cancelled
2024.9.2
2024-10-01 16:41:38 +13:00
Jesse Hills
f784e5c9f6
Bump version to 2024.9.2 2024-10-01 15:33:40 +13:00
Jesse Hills
748bc85bfe
[rp2040] Always use maxgerhardt platform fork (#7514) 2024-10-01 15:33:40 +13:00
Nick Kinnan
050e2547ea
Prevent rp2040 randomly breaking the build (#7507)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-10-01 15:33:40 +13:00
Jesse Hills
c2518cff89
[config_validation] Fix bug with extras on schemas (#7497) 2024-10-01 15:33:39 +13:00
Samuel Sieb
4332301dbb
fix bl0906 reset energy action (#7488)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2024-10-01 15:33:39 +13:00
Jesse Hills
d5fa17c316
[rp2040] Always use maxgerhardt platform fork (#7514) 2024-10-01 13:37:08 +13:00
@RubenKelevra
c1a28ba5e2
tcs34725: Remove IR compensation and improve illuminance and color temperature handling in extreme conditions (#7492) 2024-10-01 11:03:42 +13:00
@RubenKelevra
01e03b76a7
tcs34725: optimize fetch time with burst read for RGB and clear values (#7494)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-10-01 11:00:40 +13:00