# How to use Timer on Dashboard with E-mail Notification

**URL:** <https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537>\
**Category:** Dashboard\
**Created:** [20 October 2020 05:51 UTC](https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537 "2020-10-20T05:51:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![akshay369](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@akshay369](https://discourse.nodered.org/u/akshay369)\
**Post date:** [20 October 2020 05:51 UTC](https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537/1 "2020-10-20T05:51:01Z")

</div>

Hello Everyone,  
I want to create Node-Red flow which can automated means ON and OFF Raspberry pi GPIO with controlled by start and Stop Timer.

Make sure I want to set timer by UI page means user can set Start and Stop time by UI Page Node-Red.

and when GPIO is high means if timer is in ON stage then I want to E-mail my self at once and When GPIO goes low means Timer is in OFF stage then again I want acknowledgement via E-mail.

so please help me regarding this.

Thank you...

---

<div class="post-metadata">

**Author:** ![Nodi.Rubrum](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nodi.rubrum/32/107482_2.png) [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Post date:** [20 October 2020 06:06 UTC](https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537/2 "2020-10-20T06:06:44Z")

</div>

Check out the email module/node library

> **[node-red-node-email](https://flows.nodered.org/node/node-red-node-email#:~:text=%20node-red-node-email%201.8.0%20%201%20Pre-requisite.%20You%20will,password%20%2C%20or%20enable%20less%20secure...%20More%20)**
>
> Node-RED nodes to send and receive simple emails.

As for getting the values to set the timers via the UI, check out the time picker UI feature, which is part of the ui-text widget.

> [@Time Picker on Dashboard](https://discourse.nodered.org/t/time-picker-on-dashboard/8146):
>
> Hi, I'm fairly new to node-red and I'm looking for a way to put a time picker on the node-red dashboard as part of a user-friendly AI. Does anyone have any plugins or any idea of how to do this? Thanks.

And if you need information on controlling GPIO pins.  
[node-red-node-pi-gpio (node) - Node-RED](https://flows.nodered.org/node/node-red-node-pi-gpio).

Although I like using the service or daemon based option for controlling GPIO pins.

> **[node-red-node-pi-gpiod](https://flows.nodered.org/node/node-red-node-pi-gpiod)**
>
> A node-red node for PiGPIOd

How to implement the timers for on and off? That depends a bit on how you create the actual flow. I would work on how to use the various components above, gain some experience with same, then think about how you might want to implement the timer(s), or scheduling.

---

<div class="post-metadata">

**Author:** ![akshay369](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@akshay369](https://discourse.nodered.org/u/akshay369)\
**Post date:** [20 October 2020 06:41 UTC](https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537/4 "2020-10-20T06:41:26Z")

</div>

I already use this two node but still not got result.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [20 October 2020 08:32 UTC](https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537/5 "2020-10-20T08:32:55Z")

</div>

Which node? If part of your flow is not working then work out which node is not doing what it should and use debug nodes to see what is going into that node and what is coming out. If it isn't doing what you expect then show us the inputs and outputs and how you have configured the node.  
Don't try and solve all of your problem in one go, split it up into small parts and start with just one part, get that working then add the next bit, and so on.

If you are a complete beginner then spend a couple of hours working right through the node red essentials videos, it will save you (and us) time in the long run.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [19 November 2020 08:32 UTC](https://discourse.nodered.org/t/how-to-use-timer-on-dashboard-with-e-mail-notification/34537/6 "2020-11-19T08:32:58Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
