# Sun Events node triggers all events at midnight

**URL:** https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640
**Category:** General
**Created:** [21 October 2020 15:27 UTC](https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640 "2020-10-21T15:27:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cburkins](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cburkins/32/30054_2.png) [@cburkins](https://discourse.nodered.org/u/cburkins)
#### Post date: [21 October 2020 15:27 UTC](https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640/1 "2020-10-21T15:27:08Z")

</div>

I'm experimenting with the "Sun Events" node that's included in the node-red (Home Assistant plugin) installation. It seems to trigger all the events (about 15 of them ?) at midnight. I have it wired to a Notify node so I get them on my phone. At the time, I had the "test mode" button checked. Is this expected behavior ? In short, I'm trying to get "Sun Events" to generate a msg, so that I can inspect it.

---

<div class="post-metadata">

### Author: ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)
#### Post date: [21 October 2020 15:46 UTC](https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640/2 "2020-10-21T15:46:57Z")

</div>

Show your flow and what you have configured if you would like in-depth help

But in general, if you send many messages to a notify node you should expect to get them all on your phone if that is the purpose of such setup. If you are just interested in a few, you would need to add a filter or better, configure the sending component to only send what you are looking for

---

<div class="post-metadata">

### Author: ![lizzardguki](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/lizzardguki/32/103637_2.png) [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)
#### Post date: [21 October 2020 20:02 UTC](https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640/3 "2020-10-21T20:02:56Z")

</div>

Is your HA server time setted up correctly?

---

<div class="post-metadata">

### Author: ![cburkins](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cburkins/32/30054_2.png) [@cburkins](https://discourse.nodered.org/u/cburkins)
#### Post date: [21 October 2020 23:51 UTC](https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640/4 "2020-10-21T23:51:51Z")

</div>

Good reminder on posting code next time, sorry about that.

I ended up re-creating the simple setup, and seems to be working fine now. Go figure.

Thanks anyway.

-Chad

---

<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: [4 November 2020 23:51 UTC](https://discourse.nodered.org/t/sun-events-node-triggers-all-events-at-midnight/34640/5 "2020-11-04T23:51:52Z")

</div>

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