Anytime Help Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Support
  • Guest
  • Log In
English (US)
US English (US)
DE German
CN Chinese
MX Spanish (Mexico)
Chinese (Simplified)
  • AKG
    Microphones Wireless Integrated Systems Automatic Mixers Headphones Discontinued Products (AKG) General AKG Inquiries Certifications (AKG)
  • AMX
    Networked A/V Distribution (AVoIP) Traditional A/V Distribution Video Signal Processing Architectural Connectivity User Interfaces Control Processing Power (AMX) Programming (AMX) Software (AMX) Discontinued Products (AMX) General AMX Inquiries Certifications (AMX)
  • BSS
    Soundweb™ Omni Soundweb™ London Soundweb™ Contrio™ Software (BSS) Discontinued Products (BSS) General BSS Inquiries Certifications (BSS)
  • Crown
    CDi DriveCore Series CDi Series Commercial Series ComTech Series DCi DriveCore Series I-Tech HD Series XLC series XLi Series XLS DriveCore 2 Series XTi 2 Series Discontinued Products (Crown) Software (Crown) General Crown Inquiries Certifications (Crown)
  • dbx
    CX Series 500 Series DriveRack Personal Monitor Control ZonePRO Zone Controllers FeedBack Suppression Microphone Preamps Dynamics Processors Crossovers Equalizers Software (dbx) Discontinued Products (dbx) General dbx Inquiries Certifications (dbx)
  • Flux::
    Immersive Processing Analysis Subscriptions
  • JBL
    Cinema Sound Installed Live Portable Tour Sound Recording & Broadcast Software (JBL) Discontinued Products (JBL) Video Manual Series (JBL) General JBL Inquiries Certifications (JBL)
  • Lexicon
    Plugins Effects Processors Cinema Discontinued Products (Lexicon) Video Manual Series (Lexicon) General Lexicon Inquiries Certifications (Lexicon)
  • Martin
    Atomic ELP ERA Exterior MAC P3 VC VDO Tools Discontinued Products (Martin) General Martin Inquiries Certifications (Martin)
  • Soundcraft
    Digital Analog Connected Analog Only Discontinued Products (Soundcraft) Video Manual Series (Soundcraft) General Soundcraft Inquiries Certifications (Soundcraft)
  • General HARMAN Inquiries
    Dante
+ More
  • Home
  • AMX
  • Software (AMX)
  • MUSE Automator & Extension for VS Code

Hex String to IP device in Muse Automator

Written by Gary Brindley

Updated at December 19th, 2025

Table of Contents

Question: Answer:

Question:

How can I send a Hex string to an IP device using Muse Automator.

Answer:

You can use a function node to create the Hex string and return that string in msg.payload. 

An example of the code for the function node would be as follows. 

var Arr1 = Buffer.from([0x02, 0x88, 0x30, 0x0B, 0x1B, 0x83, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0x03]);

msg.payload = Arr1;

return msg;

The following is an example flow, that can be imported into Muse Automator, that uses this function node. When the inject node is activated that will trigger the function node to send a hex string to a TCP request node. The debug node at the end of the flow would receive any responses from the connected device.

[
    {
        "id": "cb5ab37eea3e95f9",
        "type": "tab",
        "label": "Hex String Function Example",
        "disabled": false,
        "info": "",
        "env": []
    },
    {
        "id": "596d23da778d3345",
        "type": "function",
        "z": "cb5ab37eea3e95f9",
        "name": "Hex String Function",
        "func": "var Arr1 = Buffer.from([0x02, 0x88, 0x30, 0x0B, 0x1B, 0x83, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB0, 0x03]);\nmsg.payload = Arr1;\nreturn msg;",
        "outputs": 1,
        "noerr": 0,
        "initialize": "",
        "finalize": "",
        "libs": [],
        "x": 390,
        "y": 280,
        "wires": [
            [
                "9a4790cd86a90b11"
            ]
        ]
    },
    {
        "id": "3372f9ee7f51defb",
        "type": "inject",
        "z": "cb5ab37eea3e95f9",
        "name": "Inject",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 190,
        "y": 280,
        "wires": [
            [
                "596d23da778d3345"
            ]
        ]
    },
    {
        "id": "9a4790cd86a90b11",
        "type": "tcp request",
        "z": "cb5ab37eea3e95f9",
        "name": "",
        "server": "192.168.1.100",
        "port": "23",
        "out": "sit",
        "ret": "buffer",
        "splitc": " ",
        "newline": "",
        "trim": false,
        "tls": "",
        "x": 730,
        "y": 280,
        "wires": [
            [
                "8500d4b027a3c7be"
            ]
        ]
    },
    {
        "id": "8500d4b027a3c7be",
        "type": "debug",
        "z": "cb5ab37eea3e95f9",
        "name": "debug 31",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 920,
        "y": 280,
        "wires": []
    }
]

Related Videos

Was this article helpful?

Yes
No
Give feedback about this article

Table of Contents

Question: Answer:

Related Articles

  • Visual Studio Code Notifications
  • Enable Automator (Node-RED) in MUSE
  • Muse Automator Toggle Example
  • Muse Automator: send strings to TCP device example
  • BSS BLU presets from Muse Automator

Related Articles

  • Visual Studio Code Notifications
  • Enable Automator (Node-RED) in MUSE
  • Muse Automator Toggle Example
  • Muse Automator: send strings to TCP device example
  • BSS BLU presets from Muse Automator
Copyright © HARMAN Professional. All rights reserved. Privacy Policy | Terms of Use
Expand