Skip to content

Tasmota changes #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 700 commits into from
Closed
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
700 commits
Select commit Hold shift + click to select a range
442679d
fix(Zigbee): Add missing direction to report commands (#10623)
P-R-O-C-H-Y Nov 20, 2024
f0ded24
OTA Library adjust (#10627)
SuGlider Nov 20, 2024
268b31c
feat(zigbee): Add setLight APIs to manually operate lights (#10626)
P-R-O-C-H-Y Nov 20, 2024
66f7c93
Merge branch 'master' into release/v3.1.x
me-no-dev Nov 20, 2024
ff613b3
ci(uart): Disable UART test for P4 until it is fixed in Wokwi
lucasssvaz Nov 20, 2024
6bc3ce6
feat(matter): New Matter Endpoint (#10628)
SuGlider Nov 20, 2024
3dd4b0d
feat(openthread): add license declaration to all soure code and examp…
SuGlider Nov 22, 2024
962ab3a
Adds a Minimum Code Matter Example (#10639)
SuGlider Nov 24, 2024
6e57662
fix compile of P4 caused from missing ")" in debug macro (#10638)
Jason2866 Nov 25, 2024
1712fb5
fix(network): Avoid returning zero if connection is not dropped (#10640)
lucasssvaz Nov 25, 2024
9417a84
feat(uart): [IDF 5.3] fixes HardwareSerial::updateBaudRate() using a …
SuGlider Nov 25, 2024
1730e4e
fix(zigbee): Add connected(), minor fixes, example update (#10636)
P-R-O-C-H-Y Nov 25, 2024
eb1933f
Guard crypto parts in "Update" to save resources (#10630)
Jason2866 Nov 25, 2024
4fc8abf
AsyncUdp license and keyword update (#10637)
SuGlider Nov 25, 2024
0bcdd2c
Merge branch 'master' into release/v3.1.x
SuGlider Nov 25, 2024
0f3191e
fix(zigbee): Increase timeout, commision again on failure + setScanDu…
P-R-O-C-H-Y Nov 25, 2024
98da424
Add our new development board "cezerio mini dev ESP32C6" (#10648)
DogushC Nov 26, 2024
414e4f3
feat(Matter): add new MatterColorLight endpoint (#10654)
SuGlider Nov 26, 2024
9f5f95e
Merge branch 'master' into release/v3.1.x
me-no-dev Nov 28, 2024
c2ce738
feat(matter): New example => Wifi Prov within Matter as alternative f…
SuGlider Dec 2, 2024
9d8df8b
feat(matter): Adds Matter Enhanced Color Light Endpoint (CW/WW/RGB) (…
SuGlider Dec 2, 2024
af84da6
feat(matter): Adds a new Matter Endpoint: Generic Switch (smart butto…
SuGlider Dec 3, 2024
6ce4369
BLECharacteristic optimization (#10665)
sylque Dec 3, 2024
c7022ca
Remove 3rd party references in code and documentation (#10666)
SuGlider Dec 3, 2024
4eeff9b
fix: Split provisioning into two parts for better synchronization
kvp1703 Dec 3, 2024
e159bf6
refactor(uart): Refactor UART test to work with any number of UARTs (…
lucasssvaz Dec 9, 2024
77c69c3
feat (Variants) Added custom boards variants GLYPH C3, GLYPHC6 & GLYP…
pcbcupid Dec 9, 2024
92dd841
feat(Zigbee): Recall bounded devices after reboot + IEEE address opti…
P-R-O-C-H-Y Dec 9, 2024
76d1f9e
ci(pre-commit): Bump hooks versions and fix leftover files (#10680)
lucasssvaz Dec 9, 2024
7a82b8b
feat(Matter): Creates New Matter Fan Controller Endpoint (#10691)
SuGlider Dec 9, 2024
7a0775d
change(tools): Push generated binaries to PR
github-actions[bot] Dec 9, 2024
cd772f1
ci(pre-commit): Add bash script formatter and linter (#10681)
lucasssvaz Dec 9, 2024
19e4d0d
fix ESP32-U4WDH chip detection by ESP.getChipModel() (#10696)
mstegen Dec 9, 2024
2f21d64
add custom boards yb_esp32s3_amp v2 & v3
yellobyte Dec 9, 2024
2028ba4
fix(push): Re-comment unused code
lucasssvaz Dec 9, 2024
538efe3
feat(matter): adds new Temperature Sensor Matter Endpoint (#10698)
SuGlider Dec 9, 2024
9660e66
feat(chip): Add definition for BOOT_PIN for all chips (#10700)
me-no-dev Dec 9, 2024
9b9e6af
Update boards.txt
yellobyte Dec 10, 2024
8c3efc2
fix(zigbee): set rx on idle and alloc address
P-R-O-C-H-Y Dec 10, 2024
be95fc5
fix(zigbee): Set scan to 3 and remove duplicate
P-R-O-C-H-Y Dec 10, 2024
87d988f
fix(zigbee): Add getter for RxOnWhenIdle
P-R-O-C-H-Y Dec 10, 2024
a281b26
fix(zigbee): Move button and led pins from defines
P-R-O-C-H-Y Dec 10, 2024
d7492b1
fix(example): Lower the delay for sleepy device
P-R-O-C-H-Y Dec 10, 2024
3d8014b
Merge branch 'master' into release/v3.1.x
lucasssvaz Dec 10, 2024
45d8630
ci(tests): Remove 3rd party tests
lucasssvaz Dec 10, 2024
5a8cba8
feat(Matter): Adds New Matter Humidity Sensor Endpoint (#10703)
SuGlider Dec 10, 2024
de4824f
feat(matter_examples): apply boot button change to all examples (#10702)
SuGlider Dec 10, 2024
178af05
feat(matter): adds a new matter endpoint for pressure sensor
SuGlider Dec 10, 2024
59bc22a
IDF release/v5.3 9a6aba74
me-no-dev Dec 11, 2024
9c38368
feat(matter): creates a matter contact sensor endpoint
SuGlider Dec 11, 2024
1f9eb74
fix(matter): fix a bad error message - left over
SuGlider Dec 11, 2024
07a3e62
fix(example): Remove wait on Serial after begin
P-R-O-C-H-Y Dec 11, 2024
7c95911
fix(SDMMC): Remove need for BOARD_HAS_SDMMC for esp32
P-R-O-C-H-Y Dec 11, 2024
bfc45db
ci(tests): Re-enable UART test for P4
lucasssvaz Dec 11, 2024
56a9b1d
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 11, 2024
dfa7324
IDF release/v5.3 083aad99
me-no-dev Dec 11, 2024
8cbc395
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 11, 2024
3a8d4c5
fix(example): Use Serial in printBoundDevices()
P-R-O-C-H-Y Dec 11, 2024
68cafb4
feat(arduino): remove all while(not serial) in examples
SuGlider Dec 11, 2024
7e908be
Merge pull request #10708 from espressif/ci/remove_pio_tests
me-no-dev Dec 11, 2024
626a09f
Merge pull request #10711 from espressif/idf-release/v5.3
me-no-dev Dec 11, 2024
639a08e
Merge pull request #10710 from SuGlider/matter_pressure_sensor
me-no-dev Dec 11, 2024
2bd1ec4
Merge branch 'release/v3.1.x' into matter_contact_sensor
me-no-dev Dec 11, 2024
c3ddcd7
Merge pull request #10713 from P-R-O-C-H-Y/fix/sdmmc-esp32-define
me-no-dev Dec 11, 2024
9c169fa
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 11, 2024
83165f3
Merge pull request #10704 from P-R-O-C-H-Y/fix/zigbee-rejoin-battery-…
me-no-dev Dec 11, 2024
237523e
Merge pull request #10699 from yellobyte/master
me-no-dev Dec 11, 2024
4ecfd35
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 11, 2024
d55160c
Merge pull request #10712 from SuGlider/matter_contact_sensor
me-no-dev Dec 11, 2024
029a57f
Merge branch 'master' into remove_while_not_serial_in_examples
SuGlider Dec 11, 2024
59d51de
Merge pull request #10677 from kvp1703/fix/wifi_provision
me-no-dev Dec 11, 2024
fb6e977
Merge pull request #10715 from SuGlider/remove_while_not_serial_in_ex…
me-no-dev Dec 11, 2024
a1f58ad
Merge branch 'master' into release/v3.1.x
me-no-dev Dec 11, 2024
e17900b
feat(matter): adds matter occupancy sensor endpoint
SuGlider Dec 11, 2024
d072cdd
change(esptool): Bump to version 4.9.dev3
lucasssvaz Dec 11, 2024
b9a0122
fix(get): Fix deprecation warning
lucasssvaz Dec 11, 2024
c8f23ec
change(tools): Push generated binaries to PR
github-actions[bot] Dec 11, 2024
217eec6
IDF release/v5.3 083aad99
me-no-dev Dec 12, 2024
3bf8f23
fix(matter): removed commentary that has no code related
SuGlider Dec 12, 2024
a4f96e9
Merge pull request #10719 from espressif/idf-release/v5.3
me-no-dev Dec 12, 2024
4cf0f20
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 12, 2024
77df256
feat(zigbee): Add pressure, flow and occupancy sensor
P-R-O-C-H-Y Dec 12, 2024
aef691e
fix(example): use correct print format
P-R-O-C-H-Y Dec 12, 2024
b4d7227
fix(zigbee): Fix functions comment
P-R-O-C-H-Y Dec 12, 2024
5e7139b
fix(cmake): Update CMakeLists.txt
P-R-O-C-H-Y Dec 12, 2024
b64b850
feat(zigbee): Fill the keywords.txt
P-R-O-C-H-Y Dec 12, 2024
e060b02
feat(matter): adds new Matter Occupancy Sensor endpoint (#10717)
SuGlider Dec 12, 2024
c310c1a
feat(matter): adds matter on off plugin endpoint
SuGlider Dec 12, 2024
c126f01
Merge branch 'release/v3.1.x' into matter_plugin
SuGlider Dec 12, 2024
8f0f46f
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 12, 2024
c6ec112
change(tools): Push generated binaries to PR
github-actions[bot] Dec 12, 2024
7205ee8
Merge pull request #10718 from espressif/change/esptool
me-no-dev Dec 12, 2024
7dc1c92
change(tools): Push generated binaries to PR
github-actions[bot] Dec 12, 2024
784ef0f
fix(webserver): Cap size of last chunk in raw read in WebServer
socram8888 Dec 13, 2024
71396de
fix(sntp): Lock / Unlock LWIP if CONFIG_LWIP_TCPIP_CORE_LOCKING is set
mathieucarbou Dec 13, 2024
ce9a34d
fix(zigbee): Update example + pressure unit
P-R-O-C-H-Y Dec 13, 2024
44e1559
feat(zigbee): Add carbon dioxide sensor ed
P-R-O-C-H-Y Dec 13, 2024
b72e866
fix(zigbee): mention Carbon dioxide delta reporting is not supported
P-R-O-C-H-Y Dec 13, 2024
57339ba
feat(zigbee): Update keywords.txt with co2 sensor
P-R-O-C-H-Y Dec 13, 2024
740fc0b
Merge pull request #10725 from mathieucarbou/issue-10526
me-no-dev Dec 13, 2024
c562aec
Update libraries/WebServer/src/Parsing.cpp
socram8888 Dec 13, 2024
8b77d91
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 13, 2024
faed832
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 13, 2024
a7e2e64
Apply suggestions from code review
P-R-O-C-H-Y Dec 13, 2024
6bc971c
fix(zigbee): fix formatting of defines
P-R-O-C-H-Y Dec 13, 2024
a44e457
feat(Zigbee): Add Zigbee Dimmable light endpoint class
FaBjE Dec 13, 2024
aa0c3da
feat(Zigbee): Add Zigbee Dimmable light example
FaBjE Dec 13, 2024
538c57a
feat(Zigbee): Update Zigbee Dimmable light example to 3.1.x features
FaBjE Dec 13, 2024
a0d57bb
feat(Zigbee): Update Zigbee Dimmable light example config/define names
FaBjE Dec 13, 2024
b6d0553
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 13, 2024
af541a5
feat(Zigbee): Add Zigbee Dimmable light to CMakeLists.txt
FaBjE Dec 14, 2024
42f9cfc
feat(Zigbee): Add additional zigbee enabled check
FaBjE Dec 14, 2024
417c7ee
Merge pull request #10720 from P-R-O-C-H-Y/feat/zigbee-multi-sensor
me-no-dev Dec 14, 2024
8e59a1b
Merge pull request #10722 from SuGlider/matter_plugin
me-no-dev Dec 14, 2024
64b62dc
Merge pull request #10724 from socram8888/fix-web-raw-timeout
me-no-dev Dec 14, 2024
3c3ff48
Merge branch 'master' into release/v3.1.x
me-no-dev Dec 14, 2024
ff7e504
feat(Zigbee): Applied formatter + add formatter protection
FaBjE Dec 14, 2024
ae274ee
feat(Zigbee): Adjusted example author comment
FaBjE Dec 14, 2024
2c7b76a
Use INPUT_PULLUP instead of INPUT
leochen4891 Dec 15, 2024
ddf8c42
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 16, 2024
4f863d5
fix(zigbee): Rename method to avoid future conflict
P-R-O-C-H-Y Dec 16, 2024
926c043
Merge pull request #10727 from FaBjE/feature/zigbeeDimmableLight
me-no-dev Dec 16, 2024
6005b15
Merge pull request #10730 from leochen4891/patch-1
me-no-dev Dec 16, 2024
a207d58
Merge branch 'master' into release/v3.1.x
me-no-dev Dec 16, 2024
31dc520
feat(matter): removed while(serial) and ipv6 enabling, which is a def…
SuGlider Dec 16, 2024
7d465f3
feat(matter): fix commentaries related to feature changes and log mes…
SuGlider Dec 16, 2024
1ef1e7d
fix(version): Update Zigbee Library version
me-no-dev Dec 16, 2024
1dff8bc
feat(matter) adds Identification callback to all matter endpoints
SuGlider Dec 16, 2024
c688f30
fix(clk_src): Fix error as APLL is not yet supported for P4
lucasssvaz Dec 16, 2024
0e22bb4
feat(matter): moved all identify callback to endpoint.h
SuGlider Dec 16, 2024
3f7c597
feat(matter):replacing code in examples and header files
SuGlider Dec 16, 2024
43c419e
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 16, 2024
cd7a775
fix(matter): missing logged message type value
SuGlider Dec 16, 2024
8479b4c
[NetworkClient] Init members of NetworkClient
TD-er Dec 16, 2024
30e55fc
Merge pull request #10732 from SuGlider/matter_while_serial
me-no-dev Dec 16, 2024
eb72580
Merge pull request #10735 from lucasssvaz/fix/p4_apll
me-no-dev Dec 16, 2024
0515264
Merge pull request #10737 from TD-er/patch-2
me-no-dev Dec 16, 2024
6a6edcb
Merge branch 'master' into release/v3.1.x
me-no-dev Dec 16, 2024
ba8d04e
Merge branch 'release/v3.1.x' into matter_identify_callback
SuGlider Dec 16, 2024
6f79e03
fix(matter): fixes identify and double begin() call
SuGlider Dec 16, 2024
7302be9
fix(matter): log_i() leftover
SuGlider Dec 16, 2024
1ef603a
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 16, 2024
017f2df
fix(matter): ci codespell
SuGlider Dec 16, 2024
bce0108
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 16, 2024
e2dc5b6
fix(matter): stashing merge error
SuGlider Dec 16, 2024
71e57ea
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 16, 2024
6bf6df2
Merge pull request #10734 from SuGlider/matter_identify_callback
me-no-dev Dec 16, 2024
25ebe44
add board yb_esp32s3_eth
yellobyte Dec 16, 2024
4d0ae18
ci(pre-commit): Apply automatic fixes
pre-commit-ci-lite[bot] Dec 17, 2024
2fc6791
ci(debug): Compile once a week with verbose log level
lucasssvaz Dec 17, 2024
238c384
fix(readme): Update readme and fix badges
lucasssvaz Dec 17, 2024
ee33ad5
Merge pull request #10741 from yellobyte/master
me-no-dev Dec 18, 2024
3ffee27
Merge pull request #10745 from lucasssvaz/fix/update_readme
me-no-dev Dec 18, 2024
4fdf9ef
Merge pull request #10740 from lucasssvaz/ci/sched_debug
me-no-dev Dec 18, 2024
bd7a74e
Merge pull request #10202 from espressif/release/v3.1.x
me-no-dev Dec 18, 2024
4884c96
fix(component): Checkout proper branch for uploading component
lucasssvaz Dec 18, 2024
7298959
Merge pull request #10752 from lucasssvaz/ci/component
me-no-dev Dec 18, 2024
352705e
fix(component): Add check for workflow_run (#10753)
lucasssvaz Dec 18, 2024
9eb7dc6
Update Issue-report.yml with the latest version numbers
me-no-dev Dec 19, 2024
5c41881
improving logging message while waiting for WiFi (#10739)
ramprasadg Jan 7, 2025
089cbab
docs(3rd-party): Add section for third party tools (#10749)
lucasssvaz Jan 7, 2025
b07eb17
feat(webserver): Middleware with default middleware for cors, authc, …
mathieucarbou Jan 7, 2025
e3cc040
feat(matter): new Matter Endpoint for Thermostat (#10755)
SuGlider Jan 7, 2025
10d0bf8
ci: Allow push to the component registry from a given git ref (#10757)
me-no-dev Jan 7, 2025
5aaccd8
feat(matter): fixes matter temperature sensor endpoint to indicate ce…
SuGlider Jan 7, 2025
9eee1dd
ci(dangerjs): Fix and update settings (#10770)
lucasssvaz Jan 7, 2025
5f44c4e
fix(client): Restore Arduino Client API (#10776)
pennam Jan 7, 2025
2cb0819
feat(matter): adds esp_matter:: namespace to attribute_t (#10807)
SuGlider Jan 7, 2025
ed9a5d8
fix(udp): Add missing LwIP locks to init multicast (#10813)
me-no-dev Jan 7, 2025
30b97d1
fix(camera): Update resolutions and remove face detection (#10814)
me-no-dev Jan 7, 2025
efb3393
Add two more Adafruit Boards (Sparkle Motion & Sparkle Motion mini) (…
ladyada Jan 7, 2025
7cfe0ad
IDF release/v5.3 (#10816)
me-no-dev Jan 7, 2025
e305a48
feat(board): Add custom board Huidu HD-WF2/HD-WF4 - esp32-s3 HUB75 dr…
vortigont Jan 7, 2025
51ef2a1
fix(platform): Improve firmware size calculation (#10820)
me-no-dev Jan 7, 2025
c23c786
ESPmDNS: Add method for querying discovered service name (#10819)
stefan-sherwood Jan 7, 2025
2f423af
fix(zigbee): Fixes of timeout, example, warnings and bounding + add a…
P-R-O-C-H-Y Jan 8, 2025
8143717
fix(zigbee): Fixes in handlers, destructors and co2 sensor delta repo…
P-R-O-C-H-Y Jan 10, 2025
a81e2d4
fix(i2s): Check if pin is used before clearing bus (#10833)
P-R-O-C-H-Y Jan 10, 2025
4c36c89
fix(matter): serial print instead of log_i (#10842)
SuGlider Jan 13, 2025
0773dd7
Bugfix/include order (#10841)
SuGlider Jan 13, 2025
fcce93a
fix(example): Fix partition for PathArgServer
lucasssvaz Jan 13, 2025
01d9726
docs(discord): Replace Gitter links with Discord (#10852)
lucasssvaz Jan 14, 2025
2a2b81a
feat(zigbee): Add 2MB + 8MB partitions (#10864)
P-R-O-C-H-Y Jan 15, 2025
496b841
feat(esp32): Added a new device(xiao esp32s3 plus) (#10768)
is-qian Jan 21, 2025
7089c0a
fix(zigbee): Update esp-zigbee-sdk to 1.6.2 + necessary changes
P-R-O-C-H-Y Jan 21, 2025
15cbb1e
Add IAS Zone Notification Message service to ZigbeeHandlers and Zigbe…
lsroka76 Jan 27, 2025
2fecc48
fix(littlefs): Converted core disableWDT functions to bool (#10896)
lbernstone Jan 27, 2025
732a7cb
feat(zigbee): Add Time cluster support + fix of duplicate indentify c…
P-R-O-C-H-Y Jan 30, 2025
402ab56
fix(SPIFFS): Use new disableWDT bool return value (#10909)
TD-er Jan 30, 2025
f22866f
Update HTTPS certificate in BasicHttpsClient.ino (#10911)
blueskyson Jan 30, 2025
0302b4d
fix(logging): incorrect FPS logging (#10921)
TNeutron Jan 31, 2025
1c01fcd
fix(uart): fixed esp32s2 uart ci test case (#10926)
SuGlider Feb 4, 2025
2040cba
Update README.md to add ESP-SR (#10925)
akdeb Feb 4, 2025
6eb99d3
feat(zigbee): Add IAS Zone endpoints (Contact Switch + Door/Window Ha…
P-R-O-C-H-Y Feb 4, 2025
b385562
NetworkEvents allow stack size to be changed. (#10805)
thekurtovic Feb 4, 2025
8b31d1e
fix(ci): Disable some RainMaker examples on ESP32 (#10931)
me-no-dev Feb 4, 2025
6a11276
fix(ota): Make sure that ArduinoOTA.end() is called in the destructor…
me-no-dev Feb 4, 2025
db0bbad
Created Zigbee Endpoint for Window Covering. (#10914)
hennikul Feb 4, 2025
6fcaf69
fix(wifi): Make sure that esp-hosted events are propagated (#10939)
me-no-dev Feb 6, 2025
5ba4c21
fix(zigbee): Add default destructor and fix initialization of tm stru…
P-R-O-C-H-Y Feb 6, 2025
250c1ab
fix(i2s): Add missing initializer for I2S CLK config (#10963)
me-no-dev Feb 12, 2025
7b651b6
feat(cdc): Add support for two CDC ports at once (#10962)
me-no-dev Feb 13, 2025
6c3a49c
build(deps): bump cryptography from 43.0.1 to 44.0.1 in /tests (#10961)
dependabot[bot] Feb 13, 2025
83abca1
feat(zigbee): Add OTA client cluster support (#10946)
P-R-O-C-H-Y Feb 13, 2025
7f8c77f
feat(zigbee): Add vibration sensor endpoint (#10944)
P-R-O-C-H-Y Feb 13, 2025
606a404
IDF release/v5.3 (#10873)
me-no-dev Feb 13, 2025
fb6b788
feat(zigbee): Support HSV color commands for RGB light endpoint (#10959)
P-R-O-C-H-Y Feb 13, 2025
6fb55a7
feat(board): Update 3rd party board Huidu HD-WF2/HD-WF4 (#10957)
vortigont Feb 13, 2025
5488d5d
Fix crash when using String::move on empty string (#10938) (#10945)
TD-er Feb 13, 2025
6208239
Update core version to 3.1.2
me-no-dev Feb 13, 2025
a7907cd
Add the latest versions to issue report template
me-no-dev Feb 14, 2025
a4ecdb1
feat(zigbee): Bump esp-zigbee-sdk to 1.6.3
P-R-O-C-H-Y Feb 14, 2025
20e5e70
fix(boards): Delete removed Zigbee RCP mode
P-R-O-C-H-Y Feb 17, 2025
758cbd0
Fix crash in String when using nullptr (#10971) (#10972)
TD-er Feb 17, 2025
dbfde15
Update core version to 3.1.3
me-no-dev Feb 17, 2025
47343a4
feat(idf): Add support for IDF v5.4 (#10823)
me-no-dev Jan 8, 2025
50d85a6
fix(ci): Run CI against ESP-IDF v5.4
me-no-dev Jan 10, 2025
18cbd76
feat(eth): Add support for generic IEEE 802.3 driver (#10859)
me-no-dev Jan 15, 2025
f0cf3b1
feat(i2c): Add support for the new I2C driver in IDF v5.4 (#10858)
me-no-dev Jan 21, 2025
35feed5
Merge pull request #10832 from espressif/release/v3.2.x
me-no-dev Feb 18, 2025
783271b
Merge pull request #10890 from P-R-O-C-H-Y/libs/update-zigbee-1.6.2
me-no-dev Feb 18, 2025
8e9f7c3
IDF release/v5.4 e37d33cc (#10980)
me-no-dev Feb 18, 2025
55f4f1b
Update core version to 3.2.0
me-no-dev Feb 18, 2025
646785e
feat(LP_UART): Implements the ESP32-C6/ESP32-P4 Low Power UART as a p…
SuGlider Feb 18, 2025
5afafdf
fix(matter): commentaries and messages related to factory reset (#10988)
SuGlider Feb 19, 2025
eec2af3
feat(zigbee): Add range extender device endpoint (#10970)
P-R-O-C-H-Y Feb 19, 2025
978b441
test(wokwi): Add I2C Master test and enable GPIO and PSRAM tests (#10…
lucasssvaz Feb 19, 2025
cd95e40
ci(report): Add runtime tests report (#10764)
lucasssvaz Feb 19, 2025
9a783a5
feat(zigbee): Add Analog endpoint device (input, output, value cluste…
pwclay Feb 20, 2025
003db9e
Update pins_arduino.h (#11000)
SooDragon Feb 21, 2025
543a647
ci(test): Fix PSRAM test
lucasssvaz Feb 22, 2025
42bd745
ci(test): Fix GPIO test
lucasssvaz Feb 22, 2025
988dbe2
ci(test): Skip some PSRAM tests in P4
lucasssvaz Feb 22, 2025
39be694
ci(runners): Bump runner images version (#10960)
lucasssvaz Feb 25, 2025
164fcc6
fix(board): Update feathers3 wire1 pin definition (#11001)
ericlewis Feb 25, 2025
0c18b17
feat(boards): Add Geekble-nano-ESP32S3 (#11005)
SooDragon Feb 25, 2025
b33470e
IDF release/v5.4 (#10998)
me-no-dev Feb 25, 2025
c76c2ea
Update of Boards.txt & variants - Adding CYObot board - 3rd party boa…
mhpham23 Feb 25, 2025
1467d87
fix(zigbee): use correct pressure cluster function in setTolerance (#…
oddlama Feb 25, 2025
09d89c6
Fix HardwareSerial config (#11007)
gonzabrusco Feb 25, 2025
7485c65
ci(zigbee): Check if Zigbee is enabled for CI tests (#11012)
lucasssvaz Feb 25, 2025
923da95
feat(zigbee): Add ZigbeeGateway endpoint support + Time Cluster bugfi…
P-R-O-C-H-Y Feb 26, 2025
e3bcc58
ci(esp32p4): Add missing options for P4 (#11014)
lucasssvaz Feb 26, 2025
7575fa0
fix(zigbee): use correct carbon dioxide cluster function in setToler…
oddlama Feb 26, 2025
98ddb43
Tasmota changes
Jason2866 Feb 26, 2025
684a931
fix(bt): Compile error on ESP32-P4 (#11035)
iranl Mar 5, 2025
9e2f755
test(i2c): Add test to scan bus (#11022)
lucasssvaz Mar 5, 2025
deca95a
Merge branch 'espressif:master' into main
Jason2866 Mar 5, 2025
fb5f11b
feat(matter): necessary changes to insights version for esp_matter (#…
SuGlider Mar 7, 2025
61a12ee
Merge branch 'main' into merge
Jason2866 Mar 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ set(ARDUINO_LIBRARY_Zigbee_SRCS
libraries/Zigbee/src/ZigbeeHandlers.cpp
libraries/Zigbee/src/ep/ZigbeeColorDimmableLight.cpp
libraries/Zigbee/src/ep/ZigbeeColorDimmerSwitch.cpp
libraries/Zigbee/src/ep/ZigbeeDimmableLight.cpp
libraries/Zigbee/src/ep/ZigbeeLight.cpp
libraries/Zigbee/src/ep/ZigbeeSwitch.cpp
libraries/Zigbee/src/ep/ZigbeeTempSensor.cpp
Expand Down
68 changes: 68 additions & 0 deletions libraries/Zigbee/examples/Zigbee_Dimmable_Light/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Arduino-ESP32 Zigbee Dimmable Light Example

This example shows how to configure the Zigbee end device and use it as a Home Automation (HA) dimmable light.

# Supported Targets

Currently, this example supports the following targets.

| Supported Targets | ESP32-C6 | ESP32-H2 |
| ----------------- | -------- | -------- |

## Hardware Required

* A USB cable for power supply and programming
* Board (ESP32-H2 or ESP32-C6) as Zigbee end device and upload the Zigbee_Dimmable_Light example
* Zigbee network / coordinator (Other board with switch examples or Zigbee2mqtt or ZigbeeHomeAssistant like application)

### Configure the Project

Set the LED GPIO by changing the `LED_PIN` definition. By default, the LED_PIN is `RGB_BUILTIN`.

#### Using Arduino IDE

To get more information about the Espressif boards see [Espressif Development Kits](https://www.espressif.com/en/products/devkits).

* Before Compile/Verify, select the correct board: `Tools -> Board`.
* Select the End device Zigbee mode: `Tools -> Zigbee mode: Zigbee ED (end device)`
* Select Partition Scheme for Zigbee: `Tools -> Partition Scheme: Zigbee 4MB with spiffs`
* Select the COM port: `Tools -> Port: xxx` where the `xxx` is the detected COM port.
* Optional: Set debug level to verbose to see all logs from Zigbee stack: `Tools -> Core Debug Level: Verbose`.

## Troubleshooting

If the End device flashed with this example is not connecting to the coordinator, erase the flash of the End device before flashing the example to the board. It is recommended to do this if you re-flash the coordinator.
You can do the following:

* In the Arduino IDE go to the Tools menu and set `Erase All Flash Before Sketch Upload` to `Enabled`.
* Add to the sketch `Zigbee.factoryReset();` to reset the device and Zigbee stack.

By default, the coordinator network is closed after rebooting or flashing new firmware.
To open the network you have 2 options:

* Open network after reboot by setting `Zigbee.setRebootOpenNetwork(time);` before calling `Zigbee.begin();`.
* In application you can anytime call `Zigbee.openNetwork(time);` to open the network for devices to join.

***Important: Make sure you are using a good quality USB cable and that you have a reliable power source***

* **LED not blinking:** Check the wiring connection and the IO selection.
* **Programming Fail:** If the programming/flash procedure fails, try reducing the serial connection speed.
* **COM port not detected:** Check the USB cable and the USB to Serial driver installation.

If the error persists, you can ask for help at the official [ESP32 forum](https://esp32.com) or see [Contribute](#contribute).

## Contribute

To know how to contribute to this project, see [How to contribute.](https://github.com/espressif/arduino-esp32/blob/master/CONTRIBUTING.rst)

If you have any **feedback** or **issue** to report on this example/library, please open an issue or fix it by creating a new PR. Contributions are more than welcome!

Before creating a new issue, be sure to try Troubleshooting and check if the same issue was already created by someone else.

## Resources

* Official ESP32 Forum: [Link](https://esp32.com)
* Arduino-ESP32 Official Repository: [espressif/arduino-esp32](https://github.com/espressif/arduino-esp32)
* ESP32-C6 Datasheet: [Link to datasheet](https://www.espressif.com/sites/default/files/documentation/esp32-c6_datasheet_en.pdf)
* ESP32-H2 Datasheet: [Link to datasheet](https://www.espressif.com/sites/default/files/documentation/esp32-h2_datasheet_en.pdf)
* Official ESP-IDF documentation: [ESP-IDF](https://idf.espressif.com)
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
// Copyright 2024 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at

// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

/**
* @brief This example demonstrates Zigbee Dimmable light bulb.
*
* The example demonstrates how to use Zigbee library to create an end device with
* dimmable light end point.
* The light bulb is a Zigbee end device, which is controlled by a Zigbee coordinator.
*
* Proper Zigbee mode must be selected in Tools->Zigbee mode
* and also the correct partition scheme must be selected in Tools->Partition Scheme.
*
* Please check the README.md for instructions and more detailed description.
*
* Created by [FaBjE](https://github.com/FaBjE) based on examples by [Jan Procházka](https://github.com/P-R-O-C-H-Y/)
*/

#ifndef ZIGBEE_MODE_ED
#error "Zigbee end device mode is not selected in Tools->Zigbee mode"
#endif

#include "Zigbee.h"

/* Zigbee dimmable light configuration */
#define ZIGBEE_LIGHT_ENDPOINT 10
uint8_t led = RGB_BUILTIN;
uint8_t button = BOOT_PIN;

ZigbeeDimmableLight zbDimmableLight = ZigbeeDimmableLight(ZIGBEE_LIGHT_ENDPOINT);

/********************* RGB LED functions **************************/
void setLight(bool state, uint8_t level) {
if (!state) {
rgbLedWrite(led, 0, 0, 0);
return;
}
rgbLedWrite(led, level, level, level);
}

// Create a task on identify call to handle the identify function
void identify(uint16_t time) {
static uint8_t blink = 1;
log_d("Identify called for %d seconds", time);
if (time == 0) {
// If identify time is 0, stop blinking and restore light as it was used for identify
zbDimmableLight.restoreLight();
return;
}
rgbLedWrite(led, 255 * blink, 255 * blink, 255 * blink);
blink = !blink;
}

/********************* Arduino functions **************************/
void setup() {
Serial.begin(115200);

// Init RMT and leave light OFF
rgbLedWrite(led, 0, 0, 0);

// Init button for factory reset
pinMode(button, INPUT_PULLUP);

// Set callback function for light change
zbDimmableLight.onLightChange(setLight);

// Optional: Set callback function for device identify
zbDimmableLight.onIdentify(identify);

// Optional: Set Zigbee device name and model
zbDimmableLight.setManufacturerAndModel("Espressif", "ZBLightBulb");

// Add endpoint to Zigbee Core
Serial.println("Adding ZigbeeLight endpoint to Zigbee Core");
Zigbee.addEndpoint(&zbDimmableLight);

// When all EPs are registered, start Zigbee in End Device mode
if (!Zigbee.begin()) {
Serial.println("Zigbee failed to start!");
Serial.println("Rebooting...");
ESP.restart();
}
Serial.println("Connecting to network");
while (!Zigbee.connected()) {
Serial.print(".");
delay(100);
}
Serial.println();
}

void loop() {
// Checking button for factory reset
if (digitalRead(button) == LOW) { // Push button pressed
// Key debounce handling
delay(100);
int startTime = millis();
while (digitalRead(button) == LOW) {
delay(50);
if ((millis() - startTime) > 3000) {
// If key pressed for more than 3secs, factory reset Zigbee and reboot
Serial.println("Resetting Zigbee to factory and rebooting in 1s.");
delay(1000);
Zigbee.factoryReset();
}
}
// Increase blightness by 50 every time the button is pressed
zbDimmableLight.setLightLevel(zbDimmableLight.getLightLevel() + 50);
}
delay(100);
}
6 changes: 6 additions & 0 deletions libraries/Zigbee/examples/Zigbee_Dimmable_Light/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"fqbn_append": "PartitionScheme=zigbee,ZigbeeMode=ed",
"requires": [
"CONFIG_SOC_IEEE802154_SUPPORTED=y"
]
}
1 change: 1 addition & 0 deletions libraries/Zigbee/src/Zigbee.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
// Endpoints
#include "ep/ZigbeeLight.h"
#include "ep/ZigbeeSwitch.h"
#include "ep/ZigbeeDimmableLight.h"
#include "ep/ZigbeeColorDimmableLight.h"
#include "ep/ZigbeeColorDimmerSwitch.h"
#include "ep/ZigbeeTempSensor.h"
Expand Down
103 changes: 103 additions & 0 deletions libraries/Zigbee/src/ep/ZigbeeDimmableLight.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@

#include "ZigbeeDimmableLight.h"
#if SOC_IEEE802154_SUPPORTED && CONFIG_ZB_ENABLED

#include "esp_zigbee_cluster.h"

ZigbeeDimmableLight::ZigbeeDimmableLight(uint8_t endpoint) : ZigbeeEP(endpoint) {
_device_id = ESP_ZB_HA_DIMMABLE_LIGHT_DEVICE_ID;

zigbee_dimmable_light_cfg_t light_cfg = ZIGBEE_DEFAULT_DIMMABLE_LIGHT_CONFIG();
_cluster_list = zigbee_dimmable_light_clusters_create(&light_cfg);

_ep_config = {.endpoint = _endpoint, .app_profile_id = ESP_ZB_AF_HA_PROFILE_ID, .app_device_id = ESP_ZB_HA_DIMMABLE_LIGHT_DEVICE_ID, .app_device_version = 0};

// set default values
_current_state = false;
_current_level = 255;
}

// set attribute method -> method overridden in child class
void ZigbeeDimmableLight::zbAttributeSet(const esp_zb_zcl_set_attr_value_message_t *message) {
// check the data and call right method
if (message->info.cluster == ESP_ZB_ZCL_CLUSTER_ID_ON_OFF) {
if (message->attribute.id == ESP_ZB_ZCL_ATTR_ON_OFF_ON_OFF_ID && message->attribute.data.type == ESP_ZB_ZCL_ATTR_TYPE_BOOL) {
if (_current_state != *(bool *)message->attribute.data.value) {
_current_state = *(bool *)message->attribute.data.value;
lightChanged();
}
return;
} else {
log_w("Received message ignored. Attribute ID: %d not supported for On/Off Light", message->attribute.id);
}
} else if (message->info.cluster == ESP_ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL) {
if (message->attribute.id == ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID && message->attribute.data.type == ESP_ZB_ZCL_ATTR_TYPE_U8) {
if (_current_level != *(uint8_t *)message->attribute.data.value) {
_current_level = *(uint8_t *)message->attribute.data.value;
lightChanged();
}
return;
} else {
log_w("Received message ignored. Attribute ID: %d not supported for Level Control", message->attribute.id);
// TODO: implement more attributes -> includes/zcl/esp_zigbee_zcl_level.h
}
} else {
log_w("Received message ignored. Cluster ID: %d not supported for dimmable Light", message->info.cluster);
}
}

void ZigbeeDimmableLight::lightChanged() {
if (_on_light_change) {
_on_light_change(_current_state, _current_level);
}
}

void ZigbeeDimmableLight::setLight(bool state, uint8_t level) {
// Update all attributes
_current_state = state;
_current_level = level;
lightChanged();

log_v("Updating on/off light state to %d", state);
/* Update light clusters */
esp_zb_lock_acquire(portMAX_DELAY);
// set on/off state
esp_zb_zcl_set_attribute_val(
_endpoint, ESP_ZB_ZCL_CLUSTER_ID_ON_OFF, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE, ESP_ZB_ZCL_ATTR_ON_OFF_ON_OFF_ID, &_current_state, false
);
// set level
esp_zb_zcl_set_attribute_val(
_endpoint, ESP_ZB_ZCL_CLUSTER_ID_LEVEL_CONTROL, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE, ESP_ZB_ZCL_ATTR_LEVEL_CONTROL_CURRENT_LEVEL_ID, &_current_level, false
);
esp_zb_lock_release();
}

void ZigbeeDimmableLight::setLightState(bool state) {
setLight(state, _current_level);
}

void ZigbeeDimmableLight::setLightLevel(uint8_t level) {
setLight(_current_state, level);
}

esp_zb_cluster_list_t *ZigbeeDimmableLight::zigbee_dimmable_light_clusters_create(zigbee_dimmable_light_cfg_t *light_cfg) {
esp_zb_attribute_list_t *esp_zb_basic_cluster = esp_zb_basic_cluster_create(&light_cfg->basic_cfg);
esp_zb_attribute_list_t *esp_zb_identify_cluster = esp_zb_identify_cluster_create(&light_cfg->identify_cfg);
esp_zb_attribute_list_t *esp_zb_groups_cluster = esp_zb_groups_cluster_create(&light_cfg->groups_cfg);
esp_zb_attribute_list_t *esp_zb_scenes_cluster = esp_zb_scenes_cluster_create(&light_cfg->scenes_cfg);
esp_zb_attribute_list_t *esp_zb_on_off_cluster = esp_zb_on_off_cluster_create(&light_cfg->on_off_cfg);
esp_zb_attribute_list_t *esp_zb_level_cluster = esp_zb_level_cluster_create(&light_cfg->level_cfg);

// ------------------------------ Create cluster list ------------------------------
esp_zb_cluster_list_t *esp_zb_cluster_list = esp_zb_zcl_cluster_list_create();
esp_zb_cluster_list_add_basic_cluster(esp_zb_cluster_list, esp_zb_basic_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
esp_zb_cluster_list_add_identify_cluster(esp_zb_cluster_list, esp_zb_identify_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
esp_zb_cluster_list_add_groups_cluster(esp_zb_cluster_list, esp_zb_groups_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
esp_zb_cluster_list_add_scenes_cluster(esp_zb_cluster_list, esp_zb_scenes_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
esp_zb_cluster_list_add_on_off_cluster(esp_zb_cluster_list, esp_zb_on_off_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);
esp_zb_cluster_list_add_level_cluster(esp_zb_cluster_list, esp_zb_level_cluster, ESP_ZB_ZCL_CLUSTER_SERVER_ROLE);

return esp_zb_cluster_list;
}

#endif // SOC_IEEE802154_SUPPORTED
Loading