Problem with MQTT and switch update

Is the mqtt back in really providing a boolean ? add a debug to check.

In MQTT Explorer yes
image

but i am not finding anything in debug console ?

add the debug before the switch - on the output of the mqtt node

same punition

well then you aren't subscribed to the correct topic ... you either need the full correct topic or to use correct wildcard # at the end.

Have you got a trailing slash at the end of your MQTT topic in your node?
Try removing it.

1 Like

Is better now but not solved yet. Because it s like if node red has over ride control.
I mean when i use my homey app to switch on the light for example, and that the switch is off on node red, then the light goes on then off immediately like if nodered has over rights.

Weird ?

Subject moved to its own thread - Node red master rules?