So I moved my motion sensor detector back inside. with it I brought one of the uninstalled sensors and the rest of the cable. I got everything set up so I’m duplicating the environment almost exactly. So far it has run 36 hrs w/o a hang.
I’m baffled. Seems the problem would either be power, heat, cable, or the sensor. Power, heat, cable are duplicated. It just doesn’t seem possible it could be the sensor. It simply sends an on/off signal back to the microprocessor.
I guess tomorrow I will pull the sensor down and bring it in to see if I can get it to duplicate.
If not, I’m going to have to write some more code to allow me to debug the microcontroller when it is running. I guess that means setting it up to send debug messages as UDP packets. Then when it hangs, I can check the last location seen to start getting a clue where the problem lies.