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

[New device support]: Zemismart Tuya Zigbee 4 Gang Wireless Scene Push Button Portable Switch App Control Battery Powered ZMR4 #23187

Closed
MiAutomations opened this issue Jun 28, 2024 · 21 comments
Labels
new device support New device support request

Comments

@MiAutomations
Copy link

Link

https://www.zemismart.com/products/zmr4

Database entry

{"id":166,"type":"EndDevice","ieeeAddr":"0x881a14fffeb63b62","nwkAddr":52639,"manufId":4098,"manufName":"_TZ3000_11pg3ima","powerSource":"Battery","modelId":"TS004F","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":260,"inClusterList":[0,1,3,4,6,4096],"outClusterList":[25,10,3,4,5,6,8,4096],"clusters":{"genBasic":{"attributes":{"modelId":"TS004F","manufacturerName":"_TZ3000_11pg3ima","powerSource":3,"zclVersion":3,"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":65,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{},"lastSeen":1719558560094}

Comments

I tried to add this device to the Z2M without success. The device appears in the lista as not supported

Can you please include this device as a supported device?

Thank you for your support in advance

External definition

const {battery, identify, onOff, commandsOnOff, commandsLevelCtrl} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['TS004F'],
    model: 'TS004F',
    vendor: '_TZ3000_11pg3ima',
    description: 'Automatically generated definition',
    extend: [battery(), identify(), onOff({"powerOnBehavior":false}), commandsOnOff(), commandsLevelCtrl()],
    meta: {},
};

module.exports = definition;
@MiAutomations MiAutomations added the new device support New device support request label Jun 28, 2024
@caduvalsesia
Copy link

The device is now shown as compatible, but none of the button actions work yet.

@smartmatic
Copy link

Same on my side. Will that issue fixed with the next release?

@rodrigosiviero
Copy link

Same on my side, _TZ3000_11pg3ima say its unsupported.

@Koenkk
Copy link
Owner

Koenkk commented Sep 2, 2024

Could you provide the debug log when trigger actions on this device?

See this on how to enable debug logging.

@rodrigosiviero
Copy link

rodrigosiviero commented Sep 2, 2024

Could you provide the debug log when trigger actions on this device?

See this on how to enable debug logging.

Here's me triggering all four buttons:

Debug 2024-09-02 18:08:20Skipping message, still interviewing
Debug 2024-09-02 18:08:21Received Zigbee message from '0x28dba7fffe4aec22', type 'commandOff', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Debug 2024-09-02 18:08:21Skipping message, still interviewing
Debug 2024-09-02 18:08:22Received Zigbee message from '0x28dba7fffe4aec22', type 'commandStep', cluster 'genLevelCtrl', data '{"stepmode":0,"stepsize":51,"transtime":10}' from endpoint 1 with groupID 0
Debug 2024-09-02 18:08:22Skipping message, still interviewing
Debug 2024-09-02 18:08:22Received Zigbee message from '0x28dba7fffe4aec22', type 'commandStep', cluster 'genLevelCtrl', data '{"stepmode":1,"stepsize":51,"transtime":10}' from endpoint 1 with groupID 0
Debug 2024-09-02 18:08:22Skipping message, still interviewing`


![image](https://github.com/user-attachments/assets/bac233c2-78c0-444b-b698-2b178be62816)

@caduvalsesia
Copy link

This happens when I press the button1 1 time.

debug 2024-09-02 18:20:26zh:zstack:unpi:parser: <-- [254,23,68,129,0,0,6,0,176,34,1,1,0,98,0,220,217,120,0,0,3,1,52,1,176,34,11,247]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --- parseNext [254,23,68,129,0,0,6,0,176,34,1,1,0,98,0,220,217,120,0,0,3,1,52,1,176,34,11,247]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --> parsed 23 - 2 - 4 - 129 - [0,0,6,0,176,34,1,1,0,98,0,220,217,120,0,0,3,1,52,1,176,34,11] - 247
debug 2024-09-02 18:20:26zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":6,"srcaddr":8880,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":7920092,"transseqnumber":0,"len":3,"data":{"type":"Buffer","data":[1,52,1]}}
debug 2024-09-02 18:20:26zh:controller: Received payload: clusterID=6, address=8880, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":52,"commandIdentifier":1},"payload":{},"command":{"ID":1,"parameters":[],"name":"on"}}
debug 2024-09-02 18:20:26zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genOnOff.defaultRsp({"cmdId":1,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":52,"writeUndiv":false})
debug 2024-09-02 18:20:26zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:8880/1 (0,0,1)
debug 2024-09-02 18:20:26zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":8880,"destendpoint":1,"srcendpoint":1,"clusterid":6,"transid":7,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,52,11,1,0]}}
debug 2024-09-02 18:20:26zh:zstack:unpi:writer: --> frame [254,15,36,1,176,34,1,1,6,0,7,0,30,5,24,52,11,1,0,132]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-02 18:20:26z2m: Received Zigbee message from '0x28dba7fffe45580d', type 'commandOn', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
debug 2024-09-02 18:20:26z2m: No converter available for 'ZMR4' with cluster 'genOnOff' and type 'commandOn' and data '{}'
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-02 18:20:26zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,7,193]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,7,193]
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,7] - 193
debug 2024-09-02 18:20:26zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":7}
debug 2024-09-02 18:20:26zh:zstack:unpi:parser: --- parseNext []

This happens when I press the button3 1 time.
ebug 2024-09-02 18:22:42zh:zstack:unpi:parser: <-- [254,27,68,129,0,0,8,0,176,34,1,1,0,98,0,103,99,10,0,0,7,1,57,2,0,51,10,0,176,34,11,181,254,27,68,129,0,0,1,0,176,34,1,1,0,98,0,117,100,10,0,0,7,8,58,10,33,0,32,200,176,34,29,77]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext [254,27,68,129,0,0,8,0,176,34,1,1,0,98,0,103,99,10,0,0,7,1,57,2,0,51,10,0,176,34,11,181,254,27,68,129,0,0,1,0,176,34,1,1,0,98,0,117,100,10,0,0,7,8,58,10,33,0,32,200,176,34,29,77]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --> parsed 27 - 2 - 4 - 129 - [0,0,8,0,176,34,1,1,0,98,0,103,99,10,0,0,7,1,57,2,0,51,10,0,176,34,11] - 181
debug 2024-09-02 18:22:42zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":8,"srcaddr":8880,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":680807,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[1,57,2,0,51,10,0]}}
debug 2024-09-02 18:22:42zh:controller: Received payload: clusterID=8, address=8880, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":57,"commandIdentifier":2},"payload":{"stepmode":0,"stepsize":51,"transtime":10},"command":{"ID":2,"parameters":[{"name":"stepmode","type":32},{"name":"stepsize","type":32},{"name":"transtime","type":33}],"name":"step"}}
debug 2024-09-02 18:22:42zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genLevelCtrl.defaultRsp({"cmdId":2,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":57,"writeUndiv":false})
debug 2024-09-02 18:22:42zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:8880/1 (0,0,1)
debug 2024-09-02 18:22:42zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":8880,"destendpoint":1,"srcendpoint":1,"clusterid":8,"transid":24,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,57,11,2,0]}}
debug 2024-09-02 18:22:42zh:zstack:unpi:writer: --> frame [254,15,36,1,176,34,1,1,8,0,24,0,30,5,24,57,11,2,0,155]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext [254,27,68,129,0,0,1,0,176,34,1,1,0,98,0,117,100,10,0,0,7,8,58,10,33,0,32,200,176,34,29,77]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --> parsed 27 - 2 - 4 - 129 - [0,0,1,0,176,34,1,1,0,98,0,117,100,10,0,0,7,8,58,10,33,0,32,200,176,34,29] - 77
debug 2024-09-02 18:22:42zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":1,"srcaddr":8880,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":681077,"transseqnumber":0,"len":7,"data":{"type":"Buffer","data":[8,58,10,33,0,32,200]}}
debug 2024-09-02 18:22:42zh:controller: Received payload: clusterID=1, address=8880, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":58,"commandIdentifier":10},"payload":[{"attrId":33,"dataType":32,"attrData":200}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
debug 2024-09-02 18:22:42zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genPowerCfg.defaultRsp({"cmdId":10,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":58,"writeUndiv":false})
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-02 18:22:42z2m: Received Zigbee message from '0x28dba7fffe45580d', type 'commandStep', cluster 'genLevelCtrl', data '{"stepmode":0,"stepsize":51,"transtime":10}' from endpoint 1 with groupID 0
debug 2024-09-02 18:22:42z2m: No converter available for 'ZMR4' with cluster 'genLevelCtrl' and type 'commandStep' and data '{"stepmode":0,"stepsize":51,"transtime":10}'
debug 2024-09-02 18:22:42z2m: Received Zigbee message from '0x28dba7fffe45580d', type 'attributeReport', cluster 'genPowerCfg', data '{"batteryPercentageRemaining":200}' from endpoint 1 with groupID 0
info 2024-09-02 18:22:42z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x28dba7fffe45580d', payload '{"action":null,"battery":100,"linkquality":98}'
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-02 18:22:42zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,24,222]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,24,222]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,24] - 222
debug 2024-09-02 18:22:42zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":24}
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-02 18:22:42zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:8880/1 (0,0,1)
debug 2024-09-02 18:22:42zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":8880,"destendpoint":1,"srcendpoint":1,"clusterid":1,"transid":25,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,58,11,10,0]}}
debug 2024-09-02 18:22:42zh:zstack:unpi:writer: --> frame [254,15,36,1,176,34,1,1,1,0,25,0,30,5,24,58,11,10,0,152]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-02 18:22:42zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,25,223]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,25,223]
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,25] - 223
debug 2024-09-02 18:22:42zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":25}
debug 2024-09-02 18:22:42zh:zstack:unpi:parser: --- parseNext []

@Koenkk
Copy link
Owner

Koenkk commented Sep 3, 2024

  • @rodrigosiviero the interview failed in your case, try re-pairing it
  • @caduvalsesia could you provide a screenshot of the z2m frontend -> device about tab?

@caduvalsesia
Copy link

Of course, here's the screenshot.
Thanks.
Captura de Tela 2024-09-03 às 15 56 09

@smartmatic
Copy link

smartmatic commented Sep 4, 2024

this

I've also created a debug log. Interview is finished but button press does not yet work. Hope that helps?

ZMR4 Debug.log

@rodrigosiviero
Copy link

rodrigosiviero commented Sep 4, 2024

  • @rodrigosiviero the interview failed in your case, try re-pairing it
  • @caduvalsesia could you provide a screenshot of the z2m frontend -> device about tab?

edit: I was with a previous z2m img by mistake, now with latest 1.4.0 I have same behaviour as everyone, button presses doesnt work.

@Koenkk
Copy link
Owner

Koenkk commented Sep 5, 2024

@Burki24 since you added the ZMR4 in Koenkk/zigbee-herdsman-converters#7734, can you check wether it correctly sends the actions? It seems we need to use the standard definition instead (https://github.com/Koenkk/zigbee-herdsman-converters/blob/4a81f8cf5ea7e1562b1b337a1c4360ae378ea071/src/devices/tuya.ts#L3077)

@caduvalsesia can you check if the device works after:

  • Stop Z2M
  • Open data/database.db with a text editor and change all occurrences of _TZ3000_11pg3ima to _TZ3000_nuombroo
  • Start Z2M and see if the device now works

@caduvalsesia
Copy link

It works, but incorrectly, only when we press 1 time, it shows what is in the image.
If we press twice or hold, it doesn't do anything.
Captura de Tela 2024-09-05 às 11 44 35

@Koenkk
Copy link
Owner

Koenkk commented Sep 5, 2024

@caduvalsesia could you provide the debug log when triggering it twice?

@caduvalsesia
Copy link

The double press and hold options only worked with buttons 3 and 4.

Here I press button 3 twice.

debug 2024-09-05 14:01:11zh:zstack:unpi:parser: <-- [254,32,68,129,0,0,0,3,228,7,1,1,0,87,0,246,249,154,0,0,12,1,104,76,1,50,0,10,0,153,0,244,1,228,7,11,83]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --- parseNext [254,32,68,129,0,0,0,3,228,7,1,1,0,87,0,246,249,154,0,0,12,1,104,76,1,50,0,10,0,153,0,244,1,228,7,11,83]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --> parsed 32 - 2 - 4 - 129 - [0,0,0,3,228,7,1,1,0,87,0,246,249,154,0,0,12,1,104,76,1,50,0,10,0,153,0,244,1,228,7,11] - 83
debug 2024-09-05 14:01:11zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":768,"srcaddr":2020,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":87,"securityuse":0,"timestamp":10156534,"transseqnumber":0,"len":12,"data":{"type":"Buffer","data":[1,104,76,1,50,0,10,0,153,0,244,1]}}
debug 2024-09-05 14:01:11zh:controller: Received payload: clusterID=768, address=2020, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=87, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":104,"commandIdentifier":76},"payload":{"stepmode":1,"stepsize":50,"transtime":10,"minimum":153,"maximum":500},"command":{"ID":76,"parameters":[{"name":"stepmode","type":32},{"name":"stepsize","type":33},{"name":"transtime","type":33},{"name":"minimum","type":33},{"name":"maximum","type":33}],"name":"stepColorTemp"}}
debug 2024-09-05 14:01:11zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 lightingColorCtrl.defaultRsp({"cmdId":76,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":104,"writeUndiv":false})
debug 2024-09-05 14:01:11zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:2020/1 (0,0,1)
debug 2024-09-05 14:01:11zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":2020,"destendpoint":1,"srcendpoint":1,"clusterid":768,"transid":157,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,104,11,76,0]}}
debug 2024-09-05 14:01:11zh:zstack:unpi:writer: --> frame [254,15,36,1,228,7,1,1,0,3,157,0,30,5,24,104,11,76,0,123]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:01:11z2m: Received Zigbee message from 'int4_zemis', type 'commandStepColorTemp', cluster 'lightingColorCtrl', data '{"maximum":500,"minimum":153,"stepmode":1,"stepsize":50,"transtime":10}' from endpoint 1 with groupID 0
debug 2024-09-05 14:01:11z2m: No converter available for 'TS004F' with cluster 'lightingColorCtrl' and type 'commandStepColorTemp' and data '{"maximum":500,"minimum":153,"stepmode":1,"stepsize":50,"transtime":10}'
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-05 14:01:11zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,157,91]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,157,91]
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,157] - 91
debug 2024-09-05 14:01:11zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":157}
debug 2024-09-05 14:01:11zh:zstack:unpi:parser: --- parseNext []

Here I press button 4 twice.
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: <-- [254,32,68,129,0,0,0,3,228,7,1,1,0,80,0,42,247,215,0,0,12,1,105,76,3,50,0,10,0,153,0,244,1,228,7,11,200]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --- parseNext [254,32,68,129,0,0,0,3,228,7,1,1,0,80,0,42,247,215,0,0,12,1,105,76,3,50,0,10,0,153,0,244,1,228,7,11,200]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --> parsed 32 - 2 - 4 - 129 - [0,0,0,3,228,7,1,1,0,80,0,42,247,215,0,0,12,1,105,76,3,50,0,10,0,153,0,244,1,228,7,11] - 200
debug 2024-09-05 14:02:15zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":768,"srcaddr":2020,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":80,"securityuse":0,"timestamp":14153514,"transseqnumber":0,"len":12,"data":{"type":"Buffer","data":[1,105,76,3,50,0,10,0,153,0,244,1]}}
debug 2024-09-05 14:02:15zh:controller: Received payload: clusterID=768, address=2020, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=80, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":105,"commandIdentifier":76},"payload":{"stepmode":3,"stepsize":50,"transtime":10,"minimum":153,"maximum":500},"command":{"ID":76,"parameters":[{"name":"stepmode","type":32},{"name":"stepsize","type":33},{"name":"transtime","type":33},{"name":"minimum","type":33},{"name":"maximum","type":33}],"name":"stepColorTemp"}}
debug 2024-09-05 14:02:15zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 lightingColorCtrl.defaultRsp({"cmdId":76,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":105,"writeUndiv":false})
debug 2024-09-05 14:02:15zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:2020/1 (0,0,1)
debug 2024-09-05 14:02:15zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":2020,"destendpoint":1,"srcendpoint":1,"clusterid":768,"transid":160,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,105,11,76,0]}}
debug 2024-09-05 14:02:15zh:zstack:unpi:writer: --> frame [254,15,36,1,228,7,1,1,0,3,160,0,30,5,24,105,11,76,0,71]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:15z2m: Received Zigbee message from 'int4_zemis', type 'commandStepColorTemp', cluster 'lightingColorCtrl', data '{"maximum":500,"minimum":153,"stepmode":3,"stepsize":50,"transtime":10}' from endpoint 1 with groupID 0
debug 2024-09-05 14:02:15z2m: No converter available for 'TS004F' with cluster 'lightingColorCtrl' and type 'commandStepColorTemp' and data '{"maximum":500,"minimum":153,"stepmode":3,"stepsize":50,"transtime":10}'
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-05 14:02:15zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,160,102]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,160,102]
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,160] - 102
debug 2024-09-05 14:02:15zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":160}
debug 2024-09-05 14:02:15zh:zstack:unpi:parser: --- parseNext []

Here I hold button 3.
2024-09-05 14:02:52zh:zstack:unpi:parser: <-- [254,25,68,129,0,0,8,0,228,7,1,1,0,98,0,142,62,11,0,0,5,1,106,1,0,51,228,7,11,90]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext [254,25,68,129,0,0,8,0,228,7,1,1,0,98,0,142,62,11,0,0,5,1,106,1,0,51,228,7,11,90]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --> parsed 25 - 2 - 4 - 129 - [0,0,8,0,228,7,1,1,0,98,0,142,62,11,0,0,5,1,106,1,0,51,228,7,11] - 90
debug 2024-09-05 14:02:52zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":8,"srcaddr":2020,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":736910,"transseqnumber":0,"len":5,"data":{"type":"Buffer","data":[1,106,1,0,51]}}
debug 2024-09-05 14:02:52zh:controller: Received payload: clusterID=8, address=2020, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":106,"commandIdentifier":1},"payload":{"movemode":0,"rate":51},"command":{"ID":1,"parameters":[{"name":"movemode","type":32},{"name":"rate","type":32}],"name":"move"}}
debug 2024-09-05 14:02:52zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genLevelCtrl.defaultRsp({"cmdId":1,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":106,"writeUndiv":false})
debug 2024-09-05 14:02:52zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:2020/1 (0,0,1)
debug 2024-09-05 14:02:52zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":2020,"destendpoint":1,"srcendpoint":1,"clusterid":8,"transid":163,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,106,11,1,0]}}
debug 2024-09-05 14:02:52zh:zstack:unpi:writer: --> frame [254,15,36,1,228,7,1,1,8,0,163,0,30,5,24,106,11,1,0,1]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:52z2m: Received Zigbee message from 'int4_zemis', type 'commandMove', cluster 'genLevelCtrl', data '{"movemode":0,"rate":51}' from endpoint 1 with groupID 0
info 2024-09-05 14:02:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/int4_zemis', payload '{"action":"brightness_move_up","action_rate":51,"battery":100,"linkquality":98,"operation_mode":"command","voltage":3000}'
info 2024-09-05 14:02:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/int4_zemis', payload '{"action":"","battery":100,"linkquality":98,"operation_mode":"command","voltage":3000}'
info 2024-09-05 14:02:52z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/int4_zemis/action', payload 'brightness_move_up'
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-05 14:02:52zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,163,101]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,163,101]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,163] - 101
debug 2024-09-05 14:02:52zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":163}
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: <-- [254,23,68,129,0,0,8,0,228,7,1,1,0,98,0,34,142,11,0,0,3,1,107,3,228,7,11,126]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext [254,23,68,129,0,0,8,0,228,7,1,1,0,98,0,34,142,11,0,0,3,1,107,3,228,7,11,126]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --> parsed 23 - 2 - 4 - 129 - [0,0,8,0,228,7,1,1,0,98,0,34,142,11,0,0,3,1,107,3,228,7,11] - 126
debug 2024-09-05 14:02:52zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":8,"srcaddr":2020,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":757282,"transseqnumber":0,"len":3,"data":{"type":"Buffer","data":[1,107,3]}}
debug 2024-09-05 14:02:52zh:controller: Received payload: clusterID=8, address=2020, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":107,"commandIdentifier":3},"payload":{},"command":{"ID":3,"parameters":[],"name":"stop"}}
debug 2024-09-05 14:02:52zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genLevelCtrl.defaultRsp({"cmdId":3,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":107,"writeUndiv":false})
debug 2024-09-05 14:02:52zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:2020/1 (0,0,1)
debug 2024-09-05 14:02:52zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":2020,"destendpoint":1,"srcendpoint":1,"clusterid":8,"transid":164,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,107,11,3,0]}}
debug 2024-09-05 14:02:52zh:zstack:unpi:writer: --> frame [254,15,36,1,228,7,1,1,8,0,164,0,30,5,24,107,11,3,0,5]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:52z2m: Received Zigbee message from 'int4_zemis', type 'commandStop', cluster 'genLevelCtrl', data '{}' from endpoint 1 with groupID 0
debug 2024-09-05 14:02:52z2m: No converter available for 'TS004F' with cluster 'genLevelCtrl' and type 'commandStop' and data '{}'
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-05 14:02:52zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,164,98]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,164,98]
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,164] - 98
debug 2024-09-05 14:02:52zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":164}
debug 2024-09-05 14:02:52zh:zstack:unpi:parser: --- parseNext []

And her I hold button 4
2024-09-05 14:03:50zh:zstack:unpi:parser: <-- [254,25,68,129,0,0,8,0,228,7,1,1,0,98,0,217,48,67,0,0,5,1,108,1,1,51,228,7,11,76]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --- parseNext [254,25,68,129,0,0,8,0,228,7,1,1,0,98,0,217,48,67,0,0,5,1,108,1,1,51,228,7,11,76]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --> parsed 25 - 2 - 4 - 129 - [0,0,8,0,228,7,1,1,0,98,0,217,48,67,0,0,5,1,108,1,1,51,228,7,11] - 76
debug 2024-09-05 14:03:50zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":8,"srcaddr":2020,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":4403417,"transseqnumber":0,"len":5,"data":{"type":"Buffer","data":[1,108,1,1,51]}}
debug 2024-09-05 14:03:50zh:controller: Received payload: clusterID=8, address=2020, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":108,"commandIdentifier":1},"payload":{"movemode":1,"rate":51},"command":{"ID":1,"parameters":[{"name":"movemode","type":32},{"name":"rate","type":32}],"name":"move"}}
debug 2024-09-05 14:03:50zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genLevelCtrl.defaultRsp({"cmdId":1,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":108,"writeUndiv":false})
debug 2024-09-05 14:03:50zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:2020/1 (0,0,1)
debug 2024-09-05 14:03:50zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":2020,"destendpoint":1,"srcendpoint":1,"clusterid":8,"transid":166,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,108,11,1,0]}}
debug 2024-09-05 14:03:50zh:zstack:unpi:writer: --> frame [254,15,36,1,228,7,1,1,8,0,166,0,30,5,24,108,11,1,0,2]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:03:50z2m: Received Zigbee message from 'int4_zemis', type 'commandMove', cluster 'genLevelCtrl', data '{"movemode":1,"rate":51}' from endpoint 1 with groupID 0
info 2024-09-05 14:03:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/int4_zemis', payload '{"action":"brightness_move_down","action_rate":51,"battery":100,"linkquality":98,"operation_mode":"command","voltage":3000}'
info 2024-09-05 14:03:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/int4_zemis', payload '{"action":"","battery":100,"linkquality":98,"operation_mode":"command","voltage":3000}'
info 2024-09-05 14:03:50z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/int4_zemis/action', payload 'brightness_move_down'
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-05 14:03:50zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,166,96]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,166,96]
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,166] - 96
debug 2024-09-05 14:03:50zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":166}
debug 2024-09-05 14:03:50zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: <-- [254,23,68,129,0,0,8,0,228,7,1,1,0,98,0,56,119,67,0,0,3,1,109,3,228,7,11,211]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --- parseNext [254,23,68,129,0,0,8,0,228,7,1,1,0,98,0,56,119,67,0,0,3,1,109,3,228,7,11,211]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --> parsed 23 - 2 - 4 - 129 - [0,0,8,0,228,7,1,1,0,98,0,56,119,67,0,0,3,1,109,3,228,7,11] - 211
debug 2024-09-05 14:03:51zh:zstack:znp: AREQ: <-- AF - incomingMsg - {"groupid":0,"clusterid":8,"srcaddr":2020,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":98,"securityuse":0,"timestamp":4421432,"transseqnumber":0,"len":3,"data":{"type":"Buffer","data":[1,109,3]}}
debug 2024-09-05 14:03:51zh:controller: Received payload: clusterID=8, address=2020, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=98, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":109,"commandIdentifier":3},"payload":{},"command":{"ID":3,"parameters":[],"name":"stop"}}
debug 2024-09-05 14:03:51zh:controller:endpoint: ZCL command 0x28dba7fffe45580d/1 genLevelCtrl.defaultRsp({"cmdId":3,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":109,"writeUndiv":false})
debug 2024-09-05 14:03:51zh:zstack: sendZclFrameToEndpointInternal 0x28dba7fffe45580d:2020/1 (0,0,1)
debug 2024-09-05 14:03:51zh:zstack:znp: SREQ: --> AF - dataRequest - {"dstaddr":2020,"destendpoint":1,"srcendpoint":1,"clusterid":8,"transid":167,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,109,11,3,0]}}
debug 2024-09-05 14:03:51zh:zstack:unpi:writer: --> frame [254,15,36,1,228,7,1,1,8,0,167,0,30,5,24,109,11,3,0,0]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:03:51z2m: Received Zigbee message from 'int4_zemis', type 'commandStop', cluster 'genLevelCtrl', data '{}' from endpoint 1 with groupID 0
debug 2024-09-05 14:03:51z2m: No converter available for 'TS004F' with cluster 'genLevelCtrl' and type 'commandStop' and data '{}'
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
debug 2024-09-05 14:03:51zh:zstack:znp: SRSP: <-- AF - dataRequest - {"status":0}
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --- parseNext []
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: <-- [254,3,68,128,0,1,167,97]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,167,97]
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,167] - 97
debug 2024-09-05 14:03:51zh:zstack:znp: AREQ: <-- AF - dataConfirm - {"status":0,"endpoint":1,"transid":167}
debug 2024-09-05 14:03:51zh:zstack:unpi:parser: --- parseNext []

@Koenkk
Copy link
Owner

Koenkk commented Sep 5, 2024

Could you check if the issue is fixed with the following external converter:

  • save this as file next to configuration.yaml as ext_converter.js
  • add it to configuration.yaml:
external_converters:
  - ext_converter.js
  • start z2m,
  • in the frontend, check if the description of this device now ends with CUSTOM (this indicates the external converter has been loaded correctly)
  • check if issue is fixed

@caduvalsesia
Copy link

Koenkk,
Now it works perfectly.
I just had to choose the event option.
Excellent. Thank you very much and congratulations on your integration.
Today I'm releasing a video on how to configure zigbee2mqtt with sonoff dongle-e.
Success.

@Koenkk
Copy link
Owner

Koenkk commented Sep 5, 2024

@caduvalsesia what actions does it send with the event option?

@caduvalsesia
Copy link

This sends:
1_single
2_single
3_single
4_single
1_double
2_double
3_double
4_double
1_hold
2_hold
3_hold
4_hold
Captura de Tela 2024-09-05 às 17 54 45

@rodrigosiviero
Copy link

@caduvalsesia what actions does it send with the event option?

1_single
2_single
3_single
4_single

then,
1_hold
...
4_hold

and

1_double
..
4_double

Im using the external converter provided, but still generating two payloads, one with correct status and other witth an empty string on action object:

Info 2024-09-05 18:14:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"","battery":100,"linkquality":127,"operation_mode":"event"}'
Info 2024-09-05 18:14:19z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas/action', payload '1_single'
Info 2024-09-05 18:14:22z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"1_single","battery":100,"linkquality":127,"operation_mode":"event"}'
Info 2024-09-05 18:14:22z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"","battery":100,"linkquality":127,"operation_mode":"event"}'
Info 2024-09-05 18:14:22z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas/action', payload '1_single'
Info 2024-09-05 18:14:26z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"1_single","battery":100,"linkquality":127,"operation_mode":"event"}'
Info 2024-09-05 18:14:26z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"","battery":100,"linkquality":127,"operation_mode":"event"}'
Info 2024-09-05 18:14:26z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas/action', payload '1_single'
Info 2024-09-05 18:14:27z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/escritorio_temperatura', payload '{"battery":83,"humidity":47.2,"linkquality":58,"temperature":27.6,"voltage":null}'
Info 2024-09-05 18:14:34z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"2_single","battery":100,"linkquality":123,"operation_mode":"event"}'
Info 2024-09-05 18:14:34z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/cenas', payload '{"action":"","battery":100,"linkquality":123,"operation_mode":"event"}'

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Sep 5, 2024
@Koenkk
Copy link
Owner

Koenkk commented Sep 5, 2024

@caduvalsesia thanks!

@rodrigosiviero

empty string on action object:

thats expected: https://www.zigbee2mqtt.io/guide/faq/#why-is-the-action-property-always-empty

Integrated the fix!

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

@Koenkk Koenkk closed this as completed Sep 5, 2024
@comdinet
Copy link

comdinet commented Nov 5, 2024

ZMR4, identified as model: TS0044, manufacturer _TZ3000_xwuveizv
After adding it first time it was showing 2 buttons only.
Added the external converter js .
Best it got was showing 6 total actions, completely random, not all buttons shown. Like 1_single action, 2_single action and then 4_double action. This is if I got to automation to try this device.
Exposed action inz2m ui shows 3; battery 100%, linkquality and Actions: N/A
Also wrong picture identified.

***removed coverter, removed and added back the device and now I get single and double actions for all 4 buttons. No Hold action tho
Empty string("") as exposed Action

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

No branches or pull requests

6 participants