-
Notifications
You must be signed in to change notification settings - Fork 45
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
OnOff: Off With Effect message from coordinator gets a Default Response Invalid Field (0x85) from my device. (TZ-1233) #457
Comments
I’ve been working on the exact same approach and encountered the same outcome as described. |
I think this issue is triggered by the missing optional
More details for them can refer to the On/Off section of ZCL spec. |
@xieqinan That did the trick, thank you! Reviewing the spec, I do see that I overlooked these indirect references in 3.8.2.3.4.3:
I'm curious though: Is Regardless, I'll close this issue as complete, with my thanks. If you think the response should be changed, I'm happy to open a new issue. Thanks again! |
Answers checklist.
IDF version.
v5.3
esp-zigbee-lib version.
1.5.0
esp-zboss-lib version.
1.5.0
Espressif SoC revision.
ESP32-H2
What is the expected behavior?
The message should be passed to the attribute_handler.
What is the actual behavior?
Device replies to coordinator with Default Response (0x0b) Invalid Field (0x85)
Steps to reproduce.
NETWORK KEY: 6c:60:0a:40:c5:04:9a:b47f:0b:e9:62:17:4b:08:4b
off_with_effect-default_response.pcapng.zip
More Information.
I'm running a slightly modified version of the HA_Color_Dimmable_Light example @xieqinan has posted in other issues. It connects to my Philips Hue hub no problem, the light is added properly.
On commands (0x01) to the On/Off Cluster work fine.
Philips Hue uses
Off with effect (0x40)
with an Effect ID ofDelayed All Off (0x00)
, and an Effect Variant ofFade to off in 0.8 seconds (0x00)
which looks in-spec, but the command doesn't get to Attribute Handler, and the device responds withDefault Response (0x0b) - Invalid Field (0x85)
Attaching the debug output, apologies I don't have the familiarity with this to isolate the relevant messages so just including it all. debug_output.txt
Does anything jump out? From as best as I can tell, the Off_with_effect message doesn't have any invalid fields.
From reading the docs, it looks like this command is supported.
The text was updated successfully, but these errors were encountered: