JohanBendz / com.tuya.zigbee

MIT License
66 stars 126 forks source link

LIDL Parkside - water irrigation - _TZE200_htnnfasr / TS0601 - (Tuya cluster) #91

Open JohanBendz opened 3 years ago

JohanBendz commented 3 years ago
"ids": {
"modelId": "TS0601",
"manufacturerName": "_TZE200_htnnfasr"
  },
  "endpoints": {
"endpointDescriptors": [
  {
    "endpointId": 1,
    "applicationProfileId": 260,
    "applicationDeviceId": 0,
    "applicationDeviceVersion": 0,
    "_reserved1": 1,
    "inputClusters": [
      0,
      4,
      5,
      6,
      3,
      61184
    ],
    "outputClusters": [
      25,
      10
    ]
  }
],
"endpoints": {
  "1": {
    "clusters": {
      "basic": {
        "attributes": [
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 0,
            "name": "zclVersion",
            "value": 3,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 1,
            "name": "appVersion",
            "value": 86,
            "reportingConfiguration": {
              "direction": "reported",
              "attributeDataType": 32,
              "minInterval": 1,
              "maxInterval": 150,
              "minChange": 0,
              "status": "SUCCESS"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 2,
            "name": "stackVersion",
            "value": 0,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 3,
            "name": "hwVersion",
            "value": 1,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 4,
            "name": "manufacturerName",
            "value": "_TZE200_htnnfasr",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 5,
            "name": "modelId",
            "value": "TS0601",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 6,
            "name": "dateCode",
            "value": "",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 7,
            "name": "powerSource",
            "value": "battery",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "writable",
              "reportable"
            ],
            "id": 65502,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65534,
            "name": "attributeReportingStatus",
            "value": "PENDING",
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65504,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65505,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65506,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65507,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "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"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "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"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "onOff": {
        "attributes": [
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 0,
            "name": "onOff",
            "value": false,
            "reportingConfiguration": {
              "direction": "reported",
              "attributeDataType": 16,
              "minInterval": 1,
              "maxInterval": 65534,
              "status": "SUCCESS"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 2,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "identify": {
        "attributes": [
          {
            "acl": [
              "readable",
              "writable",
              "reportable"
            ],
            "id": 0,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          },
          {
            "acl": [
              "readable",
              "reportable"
            ],
            "id": 65533,
            "name": "clusterRevision",
            "value": 1,
            "reportingConfiguration": {
              "status": "NOT_FOUND",
              "direction": "reported"
            }
          }
        ],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      }
    },
    "bindings": {
      "ota": {
        "attributes": [],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      },
      "time": {
        "attributes": [],
        "commandsGenerated": "UNSUP_GENERAL_COMMAND",
        "commandsReceived": "UNSUP_GENERAL_COMMAND"
      }
    }
  }
}
  }
JohanBendz commented 3 years ago

https://www.lidl-shop.be/nl-BE/PARKSIDE-Besproeiingscomputer-Smart-Home-PSBZS-A1/p100325201

Fenix999 commented 3 years ago

Hi I was trying to see how I could make Parkside water irrigation with ZHA, and this seems very similar to the ZAH quirks, are you familiar with it?

I still don't have enough knowledge to do what you did, but trying to convert perhaps.

is this code usable for the ZHA?

Thanks for the help.

JohanBendz commented 2 years ago

Adding some more info regarding the device: https://www.lidl.nl/p/parkside-besproeiingscomputer-zigbee-smart-home/p100325201

https://github.com/Koenkk/zigbee2mqtt/issues/7695


This device is now working as a unknown one. But it turns off after 1 minute. That is default from “Lidl” home app. But I don’t have a Lidl gateway to set that default timing.

So if you could add on off and the time how long the valve opens that would be great.

I work at Lidl. So I will try to find some extra info.

The functions are (based on the website)

7 days of the week with selection which days

0-6 times a day start a program

Duration water flow: 1 minute until 9 hours , 59 minutes

pazzotranquillo commented 1 year ago

Adding some more info regarding the device: https://www.lidl.nl/p/parkside-besproeiingscomputer-zigbee-smart-home/p100325201

Koenkk/zigbee2mqtt#7695

This device is now working as a unknown one. But it turns off after 1 minute. That is default from “Lidl” home app. But I don’t have a Lidl gateway to set that default timing.

So if you could add on off and the time how long the valve opens that would be great.

I work at Lidl. So I will try to find some extra info.

The functions are (based on the website)

7 days of the week with selection which days

0-6 times a day start a program

Duration water flow: 1 minute until 9 hours , 59 minutes

I hope meanwhile you have figured out how to change the timer, if not you could use service service zha.set_zigbee_cluster_attribute

example


service: zha.set_zigbee_cluster_attribute
data:
  cluster_type: in
  ieee: 84:71:27:ff:xx:xx:xx:xx 
  endpoint_id: 1
  cluster_id: 61184
  attribute: 61201
  value: "{{ states(\"input_number.parkside_watering_timer\")|int }}"

``` `