So I might be doing this wrong. I have a notify when my phone reaches 80%+ charging to disconnect it (some say this can save battery life) but ofc I get spammed where I would only need one notify. So I found out about the RBE node and that it could be used to block if value is greater. So I tried with inject nodes and a debug node at the end but I can't figure it out.
Inject A value 80
Inject B value 81
rbe node in "Block if value change is greater or equal to"
I've set it to "80" and "compared to last input value"
And a debug node.
So I push the Inject A and message goes trough, I push inject B and the message also goes trough. Am I missing something?
[{"id":"8aebf30f.53c138","type":"inject","z":"e7e4820d.85adf","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"80","payloadType":"str","x":670,"y":740,"wires":[["26b409ab.f80dae"]]},{"id":"4ff87952.259528","type":"inject","z":"e7e4820d.85adf","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"81","payloadType":"str","x":670,"y":800,"wires":[["26b409ab.f80dae"]]},{"id":"40a1a7dc.1e3318","type":"debug","z":"e7e4820d.85adf","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1090,"y":760,"wires":[]},{"id":"26b409ab.f80dae","type":"rbe","z":"e7e4820d.85adf","name":"","func":"narrowbandEq","gap":"80","start":"","inout":"in","property":"payload","x":890,"y":760,"wires":[["40a1a7dc.1e3318"]]}]
EDIT: I'm on version 1.2.5 (Home Assistant)