This is a pretty custom requirement. You’re not likely to find a driver for sale that does it. Sorry, you’re going to need custom programing. You could see if RMM / mtnelectronics can do it for you. You can ask RMM here budgetlightforum.com/node/25986