JohanBendz / com.tuya.zigbee

MIT License
66 stars 126 forks source link

Device Request - LoraTap 6 Button - TS0046 - 6 button wall remote #962

Open roxart opened 1 month ago

roxart commented 1 month ago

Prerequisites:

Device Information

Device Interview

{
    ["Paste the device interview information here"]
}
Property Value
ID 929aa17c-1deb-475f-8dcc-2619922bf358
Name Zigbee Device 6gang
Class socket
Driver homey:virtualdriverzigbee:driver
Ready Yes
Available Yes
Warning No
Custom icon No
Data
Key Value
token "b7b54b59-f262-4174-abc0-4fff4c8582d9"
Settings
Key Value
zb_product_id "TS0046"
zb_manufacturer_name "_TZ3000_iszegwpd"
zb_receive_when_idle "⨯"
zb_device_type "enddevice"
zb_ieee_address "a4:c1:38:03:92:c3:a1:b8"
zb_sw_build_id ""
zb_touchlink_group_ids ""
energy_alwayson false
energy_value_off null
energy_value_on null

Additional Comments:

Note: Provide any other relevant information or requests related to the device. Link to where you bought the device can be of help

How to interview a device

Note: To be able to add more devices to the Tuya Zigbee app, we rely on community members like you to provide interviews of the devices you want to be added. Thank you for your contribution!

JohanBendz commented 1 month ago

manufName:_TZ3000_iszegwpd powerSource: Battery modelId: TS0046 epList:[1,2,3,4,5,6], ep1: inClusterList: [1,6,57344,0], outClusterList: [25,10] ep2: inClusterList: [6,1,6], outClusterList: [] ep3: inClusterList: [6,1,6], outClusterList: [] ep4: inClusterList: [6,1,6], outClusterList: [] ep5: inClusterList: [6,1,6], outClusterList: [] ep6: inClusterList: [6,1,6], outClusterList: []

JohanBendz commented 1 month ago

I'll add this to the next update, please report back how it works. I know it supports 1 and 2 click aswell as long press. Initially it will only support 1 and 2 clicks.

roxart commented 1 month ago

do I get a notification here when it's added?

JohanBendz commented 1 month ago

@roxart in the test version now

roxart commented 1 month ago

not sure if you want feedback here or in the homey forum - however on a quick check with the flow below everything seems to trigger.

when I long press the 1 click triggers (I know you said it wont work at first just for you to know what happens)

{E91E58CD-40D8-462E-AD1B-38A9187B10D0}

roxart commented 1 month ago

also I want to add: the longpress is actually important for me, as I want to use some of these buttons to control blinds and longpress is to go up and stop on release - i guess on release does not have a trigger so that is obsolete what is the problem, that those do not work?

JohanBendz commented 1 month ago

Hi @roxart, no problem just work.. :)

This is what I see in the log when you press the buttons: 2024-10-07T21:27:23.247Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] endpointId: 4 , clusterId: 6 , frame: <Buffer 01 13 fd 00> , meta: { dstEndpoint: 1 } 2024-10-07T21:27:23.250Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Frame JSON data: { type: 'Buffer', data: [ 1, 19, 253, 0 ] } 2024-10-07T21:27:23.258Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Triggered 4 Gang Wall Remote, action=rightDown-oneClick 2024-10-07T21:27:24.257Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] endpointId: 4 , clusterId: 6 , frame: <Buffer 01 13 fd 00> , meta: { dstEndpoint: 1 } 2024-10-07T21:27:24.259Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Frame JSON data: { type: 'Buffer', data: [ 1, 19, 253, 0 ] } 2024-10-07T21:27:24.266Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Triggered 4 Gang Wall Remote, action=rightDown-oneClick 2024-10-07T21:27:35.131Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] endpointId: 1 , clusterId: 6 , frame: <Buffer 01 14 fd 00> , meta: { dstEndpoint: 1 } 2024-10-07T21:27:35.132Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Frame JSON data: { type: 'Buffer', data: [ 1, 20, 253, 0 ] } 2024-10-07T21:27:35.335Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Triggered 4 Gang Wall Remote, action=leftUp-oneClick 2024-10-07T21:27:36.121Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] endpointId: 1 , clusterId: 6 , frame: <Buffer 01 14 fd 00> , meta: { dstEndpoint: 1 } 2024-10-07T21:27:36.121Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Frame JSON data: { type: 'Buffer', data: [ 1, 20, 253, 0 ] } 2024-10-07T21:27:36.298Z [log] [ManagerDrivers] [Driver:wall_remote_4_gang_3] [Device:72f144fa-4201-4cdc-ae33-0f42348505eb] Triggered 4 Gang Wall Remote, action=leftUp-oneClick

For me to know what button does what on your side it's important you use the buttons in the order of button 1 - 1 click, button 1 - 2 clicks, button 1 - long press and so forth. so that I can map the buttons to behaviour.

I'll add some extra logging too and give a notice when you can try and send a new diagnostic report.

roxart commented 1 month ago

ok I did what you asked for from button 1 to 6 always 1 click 2 click longpress d3367203-408a-4681-aaa5-8dfc5dda050c

roxart commented 4 weeks ago

ok I did what you asked for from button 1 to 6 always 1 click 2 click longpress d3367203-408a-4681-aaa5-8dfc5dda050c

did this help @JohanBendz or you need anything else?