# Input JSON String NODE RED CONTRIB UI TIME SCHEDULER

**URL:** <https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842>\
**Category:** General\
**Created:** [24 August 2022 09:09 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842 "2022-08-24T09:09:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_Bambach](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Stefan\_Bambach](https://discourse.nodered.org/u/Stefan_Bambach)\
**Post date:** [24 August 2022 09:09 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842/1 "2022-08-24T09:09:31Z")

</div>

I would like to parameterize the UI scheduler via inputs. There are various devices, these should be terminated via payload before the time has expired. Can someone tell me the JSON string? I tried different payloads, but with the error message: invalid payload  
This is the Payload:{"payload":true,"topic":"Device1","\_msgid":"12345"}

---

<div class="post-metadata">

**Author:** ![fellinga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fellinga/32/30631_2.png) [@fellinga](https://discourse.nodered.org/u/fellinga)\
**Post date:** [24 August 2022 16:33 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842/2 "2022-08-24T16:33:19Z")

</div>

Hi Stefan,

you can see what is possible by opening the nodes help section:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/9/e9582b5e766a581680bf69158c37c2bc1beee902.png)

The only option disable a device that is currently within a defined time frame is to send a msg to your scheduler that disables the whole device:

```auto
msg.disableDevice = "Device 1";

```

later you can enable the device again:

```auto
msg.enableDevice = "Device 1";

```

---

<div class="post-metadata">

**Author:** ![Stefan\_Bambach](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Stefan\_Bambach](https://discourse.nodered.org/u/Stefan_Bambach)\
**Post date:** [26 August 2022 09:09 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842/3 "2022-08-26T09:09:32Z")

</div>

Hi fellinga,

Many Thanks  
I would like to end the timer for each device prematurely using a button. Is this possible. Can you help me there?

---

<div class="post-metadata">

**Author:** ![fellinga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/fellinga/32/30631_2.png) [@fellinga](https://discourse.nodered.org/u/fellinga)\
**Post date:** [26 August 2022 14:42 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842/4 "2022-08-26T14:42:02Z")

</div>

Do you want a button on the node-red Dashboard or something like an inject button inside the flow editor?

If it's for the dashboard then this feature is already built in - please see:

> <https://github.com/fellinga/node-red-contrib-ui-time-scheduler/issues/56#issuecomment-927192993>
>
> Thanks for this node. I am happy to have this interface. I thought it was ridic…ulous that someone would have to go to the admin page to modify schedules. (with other schedulers) Your node solves this problem. 
> 
> In my Node Red system I have a light turned on at 5:20 am along with an internet radio, Mondays to Friday. No action on the weekend. The problem I have is that when there is a long weekend I would like to easily disable a normally scheduled event. I would rather sleep in than get woken up by the light and music. 
> 
> I can see how I could go in and modify the schedule, but that is a number of steps and I will again have to restore the normal settings after the day had passed, or until the timer is reactivated. (I just thought of vacation days where I would be off for a number of days)
> 
> And the manual turn on button could be helpful for some although it is not as significant as being able to disable the timer.
> 
> Ideally I would like to see the disable button on the description bar.

---

<div class="post-metadata">

**Author:** ![Stefan\_Bambach](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@Stefan\_Bambach](https://discourse.nodered.org/u/Stefan_Bambach)\
**Post date:** [29 August 2022 09:05 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842/5 "2022-08-29T09:05:54Z")

</div>

I want a button on the node-red Dashboard....

---

<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:** [28 October 2022 09:06 UTC](https://discourse.nodered.org/t/input-json-string-node-red-contrib-ui-time-scheduler/66842/6 "2022-10-28T09:06:31Z")

</div>

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