Payload Boolean message

How can i change the led colour by the true or false payload message?

Your payload seems to be an array
payload: [true]
whereas it needs to be a boolean
payload: true

How to put it as boolean?

If you could be confident that the value you want is the first element of the array, you could use a change node:

I have no knowledge of the FINS Read Multiple node, but looking at the name, I'd guess it might sometimes return an array with multiple elements. That's why I didn't make a suggestion in my first answer.

1 Like