# Is there a node that does moon times?

**URL:** <https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133>\
**Category:** General\
**Created:** [10 January 2026 07:52 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133 "2026-01-10T07:52:02Z")\
**Posts on this page:** 12\
**Page:** 1

<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:** [10 January 2026 07:52 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/1 "2026-01-10T07:52:03Z")

</div>

Cron+ seems to be missing the moon in its options.

Suggestions/options?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [10 January 2026 08:07 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/2 "2026-01-10T08:07:37Z")

</div>

There are a couple of options listed on [flows.nodered.org](http://flows.nodered.org), including node-red-contrib-sun-position and node-red-contrib-astrodata, which I have not tried, & node-red-bigtimer which I have, and abandoned.

You can also obtain the current moon phase on some APIs, including openweathermap, which is where I get it for my weather forecast flow.

---

<div class="post-metadata">

**Author:** ![leftymuller](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/leftymuller/32/102326_2.png) [@leftymuller](https://discourse.nodered.org/u/leftymuller)\
**Post date:** [10 January 2026 08:07 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/3 "2026-01-10T08:07:52Z")

</div>

You might have to be more specific.. are you after moonrise, moonset, Moon phase?

---

<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:** [10 January 2026 08:09 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/4 "2026-01-10T08:09:28Z")

</div>

Rise and set are the ones, but phase would be nice too.

I found `astrodata` but am having problems with `moonSet`.

---

<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:** [10 January 2026 08:11 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/5 "2026-01-10T08:11:31Z")

</div>

Thanks.

`serene152/node-red-contrib-solar-multi-switch`

Sorry, I can't read German and the docs shown don't really show much information about the word moon.

I get that `moon` may not be the German word for it, but just saying.

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [10 January 2026 09:10 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/6 "2026-01-10T09:10:09Z")

</div>

You can install mooncalc in a function node, using the setup tab, modules [https://www.npmjs.com/package/mooncalc](https://www.npmjs.com/package/mooncalc)

---

<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:** [10 January 2026 09:37 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/7 "2026-01-10T09:37:01Z")

</div>

Thanks @E1cid

ITMT, I got `astrodata` working.

---

<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:** [10 January 2026 10:53 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/8 "2026-01-10T10:53:00Z")

</div>

> [@jbudd](#):
>
> node-red-contrib-sun-position

I've used this one for years now and it is a core part of my live home automation flows. I actually have a flow that sends sun and moon data updated every minute to MQTT for convenience.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/f/4ff5b9f636d1a69657058abe7925fcc460c07715.png)

Things like azimuth and elevation are occasionally useful to calculate possible lighting issues.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [10 January 2026 11:26 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/9 "2026-01-10T11:26:27Z")

</div>

Only a _lunatic_ needs to know the moon's location every minute! 😉

Or some astronauts perhaps.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [10 January 2026 14:14 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/10 "2026-01-10T14:14:35Z")

</div>

Or werewolfs

---

<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:** [10 January 2026 15:54 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/11 "2026-01-10T15:54:51Z")

</div>

> [@jbudd](#):
>
> Only a _lunatic_ needs to know the moon's location every minute!

![WolfMyReactionToThatInformationGIF](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/4/e4474d290c15cacc5c263df52a3f211c22e13161.gif)

---

<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:** [24 January 2026 15:54 UTC](https://discourse.nodered.org/t/is-there-a-node-that-does-moon-times/100133/12 "2026-01-24T15:54:57Z")

</div>

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