Haxiboy / node-red-contrib-looptimer-advanced

Node-Red Advanced Looptimer
https://porteleki.hu
2 stars 1 forks source link

feature request: pause/resume #7

Open bit-refresher opened 8 months ago

bit-refresher commented 8 months ago

Thank you very much or providing this node. I'm using it for sending XMMP-messages triggered by windows having been open for a longer time (depending on outside temperature and some other stuff). I also included functions that supress the XMMP-messages for a given time or until next morning.

As a precaution - according to you advice - I configured the node with msg.loop.maxloops and msg.loop.maxtimeout. Sending my alarm messages again after the end of a quiet phase requires greater values than I would normally choose. Therefore this seems to be the second best solution.

It would be fine if your node would not only be able beeing stopped, but also be able being paused.

Is there any chance to implement 'pause' and 'resume' triggered by incoming messages? These commands represented by payload would ensure compatibiltiy with recent versions. A special control-topic would also be fine.

Thanks for reading up to here.

bit-refresher

Haxiboy commented 8 months ago

Hello. Thank you for your kind words. Sure, it is possible to implement pause and resume functions. I'll look into it in the weekend and publish a New version after some testing.

Regards, Péter

bit-refresher commented 8 months ago

Hi, glad to read. Great offer, don't hurry too much - I'll be patient.

greatings bit-refresher