According to the GlobalOSCActions.lua:
/song/track/XXX/device/XXX/set_parameter_by_index
description = “Set parameter value of an device [0 - 1]\n”…
“XXX is the device index, -1 the currently selected device”,
The other way of doing it is this:
/song/track/XXX/device/XXX/bypass
description = “Set bypass status of an device [true or false]\n”…
“XXX is the device index, -1 the currently selected device”,
But i suspect you can’t send “true” or “false” values.
You could also try adding your own message to that lua file that does bypass on 0 and 1 value instead of true or false.