Set Switch: Easy Question

Are you sure the string you pasted in the switch node is the exact same as the one you are expecting from MQTT ?

2 Likes

Can you feed what it going into the switch node into a debug node and show us a screenshot. Blank out the middle of the string if necessary but leave the ends please.
You don't need to worry about _msgid that is just an id that is created by node red for each message.

1 Like

sorry sorry sorry I took your valuable time. on closer inspection, i noticed that sometimes the value changes. this is an rf code from rf remote. I don't understand why it is different. very strange, I've never had.

@all
thank you for your help!

1 Like

Rolling code maybe?

Now check, which part stays the same and use the switch node and check for "contains" instead of ==

Thank for URL

But this was not a Rolling Code. I Use this RF Devices previous with another devices. The Code was the same..

Short:
I Use a 433 RF bridge with a mqtt in node. The received Code from bridge to node was wrong set.

Hi Stefan,

Everything is okay. It is function :slight_smile:

Thaks you & habe a nice day

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