# Logitech Harmony Extra - Node

**URL:** <https://discourse.nodered.org/t/logitech-harmony-extra-node/84302>\
**Category:** General\
**Created:** [4 January 2024 20:37 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302 "2024-01-04T20:37:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [4 January 2024 20:37 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/1 "2024-01-04T20:37:30Z")

</div>

When I am trying to use the following node:

> **[node-red-contrib-harmony-extra](https://flows.nodered.org/node/node-red-contrib-harmony-extra)**
>
> Harmony integration for Node-RED

I get the following error msg:

```auto
4 Jan 21:28:41 - [red] Uncaught Exception:
4 Jan 21:28:41 - [error] TypeError: Cannot read properties of undefined (reading 'getActivities')
    at /home/Wurmi/.node-red/node_modules/node-red-contrib-harmony-extra/harmony/harmony-server.js:112:19
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.
nodered.service: Consumed 14.787s CPU time.

```

Nodered restarts after a frew seconds, but when i try to configure a node, the error appears again an nodered crashes again.

Some ideas?  
Thanks for help!

---

<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:** [4 January 2024 21:03 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/2 "2024-01-04T21:03:14Z")

</div>

If you go to the node details using the link you posted, then click the link to go to its github page you will find that the page no longer exists. That suggests the node has been abandoned. I think you will have to look for an alternative solution.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [5 January 2024 04:43 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/3 "2024-01-05T04:43:14Z")

</div>

Use the [harmony-websocket](https://flows.nodered.org/node/node-red-contrib-harmony-websocket) node instead, this works (using it myself)

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [6 January 2024 22:17 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/4 "2024-01-06T22:17:52Z")

</div>

Thanks for your answers i will try the websocket node.

I have wasted the half day to talk with my Projector over IP but it wont work.

```auto
[
    {
        "id": "65a360cdd86bb4b4",
        "type": "inject",
        "z": "3994a18a.3ad7be",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 180,
        "y": 4240,
        "wires": [
            [
                "eef6e7468e6ceac7",
                "feb72608bb4cdc78"
            ]
        ]
    },
    {
        "id": "d2b61f98656d82bf",
        "type": "function",
        "z": "3994a18a.3ad7be",
        "name": "EIN",
        "func": "// Funktion für Node-RED\nconst buffer1 = Buffer.from([80, 74, 82, 69, 81]);\n\n// Erste Nachricht senden\nconst msg1 = {\n payload: buffer1,\n topic: \"ersterBufferwert\",\n};\n\nnode.send(msg1);\n\n// Wartezeit (hier 1000 Millisekunden, anpassbar)\nsetTimeout(() => {\n // Zweite Nachricht erstellen und senden\n const buffer2 = Buffer.from([33, 137, 1, 80, 87, 49, 10]);\n const msg2 = {\n payload: buffer2,\n topic: \"zweiterBufferwert\",\n };\n node.send(msg2);\n}, 1000);\n\nreturn null; // Rückgabewert für den Function-Node\n",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 570,
        "y": 4240,
        "wires": [
            [
                "ae5576eecdf42d4f",
                "feb72608bb4cdc78"
            ]
        ]
    },
    {
        "id": "feb72608bb4cdc78",
        "type": "tcp request",
        "z": "3994a18a.3ad7be",
        "name": "",
        "server": "192.168.1.23",
        "port": "20554",
        "out": "time",
        "ret": "buffer",
        "splitc": "0",
        "newline": "",
        "trim": false,
        "tls": "",
        "x": 610,
        "y": 4180,
        "wires": [
            [
                "7c5ac21e4e90eb5d"
            ]
        ]
    },
    {
        "id": "d29da55d187b0a91",
        "type": "comment",
        "z": "3994a18a.3ad7be",
        "name": "Beamer steuern",
        "info": "https://support.jvc.com/consumer/support/documents/DILAremoteControlGuide.pdf",
        "x": 180,
        "y": 4180,
        "wires": []
    },
    {
        "id": "ae5576eecdf42d4f",
        "type": "debug",
        "z": "3994a18a.3ad7be",
        "name": "debug 56",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 740,
        "y": 4240,
        "wires": []
    },
    {
        "id": "eef6e7468e6ceac7",
        "type": "delay",
        "z": "3994a18a.3ad7be",
        "name": "",
        "pauseType": "delay",
        "timeout": "1",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 380,
        "y": 4240,
        "wires": [
            [
                "d2b61f98656d82bf"
            ]
        ]
    },
    {
        "id": "7c5ac21e4e90eb5d",
        "type": "debug",
        "z": "3994a18a.3ad7be",
        "name": "debug 57",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 860,
        "y": 4180,
        "wires": []
    },
    {
        "id": "9762d3d3b1744554",
        "type": "function",
        "z": "3994a18a.3ad7be",
        "name": "AUS",
        "func": "// Funktion für Node-RED\nconst buffer1 = Buffer.from([80, 74, 82, 69, 81]);\n\n// Erste Nachricht senden\nconst msg1 = {\n payload: buffer1,\n topic: \"ersterBufferwert\",\n};\n\nnode.send(msg1);\n\n// Wartezeit (hier 1000 Millisekunden, anpassbar)\nsetTimeout(() => {\n // Zweite Nachricht erstellen und senden\n const buffer2 = Buffer.from([33, 137, 1, 80, 87, 48, 10]);\n const msg2 = {\n payload: buffer2,\n topic: \"zweiterBufferwert\",\n };\n node.send(msg2);\n}, 1000);\n\nreturn null; // Rückgabewert für den Function-Node\n",
        "outputs": 1,
        "timeout": 0,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 570,
        "y": 4280,
        "wires": [
            [
                "feb72608bb4cdc78",
                "f49a4b1bb8aa7eed"
            ]
        ]
    },
    {
        "id": "2f14f192f995d4cd",
        "type": "inject",
        "z": "3994a18a.3ad7be",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 180,
        "y": 4280,
        "wires": [
            [
                "1dffe8fc5b0c8fcc",
                "feb72608bb4cdc78"
            ]
        ]
    },
    {
        "id": "1dffe8fc5b0c8fcc",
        "type": "delay",
        "z": "3994a18a.3ad7be",
        "name": "",
        "pauseType": "delay",
        "timeout": "1",
        "timeoutUnits": "seconds",
        "rate": "1",
        "nbRateUnits": "1",
        "rateUnits": "second",
        "randomFirst": "1",
        "randomLast": "5",
        "randomUnits": "seconds",
        "drop": false,
        "allowrate": false,
        "outputs": 1,
        "x": 380,
        "y": 4280,
        "wires": [
            [
                "9762d3d3b1744554"
            ]
        ]
    },
    {
        "id": "f49a4b1bb8aa7eed",
        "type": "debug",
        "z": "3994a18a.3ad7be",
        "name": "debug 58",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 740,
        "y": 4280,
        "wires": []
    }
]

```

I think that i am very close - but the JVC N5 wont accept my cmd

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e8e83aed98781219f745343e1fe681760d4e5a20.png)

---

<div class="post-metadata">

**Author:** ![Wurmi](https://avatars.discourse-cdn.com/v4/letter/w/6bbea6/32.png) [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Post date:** [7 January 2024 10:25 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/5 "2024-01-07T10:25:53Z")

</div>

Thanks for your help  
The websocket seems to be working

---

<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:** [8 January 2024 08:07 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/6 "2024-01-08T08:07:10Z")

</div>

(Maybe mark the thread as _solved_.)

---

<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:** [22 January 2024 08:07 UTC](https://discourse.nodered.org/t/logitech-harmony-extra-node/84302/7 "2024-01-22T08:07:26Z")

</div>

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