How to limit sent messages

Hello,

I’m having trouble finding the setting for a scene that allows sending messages when movement is detected in a room.

The problem is that the detector sends several values per second; as a result, I get spammed with messages (it’s a motion detector, so it only sends values of « 1 »; there is no transition to a « 0 » state).

How can I limit the messages sent?

Thank you for your help.

And if you check the box ‹ only if the state changes ›?

This should work…

Hello GBoulvin,

Thank you for your message.

Unfortunately not, the sensor still sends the same value (« 1 » when movement is detected. It never sends a value « 0 ») so this option is ineffective in my use case :disappointed_relieved:

Can you tell me more about your sensor?

I think your issue is part of a feature request:

Ah, great. Thanks for the link; indeed, it matches my issue :slight_smile: I just added a vote!

For the sensor, it’s a noname sensor that operates at 433MHz (received by RFlink gateway via NodeRed).

I haven’t had the chance to check out the Node-RED side yet, but wouldn’t it be possible to add a timer there?

Happy New Year!