# First project - Internet status dashboard / router reboot

**URL:** <https://discourse.nodered.org/t/first-project-internet-status-dashboard-router-reboot/62966>\
**Category:** Share Your Projects\
**Created:** [23 May 2022 12:30 UTC](https://discourse.nodered.org/t/first-project-internet-status-dashboard-router-reboot/62966 "2022-05-23T12:30:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![docpaul](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/docpaul/32/62005_2.png) [@docpaul](https://discourse.nodered.org/u/docpaul)\
**Post date:** [23 May 2022 12:30 UTC](https://discourse.nodered.org/t/first-project-internet-status-dashboard-router-reboot/62966/1 "2022-05-23T12:30:43Z")

</div>

Hi, using a raspberry pi and a unipi1.1 which I've had for ages in a box and I thought I'd do something useful with it.  
Cobbled some functions together, added ping and LED nodes and I now have a dashboard that shows the status of a few hosts (ISP gateway, my router, plex server etc) and triggers a relay if one of the hosts goes down. Once the host is back up the relay turns off - so far OK but the plan is to connect one of the relays in series with my router power to reboot it when the Internet goes down.  
I can get the relay to pulse for 5 seconds which would reboot the router but what I need is for it to ignore the ping status for 5 mins as the router reboots, and then once pings start again, start monitoring.  
Any ideas?

Thanks in advance,

Paul.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [23 May 2022 12:40 UTC](https://discourse.nodered.org/t/first-project-internet-status-dashboard-router-reboot/62966/2 "2022-05-23T12:40:05Z")

</div>

I would think that the core "delay" node would be what you want?

---

<div class="post-metadata">

**Author:** ![lu4t](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lu4t/32/32276_2.png) [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Post date:** [23 May 2022 18:24 UTC](https://discourse.nodered.org/t/first-project-internet-status-dashboard-router-reboot/62966/3 "2022-05-23T18:24:33Z")

</div>

This video shows how to ask for confirmation, before something happens (or is triggered) on a flow.  
In this case, the conformation would be asked on whatsapp, but you can use the flow and include any other back-channel of your preference (telegram, email,...). There's a link to the flow used on the video description.

[![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/5/3574dca43c6ad19b6cf53d33ea60ea1f613e0628.jpeg "CONFIRM ACTION ON WHATSAPP kicked from NODE-RED dashboard.") ](https://www.youtube.com/watch?v=ePGRRq4VTz4)

---

<div class="post-metadata">

**Author:** ![docpaul](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/docpaul/32/62005_2.png) [@docpaul](https://discourse.nodered.org/u/docpaul)\
**Post date:** [25 May 2022 11:14 UTC](https://discourse.nodered.org/t/first-project-internet-status-dashboard-router-reboot/62966/4 "2022-05-25T11:14:05Z")

</div>

Thanks for the ideas!  
I tried a few things and eventually worked it out - I just needed 2 switches and 2 timers and it's working perfectly!  
Now to work out how to write to a database to log the number of resets and the time of each one...

Paul
