How to Debug App stuck in Communicating
Posted: Sat Mar 01, 2014 12:07 pm
HELP.. MyDoorOpener App gets Stuck Communicating...
For the most part, my opener is working. I've now got it working inside and outside my local wifi with the port forwarding now all figured out thanks to this support team!
Now I'm working to get it more robust.
Sometimes at startup, it misses the first press to Open. Normally this is right after I have uploaded the arduino. (pressing it again it seems to get it on the second try)
The most annoying thing that happens after sometimes just 5-15 minutes of time with the app on it gets stuck in the
"Communicating" cycle. The app never times out but just stays there circling around.
The only way to stop is the kill the process (hit home twice) and whisks away, then restart. Once this restarts, the app seems to reset and show normal communication.
Since it does not happen all the time, I'm at a loss as how to troubleshoot the App. Are there any diagnostics I can turn on to see what it is waiting for? When it is hung up, I've tried pressing all the buttons and putting my fingers on the config button but nothing happens. The open/close buttons again never appear just hung.
I've looked at the my router's log to see if the app is sending anything while in this mode by looking for inbound packets destined for Port 81 which is what I'm using.
Normally I see a packet sent every 10 seconds when it runs. Once it gets into this mode the packets stop sending. So it stuck and locked up.
Anyway; has anyone had this issue? How do you debug the App side? Thanks for your help!
Mike
For the most part, my opener is working. I've now got it working inside and outside my local wifi with the port forwarding now all figured out thanks to this support team!
Now I'm working to get it more robust.
Sometimes at startup, it misses the first press to Open. Normally this is right after I have uploaded the arduino. (pressing it again it seems to get it on the second try)
The most annoying thing that happens after sometimes just 5-15 minutes of time with the app on it gets stuck in the
"Communicating" cycle. The app never times out but just stays there circling around.
The only way to stop is the kill the process (hit home twice) and whisks away, then restart. Once this restarts, the app seems to reset and show normal communication.
Since it does not happen all the time, I'm at a loss as how to troubleshoot the App. Are there any diagnostics I can turn on to see what it is waiting for? When it is hung up, I've tried pressing all the buttons and putting my fingers on the config button but nothing happens. The open/close buttons again never appear just hung.
I've looked at the my router's log to see if the app is sending anything while in this mode by looking for inbound packets destined for Port 81 which is what I'm using.
Normally I see a packet sent every 10 seconds when it runs. Once it gets into this mode the packets stop sending. So it stuck and locked up.
Anyway; has anyone had this issue? How do you debug the App side? Thanks for your help!
Mike