Jonathan Swoboda
7f418d969e
[multiple] Fix implicit int-to-gpio_num_t conversions for GCC 15 ( #14830 )
2026-03-15 14:57:52 -04:00
Jonathan Swoboda and Claude Opus 4.6
22d90d702d
[usb_cdc_acm][scd4x][pulse_counter][mopeka_std_check][ruuvi_ble] Fix assorted one-liner bugs ( #14495 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-05 09:47:55 -10:00
Jonathan Swoboda and Claude Opus 4.6
1b4de55efd
[pulse_counter] Fix PCNT glitch filter calculation off by 1000x ( #14132 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-20 00:12:37 +00:00
J. Nick Koston
565443b710
[pulse_counter] Fix compilation on ESP32-C6/C5/H2/P4 ( #14070 )
2026-02-18 19:08:53 -06:00
Jonathan Swoboda and Claude Opus 4.6
c4b109eebd
[esp32_rmt_led_strip, remote_receiver, pulse_counter] Replace hardcoded clock frequencies with runtime queries ( #13908 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-10 17:09:56 +00:00
Jonathan Swoboda and Claude Opus 4.6
13a124c86d
[pulse_counter] Migrate from legacy PCNT API to new ESP-IDF 5.x API ( #13904 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-10 10:10:27 -05:00
J. Nick Koston
3c8fd5c5c0
[pulse_counter] Combine log statements to reduce loop blocking ( #12946 )
2026-01-04 16:05:05 -10:00
J. Nick Koston
b7ce8c116b
[core] Centralize component setup logging to reduce flash usage ( #9885 )
2025-07-25 19:27:03 +00:00
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
Keith Burzinski
d99e3237f9
Streamline setup() logging (n, o, p, q, r) ( #8929 )
2025-05-29 07:23:53 +12:00
Edward Firmo
ce7ff15c8a
[pulse_counter] Fix volatile increment/decrement deprecation warnings ( #7954 )
2024-12-14 08:21:54 +11:00
Tobias Hoff
e31a96bfe2
Allow use of all pulse count unit channels if needed. ( #7550 )
2024-10-07 08:53:57 +13:00
Keith Burzinski
cdc4f7f59b
IDF 5 fixes for various components from test1.yaml ( #5451 )
2023-10-18 19:33:36 +13:00
RoboMagus and RoboMagus
1b4156646e
Esp32 pulsecounter optional pcnt ( #3691 )
...
Co-authored-by: RoboMagus <->
2022-09-02 13:22:34 +12:00
RoboMagus
04f4dd8a22
Add 'set_total_pulses' action to 'pulse_counter' sensor. ( #3640 )
2022-07-25 14:20:15 +12:00
Stefan Agner
15ce27992e
Support ISR based pulse counter on ESP32-C3 ( #2983 )
2022-01-04 11:06:43 +13:00
Carlos Garcia Saura
d54b4e7c44
Fix for noise in pulse_counter and duty_cycle components ( #2646 )
2021-11-02 08:27:57 +13:00
Otto Winter and Jesse Hills
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
40c474cd83
Run clang-tidy against ESP32 ( #2147 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-13 18:11:27 +02:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
Frank Bakker and Otto Winter
e4636b99f7
Pulse_counter measure total pulses ( #1173 )
...
* Draft Pulse_count_total
* Added check if Total sensor is present
* fix lint errors
* fix lint
* Update esphome/components/pulse_counter/sensor.py
Co-authored-by: Otto Winter <otto@otto-winter.com >
Co-authored-by: Otto Winter <otto@otto-winter.com >
2020-11-01 20:45:26 +13:00
Otto Winter
742c21506c
Print update interval for pulse counter ( #816 )
2019-10-31 20:09:23 +01:00
Otto Winter
23dcfe5075
Revert HLW8012 to use pulse counter ( #537 )
2019-05-10 22:13:43 +02:00
Otto Winter
6682c43dfa
🏗 Merge C++ into python codebase ( #504 )
...
## Description:
Move esphome-core codebase into esphome (and a bunch of other refactors). See https://github.com/esphome/feature-requests/issues/97
Yes this is a shit ton of work and no there's no way to automate it :( But it will be worth it 👍
Progress:
- Core support (file copy etc): 80%
- Base Abstractions (light, switch): ~50%
- Integrations: ~10%
- Working? Yes, (but only with ported components).
Other refactors:
- Moves all codegen related stuff into a single class: `esphome.codegen` (imported as `cg`)
- Rework coroutine syntax
- Move from `component/platform.py` to `domain/component.py` structure as with HA
- Move all defaults out of C++ and into config validation.
- Remove `make_...` helpers from Application class. Reason: Merge conflicts with every single new integration.
- Pointer Variables are stored globally instead of locally in setup(). Reason: stack size limit.
Future work:
- Rework const.py - Move all `CONF_...` into a conf class (usage `conf.UPDATE_INTERVAL` vs `CONF_UPDATE_INTERVAL`). Reason: Less convoluted import block
- Enable loading from `custom_components` folder.
**Related issue (if applicable):** https://github.com/esphome/feature-requests/issues/97
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs ) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphomedocs](https://github.com/OttoWinter/esphomedocs ).
2019-04-17 12:06:00 +02:00