"Numeric" as delay pin trigger

Hello Friends, i'm new here an the last days i worked on my dashboard.

Node red is installed on a Raspberry Pi 3 and I want to build a onboard computer for my motorcycle with a self made chain oiler.

The layout is ready, the ds18b20 and the bme280 sensors work fine.

But now my problem begins.
I need flow for my chainoiler like this:
I want trigger a pin on the raspy for 1 seconds then the pin should go low wait 20seconds (adjustable with the numeric node) then the pin should go high for a second, turn low for 20seconds and so on.

I don't know how to do that flow =(

Sorry for my bad English, I hope you guys understand me.

Best regards
Pierre

Welcome to the forum Pierre

What have you tried so far?
See this guide for how to share your flow.

Hey Paul, thank you for your answer.
Here ist my flow till yet.

What i want:

If the "Kettenöler" (chainoiler) switch is on, a pin on the raspberry should go high for 1 second, then go low.
Bevor the pin goes high again there should bei a delay in seconds, adjustable with the numeric node "Sekunden/Tropen" (seconds per dip).

i dont know how to do that =(

[{"id":"5eb3c81f.5e5548","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"676b9707.4952f8","type":"inject","z":"5eb3c81f.5e5548","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"5","crontab":"","once":false,"onceDelay":0.1,"x":230,"y":320,"wires":[["d5ce1ebc.8abd8","8e7f84c0.7ca488"]]},{"id":"d5ce1ebc.8abd8","type":"rpi-ds18b20","z":"5eb3c81f.5e5548","topic":"","array":true,"name":"","x":450,"y":320,"wires":[["390af4d9.c4fa9c","4c3323ca.0aed8c","7bcbce6.02e633"]]},{"id":"d09dfec4.9fbe3","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Außentemperatur","group":"2ba0ecdd.afa884","order":1,"width":"5","height":"4","gtype":"gage","title":"<font size =6>Außen<font>   <font color=\"orange\"><i class=\"fa fa-thermometer-empty fa-1x\"></i> </font","label":"°C","format":"{{value}}","min":0,"max":"50","colors":["#0000ff","#00ff40","#ff0000"],"seg1":"15","seg2":"","x":1190,"y":280,"wires":[]},{"id":"9192130c.3ebe7","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Kühlwassertemperatur","group":"833a0b6c.a38848","order":1,"width":"6","height":"5","gtype":"gage","title":"<font size =6>Kühlwasser<font>  <font color=\"red\"> <i class=\"fa fa-thermometer-empty fa-1x\"></i> </font","label":"°C","format":"{{value}}","min":"50","max":"130","colors":["#0000ff","#00b500","#ff0000"],"seg1":"80","seg2":"110","x":1200,"y":320,"wires":[]},{"id":"390af4d9.c4fa9c","type":"function","z":"5eb3c81f.5e5548","name":"Außentemperatur","func":"msg.payload = parseFloat(msg.payload[0].temp).toFixed(1)\nreturn msg;","outputs":1,"noerr":0,"x":710,"y":280,"wires":[["d09dfec4.9fbe3"]]},{"id":"4c3323ca.0aed8c","type":"function","z":"5eb3c81f.5e5548","name":"Kühlwassertemperatur","func":"msg.payload = parseFloat(msg.payload[1].temp).toFixed(1)\nreturn msg;","outputs":1,"noerr":0,"x":720,"y":320,"wires":[["9192130c.3ebe7"]]},{"id":"7bcbce6.02e633","type":"function","z":"5eb3c81f.5e5548","name":"Öltemperatur","func":"msg.payload = parseFloat(msg.payload[2].temp).toFixed(1)\nreturn msg;","outputs":1,"noerr":0,"x":690,"y":360,"wires":[["92ba76d1.4ed848"]]},{"id":"92ba76d1.4ed848","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Öltemperatur","group":"833a0b6c.a38848","order":2,"width":"6","height":"5","gtype":"gage","title":"<font size =6>Öl<font>  <font color=\"red\"> <i class=\"fa fa-thermometer-empty fa-1x\"></i> </font","label":"°C","format":"{{value}}","min":"50","max":"140","colors":["#0000ff","#00b500","#ff0000"],"seg1":"80","seg2":"120","x":1170,"y":360,"wires":[]},{"id":"dcdcf440.68f838","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Öldruck","group":"833a0b6c.a38848","order":3,"width":"6","height":"5","gtype":"gage","title":"<font size =6>Öl <font color=\"yellow\">  <i class=\"fa fa-sort-amount-asc fa-1x\"></i> </font","label":"Bar","format":"{{value}}","min":0,"max":"5","colors":["#ff0000","#00b500","#ff0000"],"seg1":"2,4","seg2":"3,2","x":1160,"y":920,"wires":[]},{"id":"a4953dd6.429b4","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Bordspannung","group":"833a0b6c.a38848","order":4,"width":"6","height":"5","gtype":"gage","title":"<font size =6>Bordspannung<font> <font color=\"green\">  <i class=\"fa fa-battery-half fa-1x\"></i> </font","label":"Volt","format":"{{value}}","min":"5","max":"18","colors":["#ff0000","#00b500","#ff0000"],"seg1":"11,5","seg2":"14,5","x":1180,"y":880,"wires":[]},{"id":"19ea51b5.0ded1e","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Reifendruck Vorne","group":"b35fa775.f265c8","order":1,"width":"6","height":"5","gtype":"gage","title":"<font size =6>Reifen Vorne <font color=\"yellow\">  <i class=\"fa fa-sort-amount-asc fa-1x\"></i> </font","label":"Bar","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1190,"y":1060,"wires":[]},{"id":"a7dd9bf.5a8de68","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Reifentemperatur Vorne","group":"b35fa775.f265c8","order":2,"width":"6","height":"5","gtype":"gage","title":"<font>  <font color=\"orange\"> <i class=\"fa fa-thermometer-empty fa-2x\"></i> </font","label":"°C","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1210,"y":1100,"wires":[]},{"id":"24d8e46f.79f26c","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Reifendruck Hinten","group":"b35fa775.f265c8","order":3,"width":"6","height":"5","gtype":"gage","title":"<font size =6>Reifen Hinten <font color=\"yellow\"> <i class=\"fa fa-sort-amount-asc fa-1x\"></i> </font","label":"Bar","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1190,"y":1160,"wires":[]},{"id":"62f9b499.56426c","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Reifentemperatur Hinten","group":"b35fa775.f265c8","order":4,"width":"6","height":"5","gtype":"gage","title":"<font> <font color=\"orange\">  <i class=\"fa fa-thermometer-empty fa-2x\"></i> </font","label":"°C","format":"{{value}}","min":0,"max":10,"colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":1210,"y":1200,"wires":[]},{"id":"8e7f84c0.7ca488","type":"Bme280","z":"5eb3c81f.5e5548","name":"","bus":"1","address":"0x76","topic":"bme280","extra":true,"x":440,"y":460,"wires":[["73633b85.ca1904","45557df5.e0a744"]]},{"id":"b4512269.6cb7","type":"ui_gauge","z":"5eb3c81f.5e5548","name":"Luftfeuchtigkeit","group":"2ba0ecdd.afa884","order":2,"width":"5","height":"4","gtype":"gage","title":"<font size =6>Luft<font> <font color=\"blue\">  <i class=\"fa fa-tint fa-1x\"></i> </font","label":"%","format":"{{value}}","min":0,"max":"100","colors":["#0080ff","#0040ff","#0000ff"],"seg1":"0","seg2":"","x":1180,"y":440,"wires":[]},{"id":"73633b85.ca1904","type":"function","z":"5eb3c81f.5e5548","name":"Luftfeuchtigkeit","func":"msg.payload = parseFloat(msg.payload.humidity).toFixed(0)\nreturn msg;","outputs":1,"noerr":0,"x":700,"y":440,"wires":[["b4512269.6cb7"]]},{"id":"abb7d957.76c418","type":"ui_text","z":"5eb3c81f.5e5548","group":"2ba0ecdd.afa884","order":3,"width":"7","height":"2","name":"Aktuelle Höhe über N.N.","label":"<font size =6>Aktuelle Höhe   ","format":"<font size =6> {{msg.payload}}m","layout":"row-spread","x":1210,"y":480,"wires":[]},{"id":"45557df5.e0a744","type":"function","z":"5eb3c81f.5e5548","name":"Höhe","func":"msg.payload = parseFloat(msg.payload.altitude_M).toFixed(0)\nreturn msg;","outputs":1,"noerr":0,"x":670,"y":480,"wires":[["abb7d957.76c418"]]},{"id":"67f757a.92d4da8","type":"ui_switch","z":"5eb3c81f.5e5548","name":"Kettenöler","label":"<font size =6>Kettenöler","tooltip":"","group":"2ba0ecdd.afa884","order":10,"width":"5","height":"2","passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"fa-cog fa-spin fa-4x","oncolor":"green","offvalue":"false","offvalueType":"bool","officon":"fa-power-off fa-4x","offcolor":"grey","x":450,"y":700,"wires":[["cb3d4ff9.e3079"]]},{"id":"76038a0e.9538d4","type":"inject","z":"5eb3c81f.5e5548","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":230,"y":620,"wires":[["67f757a.92d4da8","c5307206.6eb52"]]},{"id":"cb3d4ff9.e3079","type":"ui_led","z":"5eb3c81f.5e5548","group":"2ba0ecdd.afa884","order":12,"width":"2","height":"2","label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"green","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"name":"Kettenöler LED","x":1180,"y":700,"wires":[]},{"id":"100db837.1cf948","type":"ui_numeric","z":"5eb3c81f.5e5548","name":"Sekunden/Tropfen","label":"<font size =6>Sekunden/Tropfen","tooltip":"","group":"2ba0ecdd.afa884","order":8,"width":"7","height":"2","wrap":false,"passthru":true,"topic":"","format":"<font size =6>{{value}}","min":"20","max":"180","step":"20","x":670,"y":760,"wires":[[]]},{"id":"c5307206.6eb52","type":"ui_switch","z":"5eb3c81f.5e5548","name":"Quickshifter","label":"<font size =6>Quickshifter","tooltip":"","group":"2ba0ecdd.afa884","order":5,"width":"5","height":"2","passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"fa-cog fa-spin fa-4x","oncolor":"green","offvalue":"false","offvalueType":"bool","officon":"fa-power-off fa-4x","offcolor":"grey","x":450,"y":580,"wires":[["d2ecdc67.503d1","16c9e1b3.e2279e"]]},{"id":"d2ecdc67.503d1","type":"ui_led","z":"5eb3c81f.5e5548","group":"2ba0ecdd.afa884","order":7,"width":"1","height":"2","label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"red","value":"false","valueType":"bool"},{"color":"green","value":"true","valueType":"bool"}],"allowColorForValueInMessage":false,"name":"Quickshifter LED","x":1190,"y":580,"wires":[]},{"id":"c80829b5.750cf8","type":"ads1x15-raspi","z":"5eb3c81f.5e5548","property":"payload","name":"","chip":"IC_ADS1115","i2c_address":"ADDRESS_0x48","channel":"CHANNEL_0","samplesPerSecond":"SPS_250","progGainAmp":"PGA_4_096V","x":460,"y":880,"wires":[["6df1e622.24d428"]]},{"id":"b530922b.882fa","type":"function","z":"5eb3c81f.5e5548","name":"Öldruck","func":"\nreturn msg;","outputs":1,"noerr":0,"x":680,"y":920,"wires":[["dcdcf440.68f838"]]},{"id":"6df1e622.24d428","type":"function","z":"5eb3c81f.5e5548","name":"Bordspannung","func":"\nreturn msg;","outputs":1,"noerr":0,"x":700,"y":880,"wires":[["a4953dd6.429b4"]]},{"id":"c0d3e161.b3abd","type":"ads1x15-raspi","z":"5eb3c81f.5e5548","property":"payload","name":"","chip":"IC_ADS1115","i2c_address":"ADDRESS_0x48","channel":"CHANNEL_0","samplesPerSecond":"SPS_250","progGainAmp":"PGA_4_096V","x":460,"y":920,"wires":[["b530922b.882fa"]]},{"id":"16c9e1b3.e2279e","type":"rpi-gpio out","z":"5eb3c81f.5e5548","name":"","pin":"","set":"","level":"0","freq":"","out":"out","x":1150,"y":620,"wires":[]},{"id":"b78b2b56.a716f8","type":"rpi-gpio out","z":"5eb3c81f.5e5548","name":"","pin":"","set":"","level":"0","freq":"","out":"out","x":1150,"y":740,"wires":[]},{"id":"ff1c6cff.65268","type":"ui_ui_control","z":"5eb3c81f.5e5548","name":"","x":260,"y":160,"wires":[["b7ac37e6.8394e8"]]},{"id":"b7ac37e6.8394e8","type":"delay","z":"5eb3c81f.5e5548","name":"","pauseType":"delay","timeout":"40","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":450,"y":160,"wires":[["e68fe35c.98a88"]]},{"id":"e68fe35c.98a88","type":"change","z":"5eb3c81f.5e5548","name":"","rules":[{"t":"set","p":"ui_control.options.minLabelMinFontSize","pt":"msg","to":"22","tot":"num"},{"t":"set","p":"ui_control.options.maxLabelMinFontSize","pt":"msg","to":"22","tot":"num"},{"t":"set","p":"ui_control.options.labelMinFontSize","pt":"msg","to":"30","tot":"str"},{"t":"set","p":"ui_control.options.valueMinFontSize","pt":"msg","to":"36","tot":"str"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":160,"wires":[["9192130c.3ebe7","92ba76d1.4ed848","dcdcf440.68f838","a4953dd6.429b4","a7dd9bf.5a8de68","62f9b499.56426c","19ea51b5.0ded1e","24d8e46f.79f26c","88f2695d.ec9308"]]},{"id":"88f2695d.ec9308","type":"change","z":"5eb3c81f.5e5548","name":"","rules":[{"t":"set","p":"ui_control.options.pointer","pt":"msg","to":"false","tot":"bool"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":200,"wires":[["d09dfec4.9fbe3","b4512269.6cb7"]]},{"id":"2ba0ecdd.afa884","type":"ui_group","z":"","name":"Umgebungsbedingungen","tab":"1c07db11.fd2435","disp":false,"width":"26","collapse":false},{"id":"833a0b6c.a38848","type":"ui_group","z":"","name":"Motordaten","tab":"1c07db11.fd2435","order":2,"disp":false,"width":"26","collapse":false},{"id":"b35fa775.f265c8","type":"ui_group","z":"","name":"Reifendruck","tab":"1c07db11.fd2435","order":3,"disp":false,"width":"26","collapse":false},{"id":"1c07db11.fd2435","type":"ui_tab","z":"","name":"Motorraddisplay","icon":"dashboard","disabled":false,"hidden":true}]

Your flow includes a number of nodes which I don't have on my system (and I really don't want to install them), but please take a look at the trigger node, which may help with your flow.

i dont get it =(

is it so better? (only the specific flow)

[{"id":"c4702181.d7408","type":"inject","z":"5eb3c81f.5e5548","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":1470,"y":640,"wires":[["9311f93b.dfa8a8"]]},{"id":"9311f93b.dfa8a8","type":"ui_switch","z":"5eb3c81f.5e5548","name":"Kettenöler","label":"<font size =6>Kettenöler","tooltip":"","group":"2ba0ecdd.afa884","order":10,"width":"5","height":"2","passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"fa-cog fa-spin fa-4x","oncolor":"green","offvalue":"false","offvalueType":"bool","officon":"fa-power-off fa-4x","offcolor":"red","x":1690,"y":720,"wires":[["896c2c0.e5cc5d8"]]},{"id":"896c2c0.e5cc5d8","type":"ui_numeric","z":"5eb3c81f.5e5548","name":"Sekunden/Tropfen","label":"<font size =6>Sekunden/Tropfen","tooltip":"","group":"2ba0ecdd.afa884","order":7,"width":"6","height":"2","wrap":false,"passthru":true,"topic":"","format":"<font size =6>{{value}}","min":"20","max":"180","step":"20","x":1910,"y":780,"wires":[["f83cf942.334cd8"]]},{"id":"f83cf942.334cd8","type":"rpi-gpio out","z":"5eb3c81f.5e5548","name":"","pin":"","set":"","level":"0","freq":"","out":"out","x":2090,"y":780,"wires":[]},{"id":"2ba0ecdd.afa884","type":"ui_group","z":"","name":"Umgebungsbedingungen","tab":"1c07db11.fd2435","order":3,"disp":false,"width":"26","collapse":false},{"id":"1c07db11.fd2435","type":"ui_tab","z":"","name":"Motorraddisplay","icon":"dashboard","disabled":false,"hidden":true}]

Have you looked at the trigger node ?

yes but i dont know how to set it up with the numeric node =(

It has to be something like the inject node with interval time but adjustable with the numeric node, not fixes.

try something like this, not complete but may help, you will need to load the cronplus node before you add this, full node name is node-red-contrib-cron-plus

[{"id":"5239bd08.7e1714","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"8fac93df.29ad08","type":"ui_numeric","z":"5239bd08.7e1714","name":"Sekunden/Tropfen","label":"<font size =6>Sekunden/Tropfen","tooltip":"","group":"f1b663b.ad5f4a","order":7,"width":"0","height":"0","wrap":false,"passthru":true,"topic":"","format":"<font size =6>{{value}}","min":"20","max":"180","step":"1","x":170,"y":420,"wires":[["7e6e5b10.4b3fa4"]]},{"id":"eb331a2e.c4f528","type":"comment","z":"5239bd08.7e1714","name":"high one second low adjustable","info":"","x":450,"y":340,"wires":[]},{"id":"7e6e5b10.4b3fa4","type":"function","z":"5239bd08.7e1714","name":"program cron","func":"let z = msg.payload;\n\n\n\nmsg.payload =\n{\"command\":\"add\",\n\"name\":\"Timer1\",\n\"expression\":\"*/\" + z + \" * * * * * *\",\n\"payload\": 1,\n\"type\":\"str\",\n}\n\nnode.status({fill:\"blue\",shape:\"dot\",text:\"Payload \" + z});\n\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":420,"y":420,"wires":[["f20f695a.b2723"]]},{"id":"f20f695a.b2723","type":"cronplus","z":"5239bd08.7e1714","name":"timer","outputField":"payload","timeZone":"","options":[{"topic":"","payload":"","type":"str","expression":""}],"x":690,"y":420,"wires":[["4998c889.ce1f7"]]},{"id":"4998c889.ce1f7","type":"trigger","z":"5239bd08.7e1714","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"1","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":900,"y":420,"wires":[["43c8a112.c5d96"]]},{"id":"43c8a112.c5d96","type":"function","z":"5239bd08.7e1714","name":"show output","func":"let z = msg.payload;\n\nnode.status({fill:\"blue\",shape:\"dot\",text:\"Payload \" + z});\n\nreturn msg;","outputs":1,"noerr":0,"x":1110,"y":420,"wires":[[]]},{"id":"f1b663b.ad5f4a","type":"ui_group","z":"","name":"Umgebungsbedingungen","tab":"98b0b722.d8f158","order":3,"disp":false,"width":"26","collapse":false},{"id":"98b0b722.d8f158","type":"ui_tab","z":"","name":"Motorraddisplay","icon":"dashboard","disabled":false,"hidden":false}]
1 Like

Do you need exactly that or would something like a pulse width modulation signal with a period of 20 seconds and a variable on/off ratio do the job?

You've got me interested now Colin. What type of code do you see here? Essentially mine is a PWM signal but obviously you've got a better method in mind, I'd like to see your implementation so I can learn a little too.

Thank you very much gerry! you flow is nearly ecact that what i am looking for!

my flow look like this now and work perfect! (you habe to unstall boolean logig ultimate!)

[{"id":"ae81b4f7.3c6848","type":"InterruptFlowUltimate","z":"5eb3c81f.5e5548","name":"Interrupt Flow","triggertopic":"trigger","x":700,"y":660,"wires":[["55ddbfe9.7c0cc"]]},{"id":"67f757a.92d4da8","type":"ui_switch","z":"5eb3c81f.5e5548","name":"Kettenöler","label":"<font size =6>Kettenöler","tooltip":"","group":"2ba0ecdd.afa884","order":10,"width":"5","height":"2","passthru":true,"decouple":"false","topic":"trigger","style":"","onvalue":"true","onvalueType":"bool","onicon":"fa-cog fa-spin fa-4x","oncolor":"green","offvalue":"false","offvalueType":"bool","officon":"fa-power-off fa-4x","offcolor":"red","x":450,"y":660,"wires":[["ae81b4f7.3c6848"]]},{"id":"76038a0e.9538d4","type":"inject","z":"5eb3c81f.5e5548","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":"1","x":230,"y":620,"wires":[["c5307206.6eb52","67f757a.92d4da8"]]},{"id":"55ddbfe9.7c0cc","type":"trigger","z":"5eb3c81f.5e5548","op1":"1","op2":"0","op1type":"num","op2type":"num","duration":"1","extend":false,"units":"s","reset":"","bytopic":"all","name":"","x":930,"y":660,"wires":[[]]},{"id":"3101e30f.6ed82c","type":"cronplus","z":"5eb3c81f.5e5548","name":"timer","outputField":"payload","timeZone":"","options":[{"topic":"","payload":"","type":"str","expression":""}],"x":630,"y":740,"wires":[["ae81b4f7.3c6848"]]},{"id":"90b4f976.e46a58","type":"function","z":"5eb3c81f.5e5548","name":"program cron","func":"let z = msg.payload;\n\n\n\nmsg.payload =\n{\"command\":\"add\",\n\"name\":\"Timer1\",\n\"expression\":\"*/\" + z + \" * * * * * *\",\n\"payload\": 1,\n\"type\":\"str\",\n}\n\nnode.status({fill:\"blue\",shape:\"dot\",text:\"Payload \" + z});\n\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":450,"y":740,"wires":[["3101e30f.6ed82c"]]},{"id":"100db837.1cf948","type":"ui_numeric","z":"5eb3c81f.5e5548","name":"Sekunden/Tropfen","label":"<font size =6>Sekunden/Tropf","tooltip":"","group":"2ba0ecdd.afa884","order":7,"width":"6","height":"2","wrap":true,"passthru":false,"topic":"","format":"<font size =6>{{value}}","min":"20","max":"180","step":"20","x":250,"y":740,"wires":[["90b4f976.e46a58"]]},{"id":"2ba0ecdd.afa884","type":"ui_group","z":"","name":"Umgebungsbedingungen","tab":"1c07db11.fd2435","order":3,"disp":false,"width":"26","collapse":false},{"id":"1c07db11.fd2435","type":"ui_tab","z":"","name":"Motorraddisplay","icon":"dashboard","disabled":false,"hidden":true}]

Thank you very much!

Have a look at node-red-contrib-timeprop I think you may find that it does exactly what you want. It is given an input in the range 0 to 1 and generates a time proportioned signal representing that, with a configurable period.

1 Like

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