-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
feat(zigbee): Add Zigbee library #10265
feat(zigbee): Add Zigbee library #10265
Conversation
Fixed ep_thermostat to compile successfully Removed cb from all EP, as it have been removed, virtual methods will be used instead. Moved zigbee handlers out of Zigbee_core to Zigbee_handlers for better readability. Fixed zigbeeInit to be bool and return status of initialization for begin function. Updated examples with edited roles and custom method for on_off light
Implemented basic function calls of switch commands to on/off light: lightToggle, lightOn, lightOff, ... Implemented virtual methods for on/off light that have to be override in user code: setOnOff, sceneControl, setOnOffTime, setOffWaitTime APIs can be changed, still early development.
Implemented Factory reset of Zigbee device, in order to connect to new network without reflashing/erasing flash Implemented optional setting for Manufacturer and Model names Added option to allow endpoint to have multiple endpoint connected -> switch - 2 lights (tested) Minor sketches update
Implemented easy transfer from device it to Device type (0x0000 = ESP_ZB_HA_ON_OFF_SWITCH_DEVICE_ID -> "General On/Off switch".
Implemeted color dimmable light and color dimmer switch HA devices + examples. Removed unnecessary stored attribute cluster Renamed on/off light and switch examples
Implemented Zigbee network scanning (async) to mostly match WiFi scan APIs. Added Zigbee_Scan_Networks example
Implemeted thermostat and temperature sensor HA devices + examples. Implemented configure report handler. Updated READMEs and description of examples. Minor code updates
Simplified bounded device print as the structure is common for any EP type Allowed setting custom app version for EP, default is 0 Small fixes and code updates
👋 Hello P-R-O-C-H-Y, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
Test Results 41 files - 74 41 suites - 74 3m 13s ⏱️ - 1h 33m 7s Results for commit 44f5522. ± Comparison against base commit 84ddf0a. This pull request removes 6 tests.
♻️ This comment has been updated with latest results. |
First like the great work you are doing! |
e6f2769
to
7693a16
Compare
libraries/Zigbee/examples/Zigbee_Temperature_Sensor/Zigbee_Temperature_Sensor.ino
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice. Looks very intuitive to use. Just some small suggestions. BTW. Shouldn't this target branch release/v3.1.x
according to what was presented in the community meeting ?
Co-authored-by: Lucas Saavedra Vaz <32426024+lucasssvaz@users.noreply.github.com>
libraries/Zigbee/examples/Zigbee_On_Off_Light/Zigbee_On_Off_Light.ino
Outdated
Show resolved
Hide resolved
libraries/Zigbee/examples/Zigbee_On_Off_Light/Zigbee_On_Off_Light.ino
Outdated
Show resolved
Hide resolved
much cleaner now :) just one small nitpick for the on/off light |
f41a01e
to
6e56936
Compare
@me-no-dev Should I change the target branch to 3.1? |
I see no reason why not to have it in the 3.0 if we decide to publish another version |
4c4313a
to
3961642
Compare
8c15603
to
172dd0f
Compare
172dd0f
to
7d763df
Compare
Description of Change
Introducing Zigbee Arduino library (wrapper for esp-zigbee-sdk).
Tests scenarios
Locally with all included examples.
Related links
Relates to issue #10135
ZB_STRUCT warnings fix espressif/esp-zigbee-sdk#416