Start the dropdown values on button click

The error says, as I presume you know, that the gpio node has been given something that is Not a Number (NaN).
Add debug nodes and work backwards up the flow until you find at which node the problem is arising. Then look at the inputs to that node and work out why that is happening. If you can't work it out then show us what the input to the node is and what output it is getting.

[Edit] Hint: I would start by looking at flow.start and what you are doing with it. Any message that you send to the GPIO pin must contain a number in msg.payload.

i tried as you said , and got speed variation(KM/HR) dropdown value on gpio pwm pin.
But its not getting trigger value time selection (PICK THE TIME) dropdown on gpio pwm pin.

Ok now we have a simpler flow and we can see the issue. you are passing on the object flow.start and not splitting it up again. i also added a better delay as no need for all those triggers and the switch node.

[{"id":"1ad9dfd.a1875a","type":"change","z":"a2d9cfcc.919dd8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"flow"},{"t":"set","p":"delay","pt":"msg","to":"payload.time * 1000","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"payload.km","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":1000,"wires":[["20fd489b.c29c18"]]},{"id":"e7cfe072.17193","type":"ui_button","z":"a2d9cfcc.919dd8","name":"","group":"2f23efef.2028b8","order":10,"width":6,"height":2,"passthru":true,"label":"start","tooltip":"","color":"","bgcolor":"","icon":"","payload":"start","payloadType":"str","topic":"","x":350,"y":1000,"wires":[["1ad9dfd.a1875a"]]},{"id":"20fd489b.c29c18","type":"trigger","z":"a2d9cfcc.919dd8","name":"","op1":"1","op2":"","op1type":"str","op2type":"payl","duration":"100","extend":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":710,"y":1000,"wires":[["1bc8c708.8d4999"],["6432888e.605e5"]]},{"id":"ec09be9c.32351","type":"inject","z":"a2d9cfcc.919dd8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":210,"y":1000,"wires":[["e7cfe072.17193"]]},{"id":"6432888e.605e5","type":"delay","z":"a2d9cfcc.919dd8","name":"","pauseType":"delayv","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":1000,"y":1000,"wires":[["79a113fb.bd1a84"]]},{"id":"1bc8c708.8d4999","type":"change","z":"a2d9cfcc.919dd8","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":850,"y":940,"wires":[["6432888e.605e5"]]},{"id":"79a113fb.bd1a84","type":"debug","z":"a2d9cfcc.919dd8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1050,"y":860,"wires":[]},{"id":"309fe7b0.cc9648","type":"change","z":"a2d9cfcc.919dd8","name":"","rules":[{"t":"set","p":"start","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":650,"y":800,"wires":[[]]},{"id":"eff140b6.620c98","type":"join","z":"a2d9cfcc.919dd8","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":490,"y":800,"wires":[["309fe7b0.cc9648"]]},{"id":"209df910.3e5de6","type":"ui_dropdown","z":"a2d9cfcc.919dd8","name":"","label":"KM/HR","tooltip":"","place":"Select option","group":"2f23efef.2028b8","order":7,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"","value":"10","type":"str"},{"label":"","value":"20","type":"str"},{"label":"","value":"30","type":"str"},{"label":"","value":"40","type":"str"},{"label":"","value":"50","type":"str"},{"label":"","value":"60","type":"str"},{"label":"","value":"70","type":"str"},{"label":"","value":"80","type":"str"},{"label":"","value":"90","type":"str"},{"label":"","value":"100","type":"str"}],"payload":"","topic":"km","x":320,"y":800,"wires":[["eff140b6.620c98"]]},{"id":"105cc283.982e35","type":"inject","z":"a2d9cfcc.919dd8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"30","payloadType":"num","x":190,"y":800,"wires":[["209df910.3e5de6"]]},{"id":"8a180ca.efbaa7","type":"inject","z":"a2d9cfcc.919dd8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"300","payloadType":"num","x":130,"y":700,"wires":[["d7ffc874.69cdc"]]},{"id":"d7ffc874.69cdc","type":"ui_dropdown","z":"a2d9cfcc.919dd8","name":"","label":"Pick the Time","tooltip":"","place":"-","group":"2f23efef.2028b8","order":3,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"5 min","value":300,"type":"num"},{"label":"10 min","value":600,"type":"num"},{"label":"15 min","value":900,"type":"num"},{"label":"20 min","value":1200,"type":"num"},{"label":"25 min","value":1500,"type":"num"},{"label":"30 min","value":1800,"type":"num"}],"payload":"","topic":"time","x":310,"y":700,"wires":[["eff140b6.620c98"]]},{"id":"2f23efef.2028b8","type":"ui_group","z":"","name":"Default","tab":"86fced02.85abd","order":1,"disp":false,"width":18,"collapse":false},{"id":"86fced02.85abd","type":"ui_tab","z":"","name":"USER","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

Sorry for late reply...
I tried your flow but nothing is showing in debug window and raspberry pi gpio pwm pin...

started

300 seconds later


So you must have a setting wrong as yours shows reset.
As i can tell nothing else from an image, you will need to post more info.

I have changed nothing in the flow given by you...
I want to use both dropdown values simultaneously... i don't want delay... i want trigger time using dropdown with the speed of pwm gpio pin km/hrs...

I am working on treadmill programming so what i actually want to do is :-

  1. first i want to do programming of time period, that's the reason i used trigger and dropdown node.
    I want to give trigger time to motor.

  2. second dropdown node value will be used to give speed to motor.

  3. When start button is clicked motor should run at the given speed till the given time.

It is normal treadmiill function.

If this is true then the flow should work.

Again with out info to look at i can tell nothing. I still await info i can use to help you. (maybe the flow and some debugs would help to see issue)

[edit]
to start at 30 for 300 seconds just change links and output 0 from trigger on second output. e.g.

[{"id":"df03edd6.500e2","type":"ui_dropdown","z":"57675e72.26a0d8","name":"","label":"KM/HR","tooltip":"","place":"Select option","group":"b2d54252.b73b08","order":7,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"","value":"10","type":"str"},{"label":"","value":"20","type":"str"},{"label":"","value":"30","type":"str"},{"label":"","value":"40","type":"str"},{"label":"","value":"50","type":"str"},{"label":"","value":"60","type":"str"},{"label":"","value":"70","type":"str"},{"label":"","value":"80","type":"str"},{"label":"","value":"90","type":"str"},{"label":"","value":"100","type":"str"}],"payload":"","topic":"km","x":240,"y":3500,"wires":[["572cde5d.03af08"]]},{"id":"572cde5d.03af08","type":"join","z":"57675e72.26a0d8","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":410,"y":3500,"wires":[["d5f36ada.2fa748"]]},{"id":"b41d75d4.992ca","type":"inject","z":"57675e72.26a0d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"30","payloadType":"num","x":270,"y":3540,"wires":[["df03edd6.500e2"]]},{"id":"d5f36ada.2fa748","type":"change","z":"57675e72.26a0d8","name":"","rules":[{"t":"set","p":"start","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":570,"y":3500,"wires":[[]]},{"id":"d550cd25.09e51","type":"ui_dropdown","z":"57675e72.26a0d8","name":"","label":"Pick the Time","tooltip":"","place":"-","group":"b2d54252.b73b08","order":3,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"5 min","value":300,"type":"num"},{"label":"10 min","value":600,"type":"num"},{"label":"15 min","value":900,"type":"num"},{"label":"20 min","value":1200,"type":"num"},{"label":"25 min","value":1500,"type":"num"},{"label":"30 min","value":1800,"type":"num"}],"payload":"","topic":"time","x":230,"y":3400,"wires":[["572cde5d.03af08"]]},{"id":"2f76a29b.a97ebe","type":"inject","z":"57675e72.26a0d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"300","payloadType":"num","x":250,"y":3460,"wires":[["d550cd25.09e51"]]},{"id":"90218ecd.e20a18","type":"ui_button","z":"57675e72.26a0d8","name":"","group":"b2d54252.b73b08","order":10,"width":6,"height":2,"passthru":true,"label":"start","tooltip":"","color":"","bgcolor":"","icon":"","payload":"start","payloadType":"str","topic":"","x":270,"y":3700,"wires":[["20c35540.716ba2"]]},{"id":"596448bf.f07388","type":"inject","z":"57675e72.26a0d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":290,"y":3640,"wires":[["90218ecd.e20a18"]]},{"id":"20c35540.716ba2","type":"change","z":"57675e72.26a0d8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"flow"},{"t":"set","p":"delay","pt":"msg","to":"payload.time * 1000","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"payload.km","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":3700,"wires":[["110788af.a7b34f"]]},{"id":"110788af.a7b34f","type":"trigger","z":"57675e72.26a0d8","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"100","extend":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":630,"y":3700,"wires":[["c797ea0e.467bd8","a38eca46.4ddc08"],["81300a29.84783"]]},{"id":"c797ea0e.467bd8","type":"change","z":"57675e72.26a0d8","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":830,"y":3680,"wires":[["81300a29.84783"]]},{"id":"81300a29.84783","type":"delay","z":"57675e72.26a0d8","name":"","pauseType":"delayv","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":860,"y":3740,"wires":[["a38eca46.4ddc08"]]},{"id":"a38eca46.4ddc08","type":"debug","z":"57675e72.26a0d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":970,"y":3560,"wires":[]},{"id":"b2d54252.b73b08","type":"ui_group","z":"","name":"Default","tab":"ff26331e.3d5ae","order":1,"disp":false,"width":18,"collapse":false},{"id":"ff26331e.3d5ae","type":"ui_tab","z":"","name":"USER","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

start


300 secs later

2021-01-29-184212_1920x1080_scrot (1)

i have two dropdown nodes...
one for time selection (PICK THE TIME) dropdown and one for speed variation(KM/HR) dropdown...
both dropdown values are given to raspberry pi pwm pin...
if both dropdown value are given to the same gpio pwm pin...
then i face "Invalid input: NaN" issue...

[{"id":"66f70775.fd6848","type":"ui_dropdown","z":"f6e684c3.a68d78","name":"","label":"Pick the Time","tooltip":"","place":"-","group":"75ebe64b.2bbd88","order":3,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"5 min","value":300,"type":"num"},{"label":"10 min","value":600,"type":"num"},{"label":"15 min","value":900,"type":"num"},{"label":"20 min","value":1200,"type":"num"},{"label":"25 min","value":1500,"type":"num"},{"label":"30 min","value":1800,"type":"num"}],"payload":"","topic":"time","x":120,"y":140,"wires":[["3eabcd42.651ce2","73b25b7a.60ff84"]]},{"id":"3eabcd42.651ce2","type":"change","z":"f6e684c3.a68d78","name":"","rules":[{"t":"set","p":"topic","pt":"msg","to":"control","tot":"str"},{"t":"set","p":"payload","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":140,"wires":[["de04d10c.d2696"]]},{"id":"de04d10c.d2696","type":"countdown","z":"f6e684c3.a68d78","name":"","topic":"","payloadTimerStart":"true","payloadTimerStartType":"bool","payloadTimerStop":"false","payloadTimerStopType":"bool","timer":"30","resetWhileRunning":false,"setTimeToNewWhileRunning":true,"startCountdownOnControlMessage":false,"x":350,"y":60,"wires":[[],["e307ee07.6dfc6"]]},{"id":"e307ee07.6dfc6","type":"ui_text","z":"f6e684c3.a68d78","group":"75ebe64b.2bbd88","order":7,"width":6,"height":1,"name":"","label":"Time:","format":"{{msg.payload}}","layout":"row-spread","x":530,"y":67,"wires":[]},{"id":"461caede.5d061","type":"link out","z":"f6e684c3.a68d78","name":"to Relay","links":["5566747c.9f064c","f752cea5.b26c2"],"x":960,"y":140,"wires":[],"l":true},{"id":"4f6fbf86.23b4d","type":"ui_dropdown","z":"f6e684c3.a68d78","name":"","label":"KM/HR","tooltip":"","place":"Select option","group":"75ebe64b.2bbd88","order":7,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"","value":"10","type":"str"},{"label":"","value":"20","type":"str"},{"label":"","value":"30","type":"str"},{"label":"","value":"40","type":"str"},{"label":"","value":"50","type":"str"},{"label":"","value":"60","type":"str"},{"label":"","value":"70","type":"str"},{"label":"","value":"80","type":"str"},{"label":"","value":"90","type":"str"},{"label":"","value":"100","type":"str"}],"payload":"","topic":"km","x":540,"y":140,"wires":[["ce29dd8e.e7671","92148e81.280ca"]]},{"id":"ce29dd8e.e7671","type":"ui_numeric","z":"f6e684c3.a68d78","name":"","label":"Set Speed","tooltip":"","group":"e5aacdef.f9e53","order":12,"width":6,"height":1,"wrap":false,"passthru":true,"topic":"","format":"{{value}}","min":0,"max":"100","step":"5","x":750,"y":140,"wires":[["461caede.5d061"]]},{"id":"664125ce.a7cd7c","type":"trigger","z":"f6e684c3.a68d78","op1":"0","op2":"","op1type":"str","op2type":"str","duration":"300","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":650,"y":380,"wires":[["def58827.a0e168"]]},{"id":"f9391ca2.aa287","type":"trigger","z":"f6e684c3.a68d78","op1":"0","op2":"","op1type":"str","op2type":"str","duration":"600","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":650,"y":440,"wires":[["def58827.a0e168"]]},{"id":"34731956.e26c56","type":"switch","z":"f6e684c3.a68d78","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"300","vt":"num"},{"t":"eq","v":"600","vt":"num"},{"t":"eq","v":"900","vt":"num"},{"t":"eq","v":"1200","vt":"num"},{"t":"eq","v":"1500","vt":"num"},{"t":"eq","v":"1800","vt":"num"}],"checkall":"true","repair":false,"outputs":6,"x":390,"y":520,"wires":[["664125ce.a7cd7c"],["f9391ca2.aa287"],["bf7bd0ac.3aed8"],["3e34d4c0.3744dc"],["3a447976.dc3716"],["10a95e2a.a33a42"]]},{"id":"def58827.a0e168","type":"rpi-gpio out","z":"f6e684c3.a68d78","name":"","pin":"12","set":"","level":"0","freq":"","out":"pwm","x":960,"y":540,"wires":[]},{"id":"bf7bd0ac.3aed8","type":"trigger","z":"f6e684c3.a68d78","op1":"0","op2":"","op1type":"str","op2type":"str","duration":"900","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":650,"y":500,"wires":[["def58827.a0e168"]]},{"id":"3e34d4c0.3744dc","type":"trigger","z":"f6e684c3.a68d78","op1":"0","op2":"","op1type":"str","op2type":"str","duration":"1200","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":650,"y":560,"wires":[["def58827.a0e168"]]},{"id":"3a447976.dc3716","type":"trigger","z":"f6e684c3.a68d78","op1":"0","op2":"","op1type":"str","op2type":"str","duration":"1500","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":650,"y":620,"wires":[["def58827.a0e168"]]},{"id":"10a95e2a.a33a42","type":"trigger","z":"f6e684c3.a68d78","op1":"0","op2":"","op1type":"str","op2type":"str","duration":"1800","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":650,"y":680,"wires":[["def58827.a0e168"]]},{"id":"f752cea5.b26c2","type":"link in","z":"f6e684c3.a68d78","name":"","links":["6dfd925d.c0829c","15549a6d.0d0f66","461caede.5d061"],"x":775,"y":300,"wires":[["def58827.a0e168"]]},{"id":"380aaa8b.7dd886","type":"link in","z":"f6e684c3.a68d78","name":"","links":["15549a6d.0d0f66"],"x":215,"y":519,"wires":[["34731956.e26c56"]]},{"id":"73b25b7a.60ff84","type":"link out","z":"f6e684c3.a68d78","name":"","links":["b1513768.ee8068"],"x":275,"y":200,"wires":[]},{"id":"c17ec965.6fa8c8","type":"ui_button","z":"f6e684c3.a68d78","name":"","group":"75ebe64b.2bbd88","order":10,"width":6,"height":2,"passthru":false,"label":"start","tooltip":"","color":"","bgcolor":"","icon":"","payload":"start","payloadType":"str","topic":"","x":130,"y":780,"wires":[["66061d51.8a0934"]]},{"id":"f74f57d2.1e1508","type":"join","z":"f6e684c3.a68d78","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":210,"y":340,"wires":[["39312a1e.c82de6"]]},{"id":"39312a1e.c82de6","type":"change","z":"f6e684c3.a68d78","name":"","rules":[{"t":"set","p":"start","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":390,"y":340,"wires":[[]]},{"id":"66061d51.8a0934","type":"change","z":"f6e684c3.a68d78","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":360,"y":780,"wires":[["15549a6d.0d0f66"]]},{"id":"b1513768.ee8068","type":"link in","z":"f6e684c3.a68d78","name":"","links":["92148e81.280ca","73b25b7a.60ff84"],"x":435,"y":260,"wires":[["f74f57d2.1e1508"]]},{"id":"92148e81.280ca","type":"link out","z":"f6e684c3.a68d78","name":"","links":["b1513768.ee8068"],"x":640,"y":220,"wires":[]},{"id":"15549a6d.0d0f66","type":"link out","z":"f6e684c3.a68d78","name":"","links":["f752cea5.b26c2","380aaa8b.7dd886"],"x":275,"y":720,"wires":[]},{"id":"75ebe64b.2bbd88","type":"ui_group","z":"","name":"Default","tab":"1806c69.e61a639","order":1,"disp":false,"width":18,"collapse":false},{"id":"e5aacdef.f9e53","type":"ui_group","z":"","name":"User Facility","tab":"334da32c.51b0cc","order":1,"disp":false,"width":18,"collapse":false},{"id":"1806c69.e61a639","type":"ui_tab","z":"","name":"USER","icon":"dashboard","order":4,"disabled":false,"hidden":false},{"id":"334da32c.51b0cc","type":"ui_tab","z":"","name":"Facility","icon":"dashboard","order":5,"disabled":false,"hidden":false}]

Again where is info as to why my example is not working.
I can not help if you do not supply info.

this is the resulting output of your given flow...

I ask one last time export the flow, we need to see settings
Also can i have the node-red version you are using

here is the sccreenshot of my nodered version and user settings

I think maybe you do not know how to export the flow and paste it here. Select the nodes you wish to share and then select Export > Copy to Clipboard. Then see this post for how to post it here - How to share code or flow json.

[{"id":"cbcc618f.7bbd5","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"f2f1c488.42ac68","type":"ui_dropdown","z":"cbcc618f.7bbd5","name":"","label":"KM/HR","tooltip":"","place":"Select option","group":"c97091ce.a1898","order":7,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"","value":"10","type":"str"},{"label":"","value":"20","type":"str"},{"label":"","value":"30","type":"str"},{"label":"","value":"40","type":"str"},{"label":"","value":"50","type":"str"},{"label":"","value":"60","type":"str"},{"label":"","value":"70","type":"str"},{"label":"","value":"80","type":"str"},{"label":"","value":"90","type":"str"},{"label":"","value":"100","type":"str"}],"payload":"","topic":"km","x":180,"y":180,"wires":[["7e5dd7e6.f0cbc8"]]},{"id":"7e5dd7e6.f0cbc8","type":"join","z":"cbcc618f.7bbd5","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":350,"y":180,"wires":[["58e448bd.d55ed8"]]},{"id":"782ebde9.8da2d4","type":"inject","z":"cbcc618f.7bbd5","name":"","topic":"","payload":"30","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":220,"wires":[["f2f1c488.42ac68"]]},{"id":"58e448bd.d55ed8","type":"change","z":"cbcc618f.7bbd5","name":"","rules":[{"t":"set","p":"start","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":510,"y":180,"wires":[[]]},{"id":"7926ecb4.5eec34","type":"ui_dropdown","z":"cbcc618f.7bbd5","name":"","label":"Pick the Time","tooltip":"","place":"-","group":"c97091ce.a1898","order":3,"width":6,"height":1,"passthru":true,"multiple":false,"options":[{"label":"5 min","value":300,"type":"num"},{"label":"10 min","value":600,"type":"num"},{"label":"15 min","value":900,"type":"num"},{"label":"20 min","value":1200,"type":"num"},{"label":"25 min","value":1500,"type":"num"},{"label":"30 min","value":1800,"type":"num"}],"payload":"","topic":"time","x":170,"y":80,"wires":[["7e5dd7e6.f0cbc8"]]},{"id":"ae1e7d20.0b755","type":"inject","z":"cbcc618f.7bbd5","name":"","topic":"","payload":"300","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":190,"y":140,"wires":[["7926ecb4.5eec34"]]},{"id":"451eb325.0773bc","type":"ui_button","z":"cbcc618f.7bbd5","name":"","group":"c97091ce.a1898","order":10,"width":6,"height":2,"passthru":true,"label":"start","tooltip":"","color":"","bgcolor":"","icon":"","payload":"start","payloadType":"str","topic":"","x":210,"y":380,"wires":[["67a2bc37.e2cab4"]]},{"id":"391907a4.fa5f08","type":"inject","z":"cbcc618f.7bbd5","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":230,"y":320,"wires":[["451eb325.0773bc"]]},{"id":"67a2bc37.e2cab4","type":"change","z":"cbcc618f.7bbd5","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"flow"},{"t":"set","p":"delay","pt":"msg","to":"payload.time * 1000","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"payload.km","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":370,"y":380,"wires":[["472dbc33.e52404"]]},{"id":"472dbc33.e52404","type":"trigger","z":"cbcc618f.7bbd5","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"100","extend":false,"units":"ms","reset":"","bytopic":"all","name":"","x":570,"y":380,"wires":[["a160ad04.3e19f","c88374b2.6df638"]]},{"id":"a160ad04.3e19f","type":"change","z":"cbcc618f.7bbd5","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":770,"y":360,"wires":[["30f8adae.3aa672"]]},{"id":"30f8adae.3aa672","type":"delay","z":"cbcc618f.7bbd5","name":"","pauseType":"delayv","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":800,"y":420,"wires":[["c88374b2.6df638"]]},{"id":"c88374b2.6df638","type":"debug","z":"cbcc618f.7bbd5","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":910,"y":240,"wires":[]},{"id":"c97091ce.a1898","type":"ui_group","z":"","name":"Default","tab":"7f9bc135.0ec06","order":1,"disp":false,"width":18,"collapse":false},{"id":"7f9bc135.0ec06","type":"ui_tab","z":"","name":"USER","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

You have edited the trigger node so it is no longer working , post 27 of this tread contains a working flow, with the correct trigger node and set up.

i did what you told me to do but it is still not working here is the screenshot

Your trigger node is missing settings, try updating your node-red as 1.06 is fairly old.

Or try this work around for your old version

[{"id":"e247997e.019898","type":"inject","z":"57675e72.26a0d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":380,"y":3600,"wires":[["8b4df1dd.402b4"]]},{"id":"8b4df1dd.402b4","type":"ui_button","z":"57675e72.26a0d8","name":"","group":"b2d54252.b73b08","order":2,"width":0,"height":0,"passthru":true,"label":"Stop","tooltip":"","color":"","bgcolor":"","icon":"","payload":"0","payloadType":"num","topic":"","x":530,"y":3600,"wires":[["a38eca46.4ddc08","c797ea0e.467bd8"]]},{"id":"a38eca46.4ddc08","type":"debug","z":"57675e72.26a0d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1030,"y":3700,"wires":[]},{"id":"c797ea0e.467bd8","type":"change","z":"57675e72.26a0d8","name":"","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":630,"y":3740,"wires":[["81300a29.84783"]]},{"id":"81300a29.84783","type":"delay","z":"57675e72.26a0d8","name":"","pauseType":"delayv","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":840,"y":3740,"wires":[["a38eca46.4ddc08"]]},{"id":"d6b15e37.3f5ea8","type":"switch","z":"57675e72.26a0d8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"0","vt":"num"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":800,"y":3700,"wires":[["81300a29.84783"],["c797ea0e.467bd8","a38eca46.4ddc08"]]},{"id":"110788af.a7b34f","type":"trigger","z":"57675e72.26a0d8","name":"","op1":"","op2":"0","op1type":"pay","op2type":"num","duration":"100","extend":false,"units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":630,"y":3700,"wires":[["d6b15e37.3f5ea8"]]},{"id":"20c35540.716ba2","type":"change","z":"57675e72.26a0d8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"start","tot":"flow"},{"t":"set","p":"delay","pt":"msg","to":"payload.time * 1000","tot":"jsonata"},{"t":"set","p":"payload","pt":"msg","to":"payload.km","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":3700,"wires":[["110788af.a7b34f"]]},{"id":"90218ecd.e20a18","type":"ui_button","z":"57675e72.26a0d8","name":"","group":"b2d54252.b73b08","order":10,"width":6,"height":2,"passthru":true,"label":"start","tooltip":"","color":"","bgcolor":"","icon":"","payload":"start","payloadType":"str","topic":"","x":270,"y":3700,"wires":[["20c35540.716ba2"]]},{"id":"596448bf.f07388","type":"inject","z":"57675e72.26a0d8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":470,"y":3640,"wires":[["90218ecd.e20a18"]]},{"id":"b2d54252.b73b08","type":"ui_group","z":"","name":"Default","tab":"ff26331e.3d5ae","order":1,"disp":false,"width":18,"collapse":false},{"id":"ff26331e.3d5ae","type":"ui_tab","z":"","name":"USER","icon":"dashboard","order":4,"disabled":false,"hidden":false}]

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