JohanBendz / tech.sonoff

MIT License
3 stars 5 forks source link

Request for new device - modelId: TRVZB, manufacturerName: SONOFF #8

Open JohanBendz opened 5 months ago

JohanBendz commented 5 months ago

`I have do a interview of a Sonoff TRVZB

I is a ZigBee Thermostat.

I hope it will be possible to integrate it to your app.

Interview:

“ids”: { “modelId”: “TRVZB”, “manufacturerName”: “SONOFF” }, “endpoints”: { “ieeeAddress”: “0c:ae:5f:ff:fe:bb:86:25”, “networkAddress”: 37286, “modelId”: “TRVZB”, “manufacturerName”: “SONOFF”, “endpointDescriptors”: [ { “status”: “SUCCESS”, “nwkAddrOfInterest”: 37286, “_reserved”: 28, “endpointId”: 1, “applicationProfileId”: 260, “applicationDeviceId”: 769, “applicationDeviceVersion”: 0, “_reserved1”: 1, “inputClusters”: [ 0, 1, 3, 6, 32, 513, 64599, 64529 ], “outputClusters”: [ 10, 25 ] } ], “deviceType”: “enddevice”, “receiveWhenIdle”: false, “swBuildId”: “1.1.1”, “capabilities”: { “alternatePANCoordinator”: false, “deviceType”: false, “powerSourceMains”: false, “receiveWhenIdle”: false, “security”: false, “allocateAddress”: true }, “pollControl”: { “checkInInterval”: 14400, “longPollInterval”: 8, “shortPollInterval”: 2, “checkInIntervalMin”: 6480, “shortPollWritten”: true, “longPollWritten”: true }, “extendedEndpointDescriptors”: { “1”: { “clusters”: { “basic”: { “attributes”: [ { “acl”: [ “readable”, “reportable” ], “id”: 0, “name”: “zclVersion”, “value”: 8, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 1, “name”: “appVersion”, “value”: 0, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 4, “name”: “manufacturerName”, “value”: “SONOFF”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 5, “name”: “modelId”, “value”: “TRVZB”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 6, “name”: “dateCode”, “value”: “20230811”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 7, “name”: “powerSource”, “value”: “battery”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 16384, “name”: “swBuildId”, “value”: “1.1.1”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 65533, “name”: “clusterRevision”, “value”: 3, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } } ], “commandsGenerated”: , “commandsReceived”: [ “factoryReset” ] }, “powerConfiguration”: { “attributes”: [ { “acl”: [ “readable”, “reportable” ], “id”: 33, “name”: “batteryPercentageRemaining”, “value”: 200, “reportingConfiguration”: { “direction”: “reported”, “attributeDataType”: 32, “minInterval”: 1, “maxInterval”: 65534, “minChange”: 0, “status”: “SUCCESS” } }, { “acl”: [ “readable”, “reportable” ], “id”: 65533, “name”: “clusterRevision”, “value”: 2, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } } ], “commandsGenerated”: , “commandsReceived”: }, “identify”: { “attributes”: [ { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 0, “name”: “identifyTime”, “value”: 0, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 65533, “name”: “clusterRevision”, “value”: 2, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } } ], “commandsGenerated”: [ “identifyQuery.response” ], “commandsReceived”: [ “identify”, “identifyQuery” ] }, “onOff”: { “attributes”: [ { “acl”: [ “readable”, “reportable” ], “id”: 0, “name”: “onOff”, “value”: true, “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” } } ], “commandsGenerated”: , “commandsReceived”: [ “setOff”, “setOn”, “toggle” ] }, “pollControl”: { “attributes”: [ { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 0, “name”: “checkInInterval”, “value”: 14400, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 1, “name”: “longPollInterval”, “value”: 4, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 2, “name”: “shortPollInterval”, “value”: 2, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 3, “name”: “fastPollTimeout”, “value”: 40, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 4, “name”: “checkInIntervalMin”, “value”: 6480, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 65533, “name”: “clusterRevision”, “value”: 3, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } } ], “commandsGenerated”: [ 0 ], “commandsReceived”: [ 0, “fastPollStop”, “setLongPollInterval”, “setShortPollInterval” ] }, “thermostat”: { “attributes”: [ { “acl”: [ “readable”, “reportable” ], “id”: 0, “name”: “localTemperature”, “value”: 2460, “reportingConfiguration”: { “direction”: “reported”, “attributeDataType”: 41, “minInterval”: 1, “maxInterval”: 65534, “minChange”: 0, “status”: “SUCCESS” } }, { “acl”: [ “readable”, “reportable” ], “id”: 2, “name”: “occupancy”, “value”: { “type”: “Buffer”, “data”: [ 1 ] }, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 3, “name”: “absMinHeatSetpointLimit”, “value”: 400, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 4, “name”: “absMaxHeatSetpointLimit”, “value”: 3500, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 16, “name”: “localTemperatureCalibration”, “value”: 0, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 18, “name”: “occupiedHeatingSetpoint”, “value”: 1900, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 21, “name”: “minHeatSetpointLimit”, “value”: 400, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 22, “name”: “maxHeatSetpointLimit”, “value”: 3500, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 26, “name”: “remoteSensing”, “value”: { “type”: “Buffer”, “data”: [ 0 ] }, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 27, “name”: “controlSequenceOfOperation”, “value”: “heating”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 28, “name”: “systemMode”, “value”: “heat”, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 30, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 32, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 33, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 34, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “writable”, “reportable” ], “id”: 37, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 41, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } }, { “acl”: [ “readable”, “reportable” ], “id”: 65533, “name”: “clusterRevision”, “value”: 3, “reportingConfiguration”: { “status”: “NOT_FOUND”, “direction”: “reported” } } ], “commandsGenerated”: [ “setSetpoint”, 1 ], “commandsReceived”: [ “setSetpoint”, 1, 3 ] } }, “bindings”: { “time”: { “attributes”: , “commandsGenerated”: , “commandsReceived”: }, “ota”: {} } } } }`

