# Big timer sunset trigger

**URL:** https://discourse.nodered.org/t/big-timer-sunset-trigger/67169
**Category:** General
**Created:** [31 August 2022 08:09 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169 "2022-08-31T08:09:37Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![djseek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/djseek/32/67001_2.png) [@djseek](https://discourse.nodered.org/u/djseek)
#### Post date: [31 August 2022 08:09 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/1 "2022-08-31T08:09:37Z")

</div>

Hi all. I just want to do a simple trigger when it's sunset. But big timer isn't working.

Can someone share a sample one that works please ? Even if it's sunrise

Thank you

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [31 August 2022 08:11 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/2 "2022-08-31T08:11:47Z")

</div>

Well, `BigTimer` does work, but you do need to have the settings correct for it to happen.

Have you set/entered the Latitude and Longitude?

This is a working one that does those needs, but you WILL have to change the Lat/Long.

```auto
[{"id":"19cd3468.618a14","type":"bigtimer","z":"9b7e7466.a4b698","g":"be9c5423.e3fb68","outtopic":"DAYTIME","outpayload1":"DAWN","outpayload2":"DUSK","name":"Day Start/End","comment":"","lat":"-33.51","lon":"151.12","starttime":"5000","endtime":"5001","startoff":0,"endoff":0,"startoff2":"","endoff2":"","offs":"0","outtext1":"Dawn","outtext2":"Dusk","timeout":1440,"sun":true,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"jan":true,"feb":true,"mar":true,"apr":true,"may":true,"jun":true,"jul":true,"aug":true,"sep":true,"oct":true,"nov":true,"dec":true,"day1":0,"month1":0,"day2":0,"month2":0,"day3":0,"month3":0,"day4":0,"month4":0,"day5":0,"month5":0,"day6":"","month6":"","d1":0,"w1":0,"d2":0,"w2":0,"d3":0,"w3":0,"d4":0,"w4":0,"d5":0,"w5":0,"d6":"","w6":"","xday1":"","xmonth1":"","xday2":"","xmonth2":"","xday3":"","xmonth3":"","xday4":"","xmonth4":"","xday5":"","xmonth5":"","xday6":"","xmonth6":"","xd1":"","xw1":"","xd2":"","xw2":"","xd3":"","xw3":"","xd4":"","xw4":"","xd5":"","xw5":"","xd6":"","xw6":"","suspend":false,"random":false,"repeat":false,"atstart":true,"odd":false,"even":false,"x":350,"y":3170,"wires":[["1fd4ef74.5fad41"],[],[]]}]

```

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [31 August 2022 08:24 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/3 "2022-08-31T08:24:33Z")

</div>

It's easy to setup with [the Cron+ node](https://flows.nodered.org/node/node-red-contrib-cron-plus).

![cron](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/4/24a21334fbfafdf90daa13a13732a2fd0dc36c51.jpeg)

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [31 August 2022 08:25 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/4 "2022-08-31T08:25:43Z")

</div>

But you do have to do the Lat/Long - yes?

---

<div class="post-metadata">

### Author: ![Paul-Reed](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/paul-reed/32/66906_2.png) [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)
#### Post date: [31 August 2022 08:27 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/5 "2022-08-31T08:27:46Z")

</div>

> [@Trying\_to\_learn](#):
>
> you do have to do the Lat/Long

Yes, but in Cron+ it's 2 mouse clicks, and it's input automatically!

**[EDIT -]** OK it's 3!

![lat](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/9/f92f35952b6c074f7e3bc9507aecd042651437d4.gif)

---

<div class="post-metadata">

### Author: ![djseek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/djseek/32/67001_2.png) [@djseek](https://discourse.nodered.org/u/djseek)
#### Post date: [31 August 2022 09:58 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/6 "2022-08-31T09:58:17Z")

</div>

Thanks so much. Cron plus worked great in this use but I will need big timer in other flows.

Thanks again.

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [31 August 2022 10:00 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/7 "2022-08-31T10:00:34Z")

</div>

No problems.

Not to promote any more more than another, but why use `Big Timer`?

`Cron Plus` does the same (and more) I belive.

---

<div class="post-metadata">

### Author: ![djseek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/djseek/32/67001_2.png) [@djseek](https://discourse.nodered.org/u/djseek)
#### Post date: [31 August 2022 10:01 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/8 "2022-08-31T10:01:47Z")

</div>

Cause it's what I thought would do It. Just migrated my hubitat over to HA and using node red for everything. It's amazing. Will take a good look at both.

---

<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: [14 September 2022 10:02 UTC](https://discourse.nodered.org/t/big-timer-sunset-trigger/67169/9 "2022-09-14T10:02:12Z")

</div>

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