-
Notifications
You must be signed in to change notification settings - Fork 25
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
ESP_ZB_ZCL_CMD_ON_OFF_ON_WITH_TIMED_OFF_ID command not working (TZ-559) #212
Comments
Hi @Suxsem, I stumble upon the same problem as you and found a workaround. I give you my code just to help you meanwhile a better support is provided. The code to setup stuff in esp_zb_task is:
The code for zb_privileged_cmd_handler is bellow. It just print the received data as a POC, you'll have to create the appropriate struct to get data.
For information, I have a pending issue on how to send such commands from the SDK, which seems currently unsupported: #209 |
thank you @g-chevalier, |
The esp-zigbee-sdk will support the on_with_time_off command in the subsequenct version, thanks for your patience. |
Hello, The issue has been fixed in esp-zigbee-sdk v1.1.2. |
Answers checklist.
IDF version.
5.1.2
esp-zigbee-lib version.
0.9.5
esp-zboss-lib version.
0.7.2
Espressif SoC revision.
ESP32-C6
What is the expected behavior?
I'm trying to develop a smart switch with an auto timer off feature.
My goal is to use the
On With Timed Off Command
in order to achieve this.I have registered the onOff cluster:
and when I issue a "On command", the
zb_action_handler
callback is called with callback_id = ESP_ZB_CORE_SET_ATTR_VALUE_CB_ID, but when I issue the "On With Timed Off Command" the callback is not called at all.How am I supposed to implement the command? Thank you
What is the actual behavior?
zb_action_handler not called when
On With Timed Off Command
is received.Steps to reproduce.
On With Timed Off Command
to the device.More Information.
No response
The text was updated successfully, but these errors were encountered: