# How do I get a token from a samsung TV?

**URL:** https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267
**Category:** General
**Created:** [28 January 2026 21:03 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267 "2026-01-28T21:03:43Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Elindo586](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/elindo586/32/105439_2.png) [@Elindo586](https://discourse.nodered.org/u/Elindo586)
#### Post date: [28 January 2026 21:03 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/1 "2026-01-28T21:03:43Z")

</div>

I am using this node:

# node-red-contrib-samsung-tv-control

It says a token should show up on the debug window, but I see nothing.

Does anybody have any information is this node is working?

---

<div class="post-metadata">

### Author: ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)
#### Post date: [28 January 2026 21:14 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/2 "2026-01-28T21:14:33Z")

</div>

> [@Elindo586](#):
>
> node-red-contrib-samsung-tv-control

that node does not work reliably ☹ .. i had it working once but after an upgrade I never got it working again .. due to token issue.

I think the network comms or handshake with the TV is not properly implemented

---

<div class="post-metadata">

### Author: ![Elindo586](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/elindo586/32/105439_2.png) [@Elindo586](https://discourse.nodered.org/u/Elindo586)
#### Post date: [28 January 2026 21:17 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/3 "2026-01-28T21:17:38Z")

</div>

Oh well... apparently you can try the Samsung API too...

With so many nodes in Node-RED, would be nice to have a way to know which ones are working and which ones are not..

Thank you!

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [28 January 2026 21:33 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/4 "2026-01-28T21:33:55Z")

</div>

How old is the TV?  
Does it have Smart things?

I control my Samsung from the authentic Samsung automation studio nodes.

- On/Off
- Source Input change
- Sound level

Etc etc

But they require a Samsung smart things TV  
Yes it’s cloud - but I can’t fault their nodes

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [29 January 2026 01:00 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/5 "2026-01-29T01:00:40Z")

</div>

I use that node/thing and it works for most things.

To get the `token` you have to go into the TV's menu and find the option to allow network control and get a token.

I can help with more details if you want.  
But it may depend on the TV model exactly where it is in the menu structure.

---

<div class="post-metadata">

### Author: ![Elindo586](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/elindo586/32/105439_2.png) [@Elindo586](https://discourse.nodered.org/u/Elindo586)
#### Post date: [29 January 2026 15:57 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/6 "2026-01-29T15:57:24Z")

</div>

Yes, it is a newer TV and it is connected to smart things from Samsung. I might try it that way when I get a little time.

---

<div class="post-metadata">

### Author: ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)
#### Post date: [29 January 2026 17:05 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/7 "2026-01-29T17:05:27Z")

</div>

> **[node-red-contrib-samsung-automation-studio-nodes](https://flows.nodered.org/node/node-red-contrib-samsung-automation-studio-nodes)**
>
> Samsung Automation Studio Nodes for Node-RED

Just need a developer key from smart things website

---

<div class="post-metadata">

### Author: ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)
#### Post date: [31 January 2026 16:33 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/8 "2026-01-31T16:33:30Z")

</div>

As you are/were talking about the `node-red-contrib-samsung-tv-contorol` you navigate the TV's menu to the `hdmi control` (I think it is) and ask the TV for the token.

It is a number and you enter it in the config part of that node's config page.

Then all works.

There is/are problems - and I've got them - that if you don't _use_ the nodes to control the TV for a long time, the _go to sleep_ and the first command (usually) gets _lost_.  
So if you are changing channels from.... say 123 to 456. The `4` gets lost.

My _HACK_ is if it has been a _long time_ between sending commands I send a `volume up` and `volume down` command(s) first. (that is actually TWO, but.....)  
Then it seems to work better.

you just have to watch out for _volume creep_ over a long time.

OH!  
Something else - which isn't important but can catch you if you are trying to be _too smart_!!  
BOTH devices have to be on the same LAN!

---

<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: [1 April 2026 16:34 UTC](https://discourse.nodered.org/t/how-do-i-get-a-token-from-a-samsung-tv/100267/9 "2026-04-01T16:34:24Z")

</div>

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