JohanBendz / com.tuya.zigbee

MIT License
63 stars 121 forks source link

Device Request - Valve Controller - [manufacturerName] / [modelId] #860

Closed RBouroubi closed 3 weeks ago

RBouroubi commented 4 months ago

Prerequisites:

Device Information

Device Interview

{

  "ids": {
    "modelId": "TS0001",
    "manufacturerName": "_TZ3000_w0ypwa1f"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 256,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          3,
          4,
          5,
          6,
          57344,
          57345,
          0
        ],
        "outputClusters": [
          25,
          10
        ]
      },
      {
        "endpointId": 242,
        "applicationProfileId": 41440,
        "applicationDeviceId": 97,
        "applicationDeviceVersion": 0,
        "_reserved1": 0,
        "inputClusters": [],
        "outputClusters": [
          33
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "identify": {
            "attributes": []
          },
          "groups": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "nameSupport",
                "value": {
                  "type": "Buffer",
                  "data": [
                    0
                  ]
                },
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "scenes": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 4,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ]
          },
          "onOff": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "onOff",
                "value": true,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16385,
                "name": "onTime",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 16386,
                "name": "offWaitTime",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 32769,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 32770,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 20480,
                "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": "_TZ3000_w0ypwa1f"
              },
              {
                "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": "mains"
              },
              {
                "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": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 0
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 1
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 2
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 3
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 4
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 5
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 6
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 7
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 8
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 9
              },
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3
              }
            ]
          },
          "time": {
            "attributes": [
              {
                "acl": [
                  "readable"
                ],
                "id": 65533,
                "name": "clusterRevision",
                "value": 1
              }
            ]
          }
        }
      },
      "242": {
        "clusters": {},
        "bindings": {}
      }
    }
  }
}

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!

eelco2k commented 4 months ago

looks like one of these: drivers/valvecontroller/

 "manufacturerName": [
        "_TYZB01_ymcdbl3u",
        "_TZ3000_o4cjetlm",
        "_TYZB01_4tlksk8a",
        "_TZ3000_tvuarksa",
        "_TZ3000_j9568h44",
        "_TZ3000_iedbgyxt"
      ],
      "productId": [
        "TS0111",
        "TS0001",
        "TS011F"
      ],

In my forked version (https://github.com/eelco2k/com.tuya.zigbee) i've added your manufacturerName and ProductId, could you please test it ? if Valve Controller works there?

RBouroubi commented 4 months ago

Hi, I removed it from the network and got it back, but it is still recognized as a standard Zigbee product. Should I do any update before doing this ? Here is the version used [image: image.png]

Le jeu. 9 mai 2024 à 14:57, Eelco @.***> a écrit :

looks like one of these: drivers/valvecontroller/

"manufacturerName": [ "_TYZB01_ymcdbl3u", "_TZ3000_o4cjetlm", "_TYZB01_4tlksk8a", "_TZ3000_tvuarksa", "_TZ3000_j9568h44", "_TZ3000_iedbgyxt" ], "productId": [ "TS0111", "TS0001", "TS011F" ],

In my forked version (https://github.com/eelco2k/com.tuya.zigbee) i've added your manufacturerName and ProductId, could you please test it ? if Valve Controller works there?

— Reply to this email directly, view it on GitHub https://github.com/JohanBendz/com.tuya.zigbee/issues/860#issuecomment-2102610452, or unsubscribe https://github.com/notifications/unsubscribe-auth/BILXORPKKQ3NG3OP2H2CX2TZBNXERAVCNFSM6AAAAABHNXERJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGYYTANBVGI . You are receiving this because you authored the thread.Message ID: @.***>

eelco2k commented 4 months ago

See my explanation in this ticket:

https://github.com/JohanBendz/com.tuya.zigbee/issues/831#issuecomment-2102595271

I don’t see the image of the version you posted.

RBouroubi commented 4 months ago

Hi, I'll try it later. the image was showing Tuya Zigbee Test v0.2.25

Le jeu. 9 mai 2024 à 22:58, Eelco @.***> a écrit :

See my explanation in this ticket:

831 (comment)

https://github.com/JohanBendz/com.tuya.zigbee/issues/831#issuecomment-2102595271

I don’t see the image of the version you posted.

— Reply to this email directly, view it on GitHub https://github.com/JohanBendz/com.tuya.zigbee/issues/860#issuecomment-2103409520, or unsubscribe https://github.com/notifications/unsubscribe-auth/BILXORJPWENL56G667TQFZ3ZBPPO7AVCNFSM6AAAAABHNXERJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGQYDSNJSGA . You are receiving this because you authored the thread.Message ID: @.***>

RBouroubi commented 4 months ago

Hi, I've installed the v0.2.26 dev, the controller is recognized as a valve controller. It seems to be fine.

Thanks for that.

Le ven. 10 mai 2024 à 10:36, Riadh Bouroubi @.***> a écrit :

Hi, I'll try it later. the image was showing Tuya Zigbee Test v0.2.25

Le jeu. 9 mai 2024 à 22:58, Eelco @.***> a écrit :

See my explanation in this ticket:

831 (comment)

https://github.com/JohanBendz/com.tuya.zigbee/issues/831#issuecomment-2102595271

I don’t see the image of the version you posted.

— Reply to this email directly, view it on GitHub https://github.com/JohanBendz/com.tuya.zigbee/issues/860#issuecomment-2103409520, or unsubscribe https://github.com/notifications/unsubscribe-auth/BILXORJPWENL56G667TQFZ3ZBPPO7AVCNFSM6AAAAABHNXERJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBTGQYDSNJSGA . You are receiving this because you authored the thread.Message ID: @.***>

aescolastico commented 1 month ago

I also have this version of the valve controller

manufacturer id: _TZ3000_tvuarksa
product id: TS011F
eelco2k commented 1 month ago

@aescolastico check fork of this repo, which has your valve controller working. (you need homey CLI to install it)

https://github.com/eelco2k/com.tuya.zigbee

and small installation guide: https://github.com/JohanBendz/com.tuya.zigbee/issues/831#issuecomment-2102595271

JohanBendz commented 3 weeks ago

Added to existing driver