Debugging Problems
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
I'm looking for some help with debugging. I have successfully set up my X-Board relay, wired it to my garage door opener and to a sensor, configured the software (version 2.4) and network and can now successfully open and close the door from inside and outside my home network. Status is working perfectly, though, due to the sensor I chose, I had to select the
Now I am attempting to implement push notifications. After reading the forums, I have added the DNS and gateway to the
I am now attempting to use the serial debugging code in the software, but am not having much success. I uncommented
I'm hoping someone can answer these questions:
1) I am doing debugging correctly? Is the looping normal? If so, is there an easy way to pick out relevant results from the clutter?
2) It seems incorrect that the door is reported as open in my example ... the door was in fact closed and the status was reported properly in my iPhone app. Could this be related to normally open strategy that I had to use for my sensor? Could this be the cause of my missing push notifications?
Being new to this sort of thing, maybe I'm doing something totally boneheaded. Any answers or suggestions or advice are welcome!
Brian
- Code: Select all
status strategy normally open
Now I am attempting to implement push notifications. After reading the forums, I have added the DNS and gateway to the
- Code: Select all
MyDoorOpenerServer myDoorOpenerServer(password, mac, ip, mydns, gateway)
I am now attempting to use the serial debugging code in the software, but am not having much success. I uncommented
- Code: Select all
#define NOTIFICATIONS_SERIAL_DEBUGGING 1
- Code: Select all
#define PUSH_SERIAL_DEBUGGING 1
I'm hoping someone can answer these questions:
1) I am doing debugging correctly? Is the looping normal? If so, is there an easy way to pick out relevant results from the clutter?
2) It seems incorrect that the door is reported as open in my example ... the door was in fact closed and the status was reported properly in my iPhone app. Could this be related to normally open strategy that I had to use for my sensor? Could this be the cause of my missing push notifications?
Being new to this sort of thing, maybe I'm doing something totally boneheaded. Any answers or suggestions or advice are welcome!
Brian