Hello,
in home automation application I have a coordinator, a few routers and 1 or 2 end-devices. The coordinator and the routers have their own power supply connected to the house 110Vac. The end-devices are battery operated and need to hibernate periodically to save battery.
In case of electrical power outage (110Vac) the coordinator and all routers go down. The end-devices keep running since they have its own battery. When the outage happens, the end-devices lose their parent and start to look for a new parent. Since there is no active coordinator or router in the ZigBee network the end-devices keep continually looking for a parent and never hibernate, discharging the battery completely in a few hours.
What should I do to force the end-devices to hibernate in such situation? In my application, I'd like to hibernate for 1 minute, wake-up and look for a parent. If there's still no active parent hibernate for 1 minute again. And keep doing it every minute until the electrical power (110Vac) return.
I tried to change the value of the following constants (in ApplicationConf.h) with no success. I can control the number of network rejoin retries but I can't hibernate the MC13224V between attempts.
mDefaultValueOfNwkDiscoveryAttempts_c
mDefaultValueOfDiscoveryAttemptsTimeOut_c
mDefaultValueOfNwkOrphanScanAttempts_c
mDefaultValueOfOrphanScanAttemptsTimeOut_c
解決済! 解決策の投稿を見る。
Hello Glaucio,
You are in the right path.
LED_StopFlash(0xFF);
KBD_EnableDisableKeyScan(FALSE);
EnterLowPower();
That's all that comes into my mind at this point. Let me know if you need further guidance.
Cheers,
Alan Collins
Hello Glaucio,
You are in the right path.
LED_StopFlash(0xFF);
KBD_EnableDisableKeyScan(FALSE);
EnterLowPower();
That's all that comes into my mind at this point. Let me know if you need further guidance.
Cheers,
Alan Collins