# Samsung TV node KEY\_CUSTOM

**URL:** <https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151>\
**Category:** General\
**Created:** [4 August 2020 22:41 UTC](https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151 "2020-08-04T22:41:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnauk](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@dnauk](https://discourse.nodered.org/u/dnauk)\
**Post date:** [4 August 2020 22:41 UTC](https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151/1 "2020-08-04T22:41:08Z")

</div>

I have been using the excellent node-red-contrib-samsungTV. I note the presence of KEY\_CUSTOM in the list of commands. Can anyone explain whether this works to send a custom key and if so how. For example KEY\_ENTER and KEY\_EXIT are missing. I can manually edit the flows to include these, and this works but is then invisible in the GUI editing.

---

<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:** [4 August 2020 22:57 UTC](https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151/2 "2020-08-04T22:57:12Z")

</div>

I suggest you ask the person who wrote it:

[Here](https://github.com/Toxblh/node-red-contrib-samsung-tv-control)

If it the one of which I am thinking.

---

<div class="post-metadata">

**Author:** ![dnauk](https://avatars.discourse-cdn.com/v4/letter/d/4da419/32.png) [@dnauk](https://discourse.nodered.org/u/dnauk)\
**Post date:** [6 August 2020 15:08 UTC](https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151/3 "2020-08-06T15:08:10Z")

</div>

DOH - checked help in the gui - simple, leave command empty and pass values as msg.command - works with KEY\_ENTER and KEY\_EXIT.

I do have issues with HDMI input selection. KEY\_HDMI gives HDMI2 while KEY\_HDMI1 to KEY\_HDMI4 do nothing (the result is given as "success" no error message).

---

<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:** [7 August 2020 00:45 UTC](https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151/4 "2020-08-07T00:45:14Z")

</div>

You are ahead of me with that.

But I would do it the other way and say:

`input select` then left/right to select the desired input.

So what exactly do you mean with the `KEY_CUSTOM` and how it works?

---

<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:** [6 October 2020 00:45 UTC](https://discourse.nodered.org/t/samsung-tv-node-key-custom/31151/5 "2020-10-06T00:45:24Z")

</div>

Closed on 6 October 2020 00:45 UTC

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