Passing Message.Payload Data to a Touch Panel Multi State Button in Muse Automator.
Escalation Article
Written by Richard Gregory
Updated at June 23rd, 2026
Table of Contents
Brand:
- AMX
Affected Products:
AMX-CCC000 - MU-1000
AMX-CCC013 - MU-1300
AMX-CCC023 - MU-2300
AMX-CCC033 - MU-3300
Summary:
This article will guide you on how to add JavaScript data to a function node to pass a message.payload text string to a multi-state button on a G5 panel.
Troubleshooting:
Setup the function node with the below data:
let str = msg.payload
msg.payload = {
states: "1.5&6&12&35..40",
text: str
}
return msg;
Where states: "1..5&6&12&35..40", is modified to show the states you wish to update with the passed in message.payload data.
Example:
1..5 = Send to button states 1-5
&6&12 = and to button state 6 and 12
&35..40 = and to button states 35-40