Repository navigation
Replies: 2 comments
|
@PeterHunt hm what output do you mean? Please send an example |
|
(Drafted by Claude, Anthropic's AI coding assistant, after walking through the sender code path to see whether two senders sharing a bot config could ever cross-emit. Posted by the maintainer.) @PeterHunt — the short answer is that the architecture rules this out: two Why the senders can't cross-fire architecturallyA few facts about the sender (
Put together: when sender A successfully sends a message, only sender A's output emits. Sender B's output stays silent unless something in your flow drives messages into sender B independently. What's most likely actually happeningIn order of probability: 1. Both senders are wired to a common upstream. This is by far the most common shape that produces the symptom you described. If some inject / function / route / change node feeds both sender A and sender B, then every time that upstream fires, both senders receive the message in parallel and both attempt to send. From the outside it looks like "A is sending, B's output also fires" — but actually both A and B fired together, you're just only watching one of them closely. 2. A receiver / event / command node is the actual source. If you have a 3. Pinned / sticky debug-node state. Node-RED's debug sidebar shows historical messages tagged with the originating node. Depending on how the debug nodes are attached, it can be ambiguous which sender produced which line — especially if you scroll back over earlier traffic. What would help confirmThree things would let us narrow this in one round:
If (1) confirms a shared upstream, this is working as designed and you can split the upstream into two distinct paths if you want only-A or only-B behaviour. If (1) shows independent flows but (2) confirms it really is sender B's output emitting with sender A's payload, that's a genuine bug worth chasing — and we'll need a minimal reproduction flow (export the two tabs via the Node-RED menu) so it can be loaded against a mock bot in the test harness. |
Uh oh!
There was an error while loading. Please reload this page.
Hello Karl-Heinz,
My NodeRED project consists of several tabs. 2 tabs have a Telegram Sender node, using the same BOT. As far as I know, this allways worked fine. But I just noticed, if the Sender node on tab 1 is sending messages, I see these messages on the output of the other sender node. Is this normal behaviour?
Kind regards,
Peter Hunt
All reactions