Skip to content
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

Sonoff ZBMINIR2 missing commandToggle #8018

Closed
ius opened this issue Sep 23, 2024 · 1 comment
Closed

Sonoff ZBMINIR2 missing commandToggle #8018

ius opened this issue Sep 23, 2024 · 1 comment

Comments

@ius
Copy link

ius commented Sep 23, 2024

Sonoff ZBMINIR2 by reports genOnOff On/Off commands when the external relay is switched (via Zigbee or the external switch).

With detach_relay_mode: true configured the external switch will no longer activate the relay - it will send a genOnOff Toggle command instead. This is missing in the device converter.

zh:controller: Received payload: clusterID=6, address=7928, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=15, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"manufacturerCode":null,"transactionSequenceNumber":59,"commandIdentifier":2},"payload":{},"command":{"ID":2,"parameters":[],"name":"toggle"}}
zh:controller:endpoint: ZCL command 0xd44867fffe325778/1 genOnOff.defaultRsp({"cmdId":2,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":59,"writeUndiv":false})
zh:zstack: sendZclFrameToEndpointInternal 0xd44867fffe325778:7928/1 (0,0,1)
zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":7928,"destendpoint":1,"srcendpoint":1,"clusterid":6,"transid":108,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,59,11,2,0]}}
zh:zstack:unpi:writer: --> frame [254,15,36,1,248,30,1,1,6,0,108,0,30,5,24,59,11,2,0,151]
zh:zstack:unpi:parser: --- parseNext []
z2m: Received Zigbee message from 'zbminir2_slpk', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
z2m: No converter available for 'ZBMINIR2' with cluster 'genOnOff' and type 'commandToggle' and data '{}'

(Observed on v19.72.0 but it doesn't appear fixed on master)

Notify: @liubotongs as primary author for ZBMINIR2 support

@Koenkk
Copy link
Owner

Koenkk commented Sep 24, 2024

Added!

Changes will be available in the dev branch in a few hours from now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants