Giter Site home page Giter Site logo

Comments (12)

Koenkk avatar Koenkk commented on August 16, 2024 1

Something else is going on here.

  • In the active endpoint request it responds with endpoint 0 and 1
  • However according to the ZCL endpoint 0 is an invalid ID and shouldn't be used
  • zigbee-herdsman than request the simple descriptor of endpoint 0, which of course fails because this is an invalid endpoint.
  • As endpoint 0 should never be used, we can ignore this safely, change

https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/device.ts#L312

to

this._endpoints = activeEndpoints.endpoints.map((e): Endpoint => {
            return Endpoint.create(e, undefined, undefined, [], [], this.networkAddress, this.ieeeAddr);
        }).filter((e) => e.ID !== 0);

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024 1

Now I got it model '3c4e4fc81ed442efaf69353effcdfc5f' :)) Thank you.
But it does not coincide with that of smarttings :))))

Now I can make converters and PR.

from zigbee-herdsman.

tb-killa avatar tb-killa commented on August 16, 2024

Hi maybe your device don't do a default Response and need this tweak too?

2de4d56

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024

@tb-killa execution does not reach 'ssIasZone enrolling'. falls on receiving active endpoints https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/device.ts#L311
Interview failed for '0x000d6f00106a64e8 with error 'Error: AREQ - ZDO - activeEpRsp after 10000ms'

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024

very strange ... yesterday I mated several times and there has always been a failure ...
Today I performed pairing through the debugger and it turned out to be successful ... maybe some pauses (stops in the debugger) did the trick, because in the normal pairing mode I again failed.
good_interview.log

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024

Sometimes it fall with Interview failed for '0x000d6f00106a64e8 with error 'Error: AREQ - ZDO - simpleDescRsp after 10000ms' on line https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/device.ts#L319
:((

from zigbee-herdsman.

Koenkk avatar Koenkk commented on August 16, 2024

I guess that while pairing the device falls asleep. Can you sniff the traffic while pairing it? https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024

@Koenkk yes, i can. but pairing will be only from 2531, there is no native gateway

from zigbee-herdsman.

Koenkk avatar Koenkk commented on August 16, 2024

Yes thats OK

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024

two pairing processes
pp01.zip
pp01-1 ended with Error: AREQ - ZDO - simpleDescRsp after 10000ms
pp01-2 ended with Error: AREQ - ZDO - activeEpRsp after 10000ms

from zigbee-herdsman.

Koenkk avatar Koenkk commented on August 16, 2024

It seems that the device also reports it's model ID just after pairing (pp01-1.pcapng no. 36). Add this here: https://github.com/Koenkk/zigbee-herdsman/blob/master/src/controller/model/device.ts#L280

if (this.modelID && this.modelID.startsWith('TERNCY-PP01')) {
    debug('Interview procedure failed but got modelID starting with tenrncy, assuming Terncy end device');
    this._type = 'EndDevice';
    this._manufacturerID = 4648;
    this._manufacturerName = 'TERNCY';
    this._powerSource = 'Battery';
    this._interviewing = false;
    this._interviewCompleted = true;
    this.save();
}

from zigbee-herdsman.

kirovilya avatar kirovilya commented on August 16, 2024

With this code, the interview goes well :) but aren't we missing something?

Here is another example of an unsuccessful interview - now this device is ORVIBO, but it was not possible to get the model.
orvibo-1.zip

This trend will lead us to an early description of devices along with their properties, clusters and endpoints - fingerprints. Here is an example implementation in Smarttings:
https://github.com/monninn82/SmartThingsPublic-Backup/blob/master/devicetypes/smartthings/zigbee-scene-keypad.src/zigbee-scene-keypad.groovy#L31

from zigbee-herdsman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.