com.tuya.zigbee icon indicating copy to clipboard operation
com.tuya.zigbee copied to clipboard

Device Request - [Fingerbot Plus] - [_TZ3210_j4pdtz9v] / [TS0001]

Open AntondK88 opened this issue 1 year ago • 17 comments

Device Information

  • Device Name: Fingerbot Plus
  • Device Model: TS0001
  • Device Description: Smart button pusher
  • Link to device image: [https://ae01.alicdn.com/kf/S6312345151f74c86bea6bf4cea58e694W.jpg]

Device Interview

{
    [
  "ids": {
    "modelId": "TS0001",
    "manufacturerName": "_TZ3210_j4pdtz9v"
  },
  "endpoints": {
    "ieeeAddress": "a4:c1:38:75:70:cc:f1:cd",
    "networkAddress": 4554,
    "modelId": "TS0001",
    "manufacturerName": "_TZ3210_j4pdtz9v",
    "endpointDescriptors": [
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 4554,
        "_reserved": 18,
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 0,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          6,
          61184,
          0
        ],
        "outputClusters": [
          25,
          10
        ]
      }
    ],
    "deviceType": "enddevice",
    "receiveWhenIdle": false,
    "capabilities": {
      "alternatePANCoordinator": false,
      "deviceType": false,
      "powerSourceMains": false,
      "receiveWhenIdle": false,
      "security": false,
      "allocateAddress": true
    },
    "extendedEndpointDescriptors": {
      "1": {
        "clusters": {
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "onOff",
                "value": false,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 16,
                  "minInterval": 60,
                  "maxInterval": 600,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 82
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "name": "stackVersion",
                "value": 0
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "name": "hwVersion",
                "value": 1
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "name": "manufacturerName",
                "value": "_TZ3210_j4pdtz9v"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "TS0001"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 6,
                "name": "dateCode",
                "value": ""
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 7,
                "name": "powerSource",
                "value": "battery"
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 65502
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65534,
                "name": "attributeReportingStatus",
                "value": "PENDING"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65506
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65507
              }
            ]
          }
        },
        "bindings": {
          "ota": {},
          "time": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ]
          }
        }
      }
    }
  }]
}

Additional Comments:

AliExpress: https://nl.aliexpress.com/item/1005005715461824.html?dp=85bfd394d4c86b62be5ddf98c6ac75c2&af=1711154&cv=47843&afref=https%3A%2F%2Finfica.com&mall_affr=pr3&utm_source=admitad&utm_medium=cpa&utm_campaign=1711154&utm_content=47843&dp=85bfd394d4c86b62be5ddf98c6ac75c2&af=1711154&cv=47843&afref=https%3A%2F%2Finfica.com&mall_affr=pr3&utm_source=admitad&utm_medium=cpa&utm_campaign=1711154&utm_content=47843&aff_fcid=c3133567e78542e4b09e8f155714aada-1716398692656-03106-_ePNSNV&aff_fsk=_ePNSNV&aff_platform=portals-tool&sk=_ePNSNV&aff_trace_key=c3133567e78542e4b09e8f155714aada-1716398692656-03106-_ePNSNV&terminal_id=f627bc0a62f74842b20e7624b923b989&afSmartRedirect=y

AntondK88 avatar May 22 '24 17:05 AntondK88

Is the device added to the list and working with Homey?

dalobalo avatar Sep 26 '24 17:09 dalobalo

Support is added to next update. please report how it works @dalobalo @AntondK88 as I don't have it myself.

JohanBendz avatar Oct 05 '24 13:10 JohanBendz

Ping @AntondK88 @dalobalo

JohanBendz avatar Oct 17 '24 15:10 JohanBendz

Thanks for the update. Still waiting for the device. Should arrive within a week or two. I will let you know how it goes

dalobalo avatar Oct 17 '24 17:10 dalobalo

@JohanBendz So I am able to find and add both devices in homey, but no flows will work with ether of them. Also the battery status is unknown with a question mark. The device works if I press the button on the fingerbot itself. I have eliminated distance as an error source.

