# Light-scheduler node

**URL:** <https://discourse.nodered.org/t/light-scheduler-node/30470>\
**Category:** General\
**Created:** [21 July 2020 12:23 UTC](https://discourse.nodered.org/t/light-scheduler-node/30470 "2020-07-21T12:23:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aabbas](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@aabbas](https://discourse.nodered.org/u/aabbas)\
**Post date:** [21 July 2020 12:23 UTC](https://discourse.nodered.org/t/light-scheduler-node/30470/1 "2020-07-21T12:23:11Z")

</div>

Hi, I am using light-scheduler node to turn on/off my lights. It works but I get "Failed to interpret incoming msg.payload. Ignoring it!" instead True and False.

Have any idea about this problem?

Thank you

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [21 July 2020 12:43 UTC](https://discourse.nodered.org/t/light-scheduler-node/30470/2 "2020-07-21T12:43:36Z")

</div>

Never used it. Perhaps you might want to try node-red-contrib-cron-plus instead. You are not limited to 2 events (you can have multiple, can send whatever you wish and is capable of being fully UI or dynamically setup)

It's not as difficult as you might think.

Oh, and it also has solar times incase you want to operate lights at dusk or dawn.

---

<div class="post-metadata">

**Author:** ![JGKK](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jgkk/32/18515_2.png) [@JGKK](https://discourse.nodered.org/u/JGKK)\
**Post date:** [21 July 2020 12:50 UTC](https://discourse.nodered.org/t/light-scheduler-node/30470/3 "2020-07-21T12:50:11Z")

</div>

If you are looking for a bare bones solution have a look at this subflow i made a while back:

[https://flows.nodered.org/flow/f6ddf18d9c0b36a5f0131189af22f928](https://flows.nodered.org/flow/f6ddf18d9c0b36a5f0131189af22f928)

it uses only core nodes and is quite simple. But the cron plus node by @Steve-Mcl is definitely recommended as it gives you near infinite possibilities and is very well supported 👍🏻

---

<div class="post-metadata">

**Author:** ![edje11](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/edje11/32/572_2.png) [@edje11](https://discourse.nodered.org/u/edje11)\
**Post date:** [21 July 2020 14:23 UTC](https://discourse.nodered.org/t/light-scheduler-node/30470/4 "2020-07-21T14:23:37Z")

</div>

> [@aabbas](#):
>
> but I get "Failed to interpret incoming msg.payload. Ignoring it!"

When do you get this error? Looks like the incoming message contains things this node don't like.  
Show the flow you have made.

---

<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 September 2020 14:24 UTC](https://discourse.nodered.org/t/light-scheduler-node/30470/5 "2020-09-19T14:24:03Z")

</div>

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