To introduce the context, I'm really new to Rpie. I've got a system with many blocks (camera module, T-mobile wireless ...) and a raspberry Pie at the center.
What I want to do is to check the good communication in my system between the Rpie and the other elements. If something goes wrong (lost of com due to network ..), I want the Rpie to shutdown properly the commands and then restart by itself.
I'm looking for solutions to realize :
1) Monitoring communication with outside world (elements in my system)
2) Restart the R pie properly if something goes wrong
I was thinking about using a processor that would be used as a watchdog (like an Arduino ..) that could check the com data and then send an order to restart the Rpie. I also read that the Rpie had an internal watchdog too but I don't know if it will be relevant to use it.
Finally, I find a link where someone is suggesting using a second Rpie to talk to the first one and restart the all thing if something goes wrong.
Here is the link : http://iqjar.com/jar/raspberry-pi-reboo ... -networks/
As you can see, I'm a bit lost between the different solutions, if someone could help me to see more clearly and guide me to a possible solution in order to realize the project, it would be awesome.
Thank you for your time
Florian