Node Red Openhab Input to sACN Node Problem

Hey Guys iam using the sACN Node

and it Works well with Node Red i can send commands with my ir to mqtt setup without Problems, iam using a Change Node to set the Payload to 1.
When i now try to trigger the same with my input from Openhab (Openhab In-> Change Node -> sACN Node)
I get this Error :
msg : error
“TypeError: Cannot read property ‘split’ of undefined”

any Idea what i can do ?

Thx in Advance

I’ve had the same problem with the Change node, not sure why it’s happening. My solution was to create a function node with some if statements. I’ve attached my example which should work for you to start with.

[
    {
        "id": "c39f545a.7a34d8",
        "type": "inject",
        "z": "62e519e5.0d0f28",
        "name": "",
        "topic": "input_number.dmx_channel_1",
        "payload": "255",
        "payloadType": "num",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 220,
        "y": 280,
        "wires": [
            [
                "a8af286c.4df768"
            ]
        ]
    },
    {
        "id": "776949fc.fe3338",
        "type": "inject",
        "z": "62e519e5.0d0f28",
        "name": "",
        "topic": "input_number.dmx_channel_2",
        "payload": "255",
        "payloadType": "num",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 220,
        "y": 320,
        "wires": [
            [
                "a8af286c.4df768"
            ]
        ]
    },
    {
        "id": "aab49a09.3456b8",
        "type": "inject",
        "z": "62e519e5.0d0f28",
        "name": "",
        "topic": "input_number.dmx_channel_3",
        "payload": "255",
        "payloadType": "num",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 220,
        "y": 360,
        "wires": [
            [
                "a8af286c.4df768"
            ]
        ]
    },
    {
        "id": "656f7e2d.6e499",
        "type": "inject",
        "z": "62e519e5.0d0f28",
        "name": "",
        "topic": "input_number.dmx_channel_1",
        "payload": "0",
        "payloadType": "num",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 210,
        "y": 400,
        "wires": [
            [
                "a8af286c.4df768"
            ]
        ]
    },
    {
        "id": "54151dae.5a2a44",
        "type": "inject",
        "z": "62e519e5.0d0f28",
        "name": "",
        "topic": "input_number.dmx_channel_2",
        "payload": "0",
        "payloadType": "num",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 210,
        "y": 440,
        "wires": [
            [
                "a8af286c.4df768"
            ]
        ]
    },
    {
        "id": "c880ec6e.1deaf",
        "type": "inject",
        "z": "62e519e5.0d0f28",
        "name": "",
        "topic": "input_number.dmx_channel_3",
        "payload": "0",
        "payloadType": "num",
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "x": 210,
        "y": 480,
        "wires": [
            [
                "a8af286c.4df768"
            ]
        ]
    },
    {
        "id": "a8af286c.4df768",
        "type": "function",
        "z": "62e519e5.0d0f28",
        "name": "",
        "func": "var transition_time=context.get('transition_time') || 1;\nif (msg.topic == \"transition_time\") {\n    transition_time =msg.payload;\n    context.set('transition_time',transition_time);\n}\nif (msg.topic == \"input_number.dmx_channel_1\") {\n    var payload = msg.payload\n    msg.payload = {\n        \"universe\": 1,\n        \"channel\": 1,\n        \"value\": payload,\n        \"transition\": \"time\",\n        \"transitionTime\": transition_time   //1000ms for total transition.\n    }\n    // msg.payload=\"F1 \"+msg.payload+\" \"+transition_time;\n    return msg;\n}\nif (msg.topic == \"input_number.dmx_channel_2\") {\n    var payload = msg.payload\n    msg.payload = {\n        \"universe\": 1,\n        \"channel\": 2,\n        \"value\": payload,\n        \"transition\": \"time\",\n        \"transitionTime\": transition_time   //1000ms for total transition.\n    }\n    // msg.payload=\"F1 \"+msg.payload+\" \"+transition_time;\n    return msg;\n}\nif (msg.topic == \"input_number.dmx_channel_3\") {\n    var payload = msg.payload\n    msg.payload = {\n        \"universe\": 1,\n        \"channel\": 3,\n        \"value\": payload,\n        \"transition\": \"time\",\n        \"transitionTime\": transition_time   //1000ms for total transition.\n    }\n    // msg.payload=\"F1 \"+msg.payload+\" \"+transition_time;\n    return msg;\n}\nif (msg.topic == \"input_number.dmx_channel_4\") {\n    var payload = msg.payload\n    msg.payload = {\n        \"universe\": 1,\n        \"channel\": 4,\n        \"value\": payload,\n        \"transition\": \"time\",\n        \"transitionTime\": transition_time   //1000ms for total transition.\n    }\n    // msg.payload=\"F1 \"+msg.payload+\" \"+transition_time;\n    return msg;\n}\nif (msg.topic == \"input_number.dmx_channel_5\") {\n    var payload = msg.payload\n    msg.payload = {\n        \"universe\": 1,\n        \"channel\": 5,\n        \"value\": payload,\n        \"transition\": \"time\",\n        \"transitionTime\": transition_time   //1000ms for total transition.\n    }\n    // msg.payload=\"F1 \"+msg.payload+\" \"+transition_time;\n    return msg;\n}\nif (msg.topic == \"input_number.dmx_channel_6\") {\n    var payload = msg.payload\n    msg.payload = {\n        \"universe\": 1,\n        \"channel\": 6,\n        \"value\": payload,\n        \"transition\": \"time\",\n        \"transitionTime\": transition_time   //1000ms for total transition.\n    }\n    // msg.payload=\"F1 \"+msg.payload+\" \"+transition_time;\n    return msg;\n}\n",
        "outputs": 1,
        "noerr": 0,
        "x": 650,
        "y": 440,
        "wires": [
            [
                "cf003d58.75433",
                "891747c8.727868",
                "f3c84714.a49918"
            ]
        ]
    },
    {
        "id": "cf003d58.75433",
        "type": "debug",
        "z": "62e519e5.0d0f28",
        "name": "",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "true",
        "targetType": "full",
        "x": 810,
        "y": 360,
        "wires": []
    },
    {
        "id": "f3c84714.a49918",
        "type": "sACN",
        "z": "62e519e5.0d0f28",
        "server": "c6c8a55d.d596c8",
        "universe": "",
        "channel": "",
        "transition": "instant",
        "transitionRate": 50,
        "transitionTime": 1000,
        "name": "AN2",
        "x": 810,
        "y": 480,
        "wires": []
    },
    {
        "id": "c6c8a55d.d596c8",
        "type": "sacn-config",
        "z": "",
        "hostOrUniverse": "http://192.168.1.110",
        "port": "5568"
    }
]