# Assistance with Basic Input to a Node

**URL:** <https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290>\
**Category:** General\
**Created:** [3 August 2023 13:09 UTC](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290 "2023-08-03T13:09:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![topnotchit](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@topnotchit](https://discourse.nodered.org/u/topnotchit)\
**Post date:** [3 August 2023 13:09 UTC](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290/1 "2023-08-03T13:09:29Z")

</div>

I am using this Node  
[node-red-contrib-tplink (node) - Node-RED (nodered.org)](https://flows.nodered.org/node/node-red-contrib-tplink)

### 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](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/5/9500f75ae465665d40e338c4cf94c2a0ecfec62f.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [3 August 2023 14:26 UTC](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290/2 "2023-08-03T14:26:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![topnotchit](https://avatars.discourse-cdn.com/v4/letter/t/e47774/32.png) [@topnotchit](https://discourse.nodered.org/u/topnotchit)\
**Post date:** [3 August 2023 14:39 UTC](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290/3 "2023-08-03T14:39:57Z")

</div>

> [@Colin](#):
>
> a Delete msg.topic to the change node

That was exactly it! Thank you

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 October 2023 14:40 UTC](https://discourse.nodered.org/t/assistance-with-basic-input-to-a-node/80290/4 "2023-10-02T14:40:25Z")

</div>

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