JohanBendz / com.tuya.zigbee

MIT License
67 stars 127 forks source link

Device Request - [Soil Moisture Tester] - [_TZE284_sgabhwa6] / [TS0601] #908

Open noclue2u opened 3 months ago

noclue2u commented 3 months ago

Prerequisites:

Device Information

Device Interview

{
    [
  "ids": {
    "modelId": "TS0601",
    "manufacturerName": "_TZE284_sgabhwa6"
  },
  "endpoints": {
    "endpointDescriptors": [
      {
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 81,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [
          4,
          5,
          61184,
          0,
          60672
        ],
        "outputClusters": [
          25,
          10
        ]
      }
    ],
    "endpoints": {
      "1": {
        "clusters": {
          "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"
                }
              }
            ]
          },
          "basic": {
            "attributes": [
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 0,
                "name": "zclVersion",
                "value": 3
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 1,
                "name": "appVersion",
                "value": 77
              },
              {
                "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": "_TZE284_sgabhwa6"
              },
              {
                "acl": [
                  "readable",
                  "reportable"
                ],
                "id": 5,
                "name": "modelId",
                "value": "TS0601"
              },
              {
                "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
              },
              {
                "acl": [
                  "readable",
                  "writable",
                  "reportable"
                ],
                "id": 65487
              }
            ]
          }
        },
        "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
              }
            ]
          }
        }
      }
    }
  }]
}

Additional Comments:

Note: [Link to where you bought the device: https://www.amazon.nl/gp/product/B0D52J4FJ2)]

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 2 months ago

Adding _TZE284_aao3yzhs and _TZE284_sgabhwa6 to current Soil Sensor driver. Get back to me if battery reporting or anything else does not work.

noclue2u commented 2 months ago

Hi Johan,

The device is not reporting properly. The temperature does not report any value (last value 55 years ago in the app). The moisture level report is a factor 10 off I guess. It is now reporting 723%, which probably should be 72,3%. And the label is air moisture, where it should read soil moisture. [image: image.png] Furthermore the device should be able to report PH level of the soil.

It does not report on battery level yet. Battery condition is available on the App, but not on the web portal.

And last the portal reports the use of 2 AA batteries, where it uses 3. Not really a biggy. [image: image.png]

Kind regards,

Hans Ruiterkamp

On Sun, Sep 8, 2024 at 1:56 AM Johan Bendz @.***> wrote:

Adding _TZE284_aao3yzhs and _TZE284_sgabhwa6 to current Soil Sensor driver. Get back to me if battery reporting or anything else does not work.

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

JohanBendz commented 1 month ago

Hi @noclue2u, next update have a new driver for this device. Remove and pair again. I don't see any ph value in the reporting and I see other platform don't have this added.. I added some extra logging to be able to see if there is anything I miss.

noclue2u commented 1 month ago

Hi Johan, by the next update you mean 0.2.73? I have removed the device and re-paired the device, but I see no change. Also I see two (soil) moisture testers. Tried them both, but can’t find any difference in behavior.

Kind regard,

Hans

Verzonden vanuit Outlook voor iOShttps://aka.ms/o0ukef


Van: Johan Bendz @.> Verzonden: Friday, October 11, 2024 10:31:53 PM Aan: JohanBendz/com.tuya.zigbee @.> CC: noclue2u @.>; Mention @.> Onderwerp: Re: [JohanBendz/com.tuya.zigbee] Device Request - [Soil Moisture Tester] - [_TZE284_sgabhwa6] / [TS0601] (Issue #908)

Hi @noclue2uhttps://github.com/noclue2u, next update have a new driver for this device. Remove and pair again. I don't see any ph value in the reporting and I see other platform don't have this added.. I added some extra logging to be able to see if there is anything I miss.

— Reply to this email directly, view it on GitHubhttps://github.com/JohanBendz/com.tuya.zigbee/issues/908#issuecomment-2408084442, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKHJVZKEWFDV6BAXC7MCR6DZ3AYTTAVCNFSM6AAAAABLYNK2W2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYGA4DINBUGI. You are receiving this because you were mentioned.Message ID: @.***>