Comments (1)
I added in controller.js if SAPI:findDeviceConfirm (response of ZDO', 'nwkAddrReq' with new short addr) update database
and
I added in af.js, if cnf.status == 205 launch ZDO', 'nwkAddrReq' request
it works to do with time
controller.js
this.on('SAPI:findDeviceConfirm', function (data) {
if(!data.result){
return
}
var dev = this.getShepherd()._findDevByAddr(data.result);
dev.update({ nwkAddr: data.searchkey });
shepherd._devbox.maintain(function (err){ });
});
af.js
} else if(cnf.status == 205){
indirecter.handleTimeout()
var IeeeAddr = dstEp.getIeeeAddr();
af.controller.request('ZDO', 'nwkAddrReq', { ieeeaddr: IeeeAddr, reqtype: 0, startindex:1 });
}
from zigbee-shepherd.
Related Issues (20)
- Using a repeater (router) with the coordinator
- Using CC2531 Hex image as router
- xiaomi+fhem+zigbee-shepherd dev.db everytime create new after reboot.....
- Can I use this with a Silicon Labs zigbee chip (em358)? HOT 1
- Can be used to replicate the Hue Bridge? HOT 2
- WARN Error while starting zigbee-shepherd, attemping to fix... (takes 60 seconds)
- Insecure Rejoin
- Don't get CC2530 working HOT 2
- Match Descriptor Request not responded
- Error: Unhandled "error" event. (Cannot get the Node Descriptor of the Device HOT 1
- Compatibility with nRF52840 chip HOT 2
- Determining status after power outage HOT 3
- throw new Error('Unrecognized cluster')
- IAS Zone device How to Join? HOT 1
- test if cc2531 is present on uart port
- Number of devices, adding new, and best ZNP
- How Define Self-Defined Cluster
- How to find system path of the serial port
- zigbee-shepherd might be outdated. Please help! HOT 2
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-shepherd.