Assistance with Basic Input to a Node

I am using this Node
node-red-contrib-tplink (node) - Node-RED (nodered.org)

Controls

Control a device by setting its properties.

string | Object

  • true | on - Turn on the device

I am simply trying to turn it on.

I am using a change node to set the msg.payload to String "on" or "true" but it doesnt turn on the device. I even tried msg.payload.on without success.

I assume it is something super basic, but if you could point me in the right direction please? Thank you.
image

I haven't used that node but looking at the spec it appears that it also interprets msg.topic. I suggest adding a Delete msg.topic to the change node, unless you are sure the topic does not exist.

That was exactly it! Thank you

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