Trigger Question and trigger reset question

Hello
first i have a trigger to avoid to get to many telegram so the Trigger 180Min will wait this time, this part work. But is there a way in the node config part to check how long the 180min are going on?

Second,
the waiting for 180min have to be interupted at 5:30 AM and will get the next message as soon there is one.
How to check if the reset injection did work? Or how the reset-injection-node have to be configured?

have a nice day
vinc

Not sure about the first, the question confused me

The second you could have a debug that show time last triggered as below.

[{"id":"564c0344.615fe4","type":"inject","z":"6524ce52.cafd2","name":"","props":[{"p":"reset","v":"true","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"30 17 * * *","once":false,"onceDelay":0.1,"topic":"","x":150.00001525878906,"y":1063.9999389648438,"wires":[["7e9720ad.01208","c3724858.a919d8"]]},{"id":"7e9720ad.01208","type":"trigger","z":"6524ce52.cafd2","name":"","op1":"1","op2":"0","op1type":"val","op2type":"val","duration":"250","extend":"false","units":"ms","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":380.00001525878906,"y":1103.9999389648438,"wires":[[]]},{"id":"c3724858.a919d8","type":"debug","z":"6524ce52.cafd2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"$moment().format(\"ddd HH:mm:ss\")\t\t\t","statusType":"jsonata","x":320.00001525878906,"y":1043.9999389648438,"wires":[]}]

@E1cid
your Trigger-Reset-Node works Merci
the other - would be nice there would be a counddown below the trigger button to see how long it have to go.

You could put in a feature request here

at least it is not a point I missed :wink:

You could use the debug again to show when trigger will send. It's not a count down but will give you a time.

[{"id":"564c0344.615fe4","type":"inject","z":"6524ce52.cafd2","name":"","props":[{"p":"reset","v":"true","vt":"bool"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"30 17 * * *","once":false,"onceDelay":0.1,"topic":"","payloadType":"str","x":150.00001525878906,"y":1063.9999389648438,"wires":[["7e9720ad.01208","c3724858.a919d8","20a26fcd.f2d89"]]},{"id":"7e9720ad.01208","type":"trigger","z":"6524ce52.cafd2","name":"","op1":"","op2":"","op1type":"pay","op2type":"payl","duration":"180","extend":true,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":410,"y":1120,"wires":[["ddcb339c.d115b"]]},{"id":"c3724858.a919d8","type":"debug","z":"6524ce52.cafd2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"$moment().format(\"ddd HH:mm:ss\")\t\t\t","statusType":"jsonata","x":320.00001525878906,"y":1043.9999389648438,"wires":[]},{"id":"20a26fcd.f2d89","type":"trigger","z":"6524ce52.cafd2","name":"","op1":"","op2":"","op1type":"pay","op2type":"payl","duration":"180","extend":false,"units":"min","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":410,"y":1280,"wires":[["1b645571.e1b01b","ddcb339c.d115b"],["ddcb339c.d115b"]]},{"id":"ddcb339c.d115b","type":"change","z":"6524ce52.cafd2","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":700,"y":1140,"wires":[[]]},{"id":"da171be6.24f9b","type":"inject","z":"6524ce52.cafd2","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":1120,"wires":[["7e9720ad.01208","ce38cc84.62ab","20a26fcd.f2d89"]]},{"id":"1b645571.e1b01b","type":"debug","z":"6524ce52.cafd2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"$moment().add(180, 'minutes').format(\"ddd HH:mm:ss\")\t","statusType":"jsonata","x":430,"y":1320,"wires":[]},{"id":"ce38cc84.62ab","type":"debug","z":"6524ce52.cafd2","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"$moment().add(180, 'minutes').format(\"ddd HH:mm:ss\")\t","statusType":"jsonata","x":430,"y":1160,"wires":[]}]

Two examples one for a resetting trigger when another message is received and one for when that option is not set.

there is a small blue dot below when activ and counting down

Yes, the other debug adds 180 minutes and gives a time when the countdown will end.

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