edit: Link to the unit https://a.aliexpress.com/_EzFgCml

dalobalo avatar Oct 24 '24 12:10 dalobalo

Got the same device and have the same issue (running version v0.2.73). It pairs but i can't trigger the finger and battery status is not showing.

Anything I can provide or help with to fix this?

martinj avatar Oct 31 '24 13:10 martinj

I am testing it. But it is not working. I have VSC and will download the driver to see if I can alter the code

officekeys-nl avatar Nov 03 '24 05:11 officekeys-nl

I needed to remove "finger_bot_mode" from capabilities in driver.compose.json because of the validation error: App did not validate against level debug: × Error: drivers.fingerbot invalid capability: finger_bot_mode at App._validate (C:\Users\kees\AppData\Roaming\npm\node_modules\homey\lib\App.js:132:13) at async App.runDocker (C:\Users\kees\AppData\Roaming\npm\node_modules\homey\lib\App.js:254:19) at async exports.handler (C:\Users\kees\AppData\Roaming\npm\node_modules\homey\bin\cmds\app\run.js:43:5)

After removing the following log was produced: 2024-11-03T08:22:43.416Z [log] [myZigBeeTest] myZigBeeTest has been initialized 2024-11-03T08:22:43.997Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] ZigBeeDevice has been initialized { firstInit: false, isSubDevice: false } 2024-11-03T08:22:43.998Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] ------------------------------------------ 2024-11-03T08:22:43.998Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] Node: 5b812264-966f-4e23-a824-437b0d2aafab 2024-11-03T08:22:43.999Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] - Receive when idle: false 2024-11-03T08:22:43.999Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] - Endpoints: 1 2024-11-03T08:22:43.999Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] -- Clusters:
2024-11-03T08:22:43.999Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] --- basic
2024-11-03T08:22:43.999Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] --- onOff
2024-11-03T08:22:43.999Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] --- tuya
2024-11-03T08:22:44.000Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] ------------------------------------------ zigbee-clusters:cluster ep: 1, cl: basic (0) read attributes [ 4, 0, 1, 5, 7, 65534 ] +0ms zigbee-clusters:cluster ep: 1, cl: basic (0) send frame ZCLStandardHeader { frameControl: [], data: basic.readAttributes { attributes: [ 4, 0, 1, 5, 7, 65534 ] }, cmdId: 0, trxSequenceNumber: 1 } +1ms zigbee-clusters:cluster ep: 1, cl: basic (0) received frame readAttributesStructured.response basic.readAttributesStructured.response { attributes: <Buffer 04 00 00 42 10 5f 54 5a 33 32 31 30 5f 6a 34 70 64 74 7a 39 76 00 00 00 20 03 01 00 00 20 48 05 00 00 42 06 54 53 30 30 30 31 07 00 00 30 03 fe ff 00 ... 2 more bytes> } +556ms zigbee-clusters:cluster ep: 1, cl: basic (0) read attributes result { attributes: <Buffer 04 00 00 42 10 5f 54 5a 33 32 31 30 5f 6a 34 70 64 74 7a 39 76 00 00 00 20 03 01 00 00 20 48 05 00 00 42 06 54 53 30 30 30 31 07 00 00 30 03 fe ff 00 ... 2 more bytes> } +1ms 2024-11-03T08:22:44.559Z [err] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] Error: 'onNodeInit()' failed, reason: Error: Invalid Flow Card ID: finger_bot_mode at new FlowCard (/node_modules/@athombv/homey-apps-sdk-v3/lib/FlowCard.js:69:13) at new FlowCardAction (/node_modules/@athombv/homey-apps-sdk-v3/lib/FlowCardAction.js:20:5) at ManagerFlow.getActionCard (/node_modules/@athombv/homey-apps-sdk-v3/manager/flow.js:48:18) at FingerBotTuya.onNodeInit (/app/drivers/fingerbot/device.js:54:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/node_modules/homey-zigbeedriver/lib/ZigBeeDevice.js:949:11 2024-11-03T08:22:44.559Z [err] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] Error: could not initialize node Error: Invalid Flow Card ID: finger_bot_mode at new FlowCard (/node_modules/@athombv/homey-apps-sdk-v3/lib/FlowCard.js:69:13) at new FlowCardAction (/node_modules/@athombv/homey-apps-sdk-v3/lib/FlowCardAction.js:20:5) at ManagerFlow.getActionCard (/node_modules/@athombv/homey-apps-sdk-v3/manager/flow.js:48:18) at FingerBotTuya.onNodeInit (/app/drivers/fingerbot/device.js:54:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async /app/node_modules/homey-zigbeedriver/lib/ZigBeeDevice.js:949:11

After on/off command I get the following log: zigbee-clusters:cluster ep: 1, cl: tuya (61184) send frame ZCLStandardHeader { frameControl: [ 'clusterSpecific' ], data: tuya.datapoint { status: 0, transid: 0, dp: 1, datatype: 1, length: 1, data: <Buffer 00> }, cmdId: 0, trxSequenceNumber: 1 } +2m zigbee-clusters:cluster ep: 1, cl: tuya (61184) received frame defaultResponse tuya.defaultResponse { cmdId: 0, status: 'SUCCESS' } +630ms 2024-11-03T08:24:53.906Z [log] [ManagerDrivers] [Driver:fingerbot] [Device:d0d6470f-d455-47eb-b91a-de3b506522b9] Finger Bot on/off set to false

officekeys-nl avatar Nov 03 '24 09:11 officekeys-nl

Ah, sorry about that. I released a driver to catch diagnostic reports for the unit, did not really expect it to work without adjustment. A new version is on its way.

JohanBendz avatar Nov 09 '24 22:11 JohanBendz

The driver can basically be replaced by a touch button (it works as intended with the "unknown zigbee" default driver. Could it be an idea to just remove the driver and put a 1-gang switch driver for it?

slicke avatar Dec 04 '24 23:12 slicke

I used the "plug" to make a working driver: https://github.com/JohanBendz/com.tuya.zigbee/pull/1065

slicke avatar Dec 05 '24 00:12 slicke

Yes, that would be a good suggestion if that works. It worked before the device was added. I think I defined it as an unknown device

officekeys-nl avatar Dec 05 '24 13:12 officekeys-nl

Yes, that would be a good suggestion if that works. It worked before the device was added. I think I defined it as an unknown device

It does 😊I'm running on my PR and it works fine 😊

slicke avatar Dec 05 '24 14:12 slicke

I had only one FingerBot and it worked great but started failing when I added a second one: now I can't get none of them to work. I will turn the new one off and see if the first one works back again.

Given this behaviour I started thinking that maybe there was something wrong in the FingerBot's firmware that was fixed in a newer release.

I searched but didn't find documentation on how to do so from Home Assistant

ml0renz0 avatar Jan 12 '25 12:01 ml0renz0

Same behaviour as described above: pairs, but then cannot be controlled (except the physical button). If necessary, I can provide logs. Disabling the Tuya Zigbee app and adding as a generic Zigbee device does allow to trigger the fingerbot.

maesben avatar Jan 28 '25 17:01 maesben

I created a driver in my local app that works without problems. I am happy to share that driver so it can be added to the Tuya Zigbee app, but I do not know how :(

officekeys-nl avatar Jan 30 '25 06:01 officekeys-nl

Same behavior as described above: pairs, but then cannot be controlled (except the physical button) and the battery status is unknown.

pkroeze avatar Mar 18 '25 18:03 pkroeze

Will there not be any further updates on this device? I have not seen any updates on the app since 12th October.. hope its not the case

dalobalo avatar May 17 '25 13:05 dalobalo

This comment is by no means a "hurry up" or anything similar. Quite the opposite: Thank you Johan for all your effort, it is very much appreciated.

The PR from shaarkys is surely meant well, but does not add any value to the "unsupported" zigbee device option. I assume the most wanted feature for the Fingerbot integration is to have the "click only" option.

I'm adding this comment for others to 👍🏻 for you to see how much this is wanted :-)

Have a nice day

seimnseimn avatar Oct 28 '25 08:10 seimnseimn