MasothU commented 2 months ago

+1 😊

HerrStieber commented 2 months ago

Formated:

{
  "ids": {
    "modelId": "TRVZB",
    "manufacturerName": "SONOFF"
  },
  "endpoints": {
    "ieeeAddress": "0c:ae:5f:ff:fe:bb:86:25",
    "networkAddress": 37286,
    "modelId": "TRVZB",
    "manufacturerName": "SONOFF",
    "endpointDescriptors": [
      {
        "status": "SUCCESS",
        "nwkAddrOfInterest": 37286,
        "_reserved": 28,
        "endpointId": 1,
        "applicationProfileId": 260,
        "applicationDeviceId": 769,
        "applicationDeviceVersion": 0,
        "_reserved1": 1,
        "inputClusters": [0, 1, 3, 6, 32, 513, 64599, 64529],
        "outputClusters": [10, 25]
      }
    ],
    "deviceType": "enddevice",
    "receiveWhenIdle": false,
    "swBuildId": "1.1.1",
    "capabilities": {
      "alternatePANCoordinator": false,
      "deviceType": false,
      "powerSourceMains": false,
      "receiveWhenIdle": false,
      "security": false,
      "allocateAddress": true
    },
    "pollControl": {
      "checkInInterval": 14400,
      "longPollInterval": 8,
      "shortPollInterval": 2,
      "checkInIntervalMin": 6480,
      "shortPollWritten": true,
      "longPollWritten": true
    },
    "extendedEndpointDescriptors": {
      "1": {
        "clusters": {
          "basic": {
            "attributes": [
              {
                "acl": ["readable", "reportable"],
                "id": 0,
                "name": "zclVersion",
                "value": 8,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 1,
                "name": "appVersion",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 4,
                "name": "manufacturerName",
                "value": "SONOFF",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 5,
                "name": "modelId",
                "value": "TRVZB",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 6,
                "name": "dateCode",
                "value": "20230811",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 7,
                "name": "powerSource",
                "value": "battery",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 16384,
                "name": "swBuildId",
                "value": "1.1.1",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": "",
            "commandsReceived": ["factoryReset"]
          },
          "powerConfiguration": {
            "attributes": [
              {
                "acl": ["readable", "reportable"],
                "id": 33,
                "name": "batteryPercentageRemaining",
                "value": 200,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 32,
                  "minInterval": 1,
                  "maxInterval": 65534,
                  "minChange": 0,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": "",
            "commandsReceived": ""
          },
          "identify": {
            "attributes": [
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 0,
                "name": "identifyTime",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 65533,
                "name": "clusterRevision",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": ["identifyQuery.response"],
            "commandsReceived": ["identify", "identifyQuery"]
          },
          "onOff": {
            "attributes": [
              {
                "acl": ["readable", "reportable"],
                "id": 0,
                "name": "onOff",
                "value": true,
                "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"
                }
              }
            ],
            "commandsGenerated": "",
            "commandsReceived": ["setOff", "setOn", "toggle"]
          },
          "pollControl": {
            "attributes": [
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 0,
                "name": "checkInInterval",
                "value": 14400,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 1,
                "name": "longPollInterval",
                "value": 4,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 2,
                "name": "shortPollInterval",
                "value": 2,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 3,
                "name": "fastPollTimeout",
                "value": 40,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 4,
                "name": "checkInIntervalMin",
                "value": 6480,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": [0],
            "commandsReceived": [
              0,
              "fastPollStop",
              "setLongPollInterval",
              "setShortPollInterval"
            ]
          },
          "thermostat": {
            "attributes": [
              {
                "acl": ["readable", "reportable"],
                "id": 0,
                "name": "localTemperature",
                "value": 2460,
                "reportingConfiguration": {
                  "direction": "reported",
                  "attributeDataType": 41,
                  "minInterval": 1,
                  "maxInterval": 65534,
                  "minChange": 0,
                  "status": "SUCCESS"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 2,
                "name": "occupancy",
                "value": {
                  "type": "Buffer",
                  "data": [1]
                },
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 3,
                "name": "absMinHeatSetpointLimit",
                "value": 400,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 4,
                "name": "absMaxHeatSetpointLimit",
                "value": 3500,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 16,
                "name": "localTemperatureCalibration",
                "value": 0,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 18,
                "name": "occupiedHeatingSetpoint",
                "value": 1900,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 21,
                "name": "minHeatSetpointLimit",
                "value": 400,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 22,
                "name": "maxHeatSetpointLimit",
                "value": 3500,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 26,
                "name": "remoteSensing",
                "value": {
                  "type": "Buffer",
                  "data": [0]
                },
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 27,
                "name": "controlSequenceOfOperation",
                "value": "heating",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 28,
                "name": "systemMode",
                "value": "heat",
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 30,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 32,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 33,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 34,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "writable", "reportable"],
                "id": 37,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 41,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              },
              {
                "acl": ["readable", "reportable"],
                "id": 65533,
                "name": "clusterRevision",
                "value": 3,
                "reportingConfiguration": {
                  "status": "NOT_FOUND",
                  "direction": "reported"
                }
              }
            ],
            "commandsGenerated": ["setSetpoint", 1],
            "commandsReceived": ["setSetpoint", 1, 3]
          }
        },
        "bindings": {
          "time": {
            "attributes": "",
            "commandsGenerated": "",
            "commandsReceived": ""
          },
          "ota": {}
        }
      }
    }
  }
}