# Home Assistant - Router Reboot with Ping, EXEC and SSH

**URL:** https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456
**Category:** General
**Created:** [16 January 2020 14:23 UTC](https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456 "2020-01-16T14:23:25Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![war1000](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/war1000/32/15754_2.png) [@war1000](https://discourse.nodered.org/u/war1000)
#### Post date: [16 January 2020 15:15 UTC](https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456/3 "2020-01-16T15:15:47Z")

</div>

Thank you @bakman2 for the flow. Is is odd that when I tried to catch the non-zero on the exec node, it didn't work for me. I will try your code.

If someone can please assist with the SSH node, that will be great! Thanks!

---

_[View the full topic](https://discourse.nodered.org/t/home-assistant-router-reboot-with-ping-exec-and-ssh/20456)._
