Jonathan Swoboda
3470305d9d
[esp32] Remove IDF 4 support and clean up code ( #9145 )
2025-07-01 16:22:41 +00:00
J. Nick Koston
07cf6e723b
Fix unbound BLE event queue growth and reduce memory usage ( #9052 )
2025-06-15 04:45:41 +00:00
J. Nick Koston
63882c4a74
Reduce Bluetooth overhead by disabling unused logging categories ( #8945 )
2025-06-11 11:57:43 +12:00
Thomas Rupprecht
aeb4e63950
update minimal python version to 3.10 ( #8850 )
2025-05-22 13:21:43 +12:00
J. Nick Koston and Jesse Hills
45d019a7e4
Improve BLE Connection Reliability by Enabling Software Coexistence ( #8683 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-05-09 12:18:19 +12:00
Pat Satyshur
bc6ee20270
Add CONF_CONTINUOUS to const.py ( #8682 )
2025-05-03 22:44:54 -05:00
J. Nick Koston
23e5cdb30e
Rework max connections for BLE to avoid exceeding the hard limit ( #8303 )
2025-04-07 00:48:12 +00:00
J. Nick Koston
96682f5cbe
Fix BLE max notifications with ESP-IDF 5.x ( #8301 )
2025-02-24 14:12:15 +00:00
Rodrigo Martín and Clyde Stubbs
f7f8bf4da4
[esp32_ble_server] Create custom services, characteristics and descriptors ( #7009 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
2025-01-28 22:00:28 +11:00
Jesse Hills
83bb7d0266
[code-quality] Organise bluetooth related imports ( #7155 )
2024-07-30 13:23:30 +12:00
J. Nick Koston
2be19c4e45
Bump recommended ESP32 IDF to 4.4.6 ( #6048 )
2024-01-09 10:13:18 +09:00
Rodrigo Martín and Jesse Hills
d5aeb32ca6
feat: Add ESP32 BLE enable/disable automations ( #5616 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-11-06 15:54:39 +13:00
J. Nick Koston
bf732f2a2b
Increase maximum number of BLE notifications ( #5155 )
2023-07-31 10:23:52 +12:00
RoboMagus
5f0892dec4
Allow multiple MAC addresses for 'on_ble_advertise' filter ( #4773 )
2023-06-09 12:53:30 +12:00
Jesse Hills
4aac76c549
Refactor esp32_ble_tracker to use esp32_ble core ble setup code ( #4173 )
2023-01-25 14:36:30 +13:00
Jesse Hills
83b5e01a28
Mark ESP32-S2 as not having Bluetooth ( #4194 )
2022-12-16 10:09:07 +13:00
J. Nick Koston
dbbbba3cf8
Fix crash with bluetooth tracker and esp-idf ( #4140 )
2022-12-06 08:49:39 +13:00
Jesse Hills
ed443c6153
Bluetooth Proxy active connections ( #3817 )
2022-10-04 10:45:06 +13:00
Jesse Hills
f4b0917239
Allow ble tracker to subscribe to ota start and stop the scanning ( #3800 )
2022-09-14 16:49:20 +12:00
Jesse Hills
b3cca5dcb6
Add stop action for ble scanning ( #3799 )
2022-09-14 14:57:45 +12:00
49465223a4
esp32_ble_tracker continuous and one shot scanning modes ( #3649 )
...
Co-authored-by: Jonathan Valdez <@jonofmac>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-09-14 11:10:12 +12:00
Sean Brogan
2147bcbc29
Remove autoload of xiaomi_ble and ruuvi_ble ( #2617 )
2021-10-28 09:16:12 +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
dependabot[bot] and Otto winter
dbb195691b
Bump pylint from 2.10.2 to 2.11.1 ( #2334 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-09-19 19:22:28 +02:00
Petko Bordjukov
edcd88123d
iBeacon support for ble_presence ( #1627 )
2021-09-02 11:46:15 +12:00
Jesse Hills
07ae8ec553
Remove a whole bunch of deprecated/removed stuff ( #1981 )
2021-07-14 14:42:16 +12:00
Otto Winter
a33bb32874
Convert components to async-def syntax ( #1823 )
...
* Convert components to async-def syntax
* Remove stray @coroutine
* Manual part
* Convert complexer components code to async-def
* Manual cleanup
* More manual cleanup
2021-05-24 21:45:31 +02:00
Otto Winter
2376a2c941
Convert components to async-def syntax ( #1821 )
2021-05-24 10:58:29 +02:00
02aa75f68c
BLE client support on ESP32 ( #1177 )
...
Co-authored-by: Ben Buxton <bb@cactii.net >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-05-03 11:10:50 +12:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
puuu
ba1222eae4
Bluetooth advertising automation ( #995 )
...
* esp32_ble_tracker: introduce UUID comparison function
* ble_presence, ble_rssi: use new UUID comparison function
* esp32_ble_tracker: introduce automation on BLE advertising
* test2.yaml: remove deep_sleep due to firmware size restrictions
2020-04-27 20:57:02 -03:00
Otto Winter
056c72d50d
Drop Python 2 Support ( #793 )
...
* Remove Python 2 support
* Remove u-strings
* Remove docker symlinks
* Remove from travis
* Update requirements
* Upgrade flake8/pylint
* Fixes
* Manual
* Run pyupgrade
* Lint
* Remove base_int
* Fix
* Update platformio_api.py
* Update component.cpp
2019-12-07 18:28:55 +01:00
Otto Winter
cfd42ea162
Revert ESP32 BLE Tracker defaults ( #863 )
...
Fixes https://github.com/esphome/issues/issues/824
Fixes https://github.com/esphome/issues/issues/851
2019-11-17 23:28:30 +01:00
Alexander Leisentritt and Otto Winter
3e8fd48dc0
implemented ruuvi_ble and ruuvitag with RAWv1 and RAWv2 protocol ( #810 )
...
* implemented ruuvi_ble and ruuvitag with RAWv1 protocol
fixes esphome/feature-requests#313
* lint
* updated data calculations
* cpp lint
* use string directly in message
Co-Authored-By: Otto Winter <otto@otto-winter.com >
* add RAWv2 protocol support
* fix ICON_SIGNAL
* typo
* calculation correction and cleaning
* c++ lint
* added acceleration and fixed typo
* removed remote_receiver to reduce firmware size
remote_receiver also in test1.yaml
2019-11-07 22:10:09 +01:00
Lumpusz
69fd3e8937
service uuid based ble tracking ( #800 )
...
* service uuid based ble tracking
* code review fixes
* fix import, format
* fix indentation
* reformat
2019-10-31 15:34:19 +01:00
Otto Winter
4310c14497
Add BLE scan parameters ( #769 )
...
* Add BLE parameters
Fixes https://github.com/esphome/issues/issues/735
* Fix
2019-10-18 18:15:53 +02:00
Otto Winter
968ff4b619
Fixes
2019-05-08 11:31:06 +02:00
Otto Winter
521c080989
Updates
2019-05-08 09:58:03 +02:00
Otto Winter
8e75980ebd
Cleanup dashboard JS ( #491 )
...
* Cleanup dashboard JS
* Add vscode
* Save start_mark/end_mark
* Updates
* Updates
* Remove need for cv.nameable
It's a bit hacky but removes so much bloat from integrations
* Add enum helper
* Document APIs, and Improvements
* Fixes
* Fixes
* Update PULL_REQUEST_TEMPLATE.md
* Updates
* Updates
* Updates
2019-04-22 21:56:30 +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