Comments (12)
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.
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.
Hi maybe your device don't do a default Response and need this tweak too?
from zigbee-herdsman.
@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.
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.
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.
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.
@Koenkk yes, i can. but pairing will be only from 2531, there is no native gateway
from zigbee-herdsman.
Yes thats OK
from zigbee-herdsman.
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.
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.
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)
- Ember driver : Error while parsing received frame, status=NO_RX_SPACE. HOT 1
- Ember driver: SET "APS_UNICAST_MESSAGE_COUNT" TO "32" with status=ERROR_OUT_OF_MEMORY. HOT 1
- State of ZiGate support HOT 17
- [Cluster Type] Align cluster definition for 'name' attribute HOT 1
- zigbee2mqtt<->EZSP incompatible with latest Gecko SDK v4.4.0.0 (EmberZNet 7.4.0.0) firmware build HOT 23
- Waitress timer is being set at the wrong time HOT 16
- Make waitress timeout configurable HOT 1
- Lower bound of "turnsOffAtBrightness1" ignored by "brightness_move" & "brightness_step" commands HOT 1
- Issue with serialport v12 and node > v20.2.0 HOT 1
- Get strange error in latest z2m with the latest zigbee-herdsman HOT 6
- [Task] ZCL definition update HOT 4
- Want better endpoint.writeStructured() HOT 3
- Z2M 1.35.2 stops with "Adapter disconnected, stopping" after few minutes of uptime (Sonoff-E / EZSP v12 / FW 7.3.2.0 build 212) HOT 3
- Load additional manufacturer-specific clusters from device converter HOT 4
- [Proposal] Removal of "forever" Permit Join HOT 11
- Adapters hardware flow control issues HOT 30
- Ikea Motion Sensor E1525/E1745 not updating properly HOT 6
- proposal: deprecation of legacy clicks HOT 1
- Move special readResponse out of zhc/src/index.ts (fixes legrand pairing issues) HOT 8
- Changes to payload when sending zclData to a device breaks iobroker.zigbee function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigbee-herdsman.